Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Table Borders & Image Margin/Padding


LinusIT - 11:08 am on Jan 5, 2011 (gmt 0)


Thanks Milosevic

I looked at the code again and made some changes. Seeing as each cell had it's own class anyway, I added the border style to these and left the buynow cell without a border.

.sizes {font-weight:bold; font-size:20px; text-align:center;}
.sizes td {padding:7px; width:95px;}
.noborder td{border:none;margin:0; padding:0;}
.purchase {font-size:12px;}
.grey {color:#333;border:1px solid #000;}
.green {color:#69ED10;border:1px solid #000;}
.pink {color:#D61FF3;border:1px solid #000;}
.blue {color:#263FFB;border:1px solid #000;}
.red {color:#F00;border:1px solid #000;}


I tried adding the img code you suggested but this did nothing, possibly because I already have the same code under *. I added the following to get around the image padding & margin

#content-body img.buynow {float:left; margin: 0px; padding:0px;}


Thread source:: http://www.webmasterworld.com/css/4248743.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com