|
Posted by Jukka K. Korpela on 01/19/07 07:03
Scripsit dorayme:
>> Can someone explain the behind the scenes reasons?
>
> But what is the question exactly?
The question was clear enough, though perhaps a bit too implicit. It was
about explaining an apparently unintuitive behavior, and an explanation was
given.
> If you wondering why
- -
> does not display a left border,
No, your clarification did not clarify anything. Your example contains
several syntax errors in HTML and it lacks a crucial piece of code that was
given in the question.
> it is because you have said not to have one
No, _you_ omitted the piece of code for that.
> (the proper way is ": 0" not "0px solid" btw)
What on &Planet; are you babbling? Using duplicate colons (as your
suggestion would mean) makes a CSS declaration syntactically malformed so
that conforming browsers ignore it. The values 0 and opx are (in the given
context) completely equivalent. And not specifying border style in a
declaration like
border-left { ... }
is equivalent to setting it to solid. Thus, you are just playing with
irrelevant variation - in addition to suggesting an extra colon.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
[Back to original message]
|