|
Posted by Michael Bartos on 11/16/06 05:35
Thanks. Very interesting!
-Michael
"mbstevens" <NOXwebmasterx@xmbstevensx.com> wrote in message
news:XSQ6h.7867$ig4.4594@newsread2.news.pas.earthlink.net...
> 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]
|