Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change color of the very thin line


smash123

Recommended Posts

It's CSS

 

<table width="300" border="0" cellspacing="0" cellpadding="0">

 <tr>

   <td style="border-top: solid 1px #000000; border-right: solid 1px #000000; border-bottom: solid 1px #000000; border-left: solid 1px #000000"> </td>

 </tr>

</table>

 

The above makes the table have a 1 pixel border which is black. I could have done "border: solid 1px #000000" instead of the border-top|right| etc. This is done like this incase you only wanted to have the top, or bottom, or maybe even just the left & righ sides with the pixel border.

Link to comment
Share on other sites

It's worth noting that the style attribute is deprecated and will disappear eventually. If you make the change in stylesheet.css, then it will continue to work. Also, the stylesheet allows you to change all the infoBoxes at once, rather than piecemeal.

 

Hth,

Matt

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...