Reply to Re: Table borders

Your name:

Reply:


Posted by mbstevens on 11/16/06 03:25

dorayme wrote:
> In article <b_P6h.19713$dN4.445@news-wrt-01.rdc-nyc.rr.com>,
> "Michael Bartos" <mvbart@nyc.rr.com> wrote:
>
>> How do you hide table borders in css when you have made them more than 0px
>> wide?
>>
>> Thanks,
>>
>> Michael Bartos
>
> Make them the same colour as the background.
>
> Mostly, you might be wanting to do this somewhat-shady no-good
> low-down thing because you have not used enough margins or
> padding on the table or table cells.

Maybe not always so shady. You might just want the color to change on
hover or the like. Transparent and inherit are also possible for border
color, and might avoid your having to reset it when you change a
background color.
http://www.w3.org/TR/REC-CSS2/box.html

There are supposed to be some IE problems with transparent border color,
though, requiring a bizarre hack, according to this site:
http://www.hedgerwow.com/360/dhtml/css-ie-transparent-border.html


(But I did have a very very
> puzzling case where I could not solve a margin problem without
> using this trick, it might not have been on a table... I forget,
> I think it involved a float too?)
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация