Guest Posted March 11, 2005 Share Posted March 11, 2005 Can someone be a big help to me and look at this page and tell me how to fix it? http://boorooagility.com/ecommerce/os/cata.../products_id/28 I purchased a template and the words are running into the header on the product description page. I would like to move them down some but don't know how Thanks! Link to comment Share on other sites More sharing options...
peterr Posted March 11, 2005 Share Posted March 11, 2005 Hi, Change your stylesheet, so the class "pageHeading" has a top margin of (say) 5 pixels. Peter Link to comment Share on other sites More sharing options...
Guest Posted March 11, 2005 Share Posted March 11, 2005 is this where I add the top margin? .pageHeading, DIV.pageHeading { font-family: Arial; font-size: 13px; font-weight: bold; color: #6D6629; padding-left: 45px; How????? Link to comment Share on other sites More sharing options...
peterr Posted March 11, 2005 Share Posted March 11, 2005 Hi, Add this for 5px top margin margin-top: 5px; as a general rule ............... Four margin values can be declared at once by either specifying two or four values. When only using two values, the first will define the margin on the top and bottom, while the second value will define the margin on the left and right. When using the 4 value margin specification, the corresponding directions to values are: top, right, bottom, left. To help you remember what the order is, just remember that it starts at the top and then moves clockwise until it reaches the left. Peter Link to comment Share on other sites More sharing options...
Guest Posted March 11, 2005 Share Posted March 11, 2005 So it would look like? .pageHeading, DIV.pageHeading { font-family: Arial; font-size: 13px; font-weight: bold; color: #6D6629; padding-left: 45px; margin-top: 5px; if so, it is not working Link to comment Share on other sites More sharing options...
peterr Posted March 11, 2005 Share Posted March 11, 2005 Hi, You haven't closed the specification with } Peter Link to comment Share on other sites More sharing options...
Guest Posted March 11, 2005 Share Posted March 11, 2005 It is there - I just didn't get it when I was copying it. Is there any other area that this could be controlled by? Link to comment Share on other sites More sharing options...
Guest Posted March 11, 2005 Share Posted March 11, 2005 could it be here? product_info.php <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading" valign="top"><?php echo $products_name; ?></td> <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td> </tr> </table></td> Really I have no coding experience, so I am not sure what I am looking for Link to comment Share on other sites More sharing options...
peterr Posted March 11, 2005 Share Posted March 11, 2005 Hi, Try this ......... .pageHeading, DIV.pageHeading, td.pageHeading { font-family: Arial; font-size: 13px; font-weight: bold; color: #6D6629; margin-top: 15px; padding-left: 45px; } or you can try padding, rather than margin ? Peter Link to comment Share on other sites More sharing options...
Guest Posted March 11, 2005 Share Posted March 11, 2005 You are einstein!!!!! I did padding_top 15px; It worked perfectly! Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.