|
Convenient web based access to our favorite web design Usenet groups
|
 |
This is Interesting: Free Magazines for Graphics designers and webmasters
| Author |
| Thread |
 |
|
|
|
|
|
 |
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
 |
Re: Eric Meyer on CSS question |
 |
|
 |
|
|
|
  07-24-04 - 04:16 AM
|
> The shorthand requires all three values.
Reading through the [2.1] specs, I don't think that's accurate... but,
correct me if I'm wrong.
This is an example taken from
http://www.w3.org/TR/CSS21/box.html#border-properties
You may need to scroll down to 'border'
<code>
p { border: solid red }
p {
border-top: solid red;
border-right: solid red;
border-bottom: solid red;
border-left: solid red
}
</code>
And,
<quote>
This is a shorthand property for setting the width, style, and color of the
top, right, bottom, and left border of a box.
Example(s):
h1 { border-bottom: thick solid red }
The above rule will set the width, style, and color of the border below the
H1 element. Omitted values are set to their initial values. Since the
following rule does not specify a border color, the border will have the
color specified by the 'color' property:
H1 { border-bottom: thick solid }
</quote>
Thus, the shorthand doesn't require all three values. Again, correct me if
I'm misinterpreting this.
|
|
|
| [
Post Follow-Up to this message ]
|
|
|
|
|
 |
|
|
 |
|
|
 |
| All times are GMT. The time now is 02:59 PM. |
 |
|
|
|
|
|  |
|