Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help on my OS commerce page


Guest

Recommended Posts

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

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...