Previous Message
Next Message

'transparent' as border-color: well-supported?

Sent by Angus McIntyre on 5 April 2005 20:08


I'm experimenting with a two-column layout that appears clean,
source-ordered and hackless - which are all desirable things - but it has
an issue with vertical margin/padding collapsing. Needless to say, I
didn't discover this until I removed the colored borders I'd put around
the various components while doing initial layout.

My solution has been to use:

    border: 1px solid transparent;

My question is: is 'transparent' reliably supported across modern
CSS-capable browsers? Are there any hidden gotchas to this technique?

Thanks, Angus
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: