shorthand for border style???

windows

Guest
Hi! Is there a shorthand way of doing the following for border??

div#theDiv {
margin: auto;
border-top-width: 0;
border-right-width: 1px;
border-bottom-width: 0;
border-left-width: 1px;
border-style: solid;
border-color: #000;
}

If the border is the same width all the way around, I know you can do it this way:

div#theDiv {
margin: auto;
border: 1px solid #000;
}

I'd appreciate anyone's input :)

Thanks!I think you could do this:

div#theDiv {
margin: auto;
border: solid #000;
border-width: 0 1px;
}Thanks, NogDog...

It looks like that'll work :)
 
Back
Top