Previous Message
Next Message

Please help me to understand this border test

Sent by Nancy on 11 November 2003 23:11


I was getting unexpected results for borders in different browsers, so I 
did some research, and wound up with more questions. (What else is new?)

They're illustrated in this test:
http://dbaron.org/css/test/shortborder

When I read the CSS2 Reference (Section 8.5.4) I interpret it to mean 
that the first and second lines in this test should have black borders. 
Opera 6 agrees, but Explorer 5.2.3, Firebird 0.7 and Mozilla 1.4 don't; 
neither does David Baron. I would have to assume that they're right and 
I'm lost.

Is it possible that for border-color to appear in a stylesheet there are 
only 5 acceptable forms 1) border-color-top: value; 2) 
border-color-right: value; 3) border-color-left: value; 4) 
border-color-bottom: value; 5) border-color: value value value value; 
but NOT ALLOWED border-color: value; for all sides?

I also don't understand this:
..three { border: medium green; /* none */ }
What is the comment accomplishing? There's no border on .three but I 
don't get how that happened.

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

Message thread:

Possibly related: