This has nothing to do with the other question you had about positioning the marquee, so I moved it to its own thread. The border property is sort of a catch all style having to do with an element's border. What is really involved is quite extensive. Primarily you have:
border-width:
border-style:
border-color:
And each of these may be set independently for a given border or for a given:
border-top:
border-right:
border-bottom:
border-left:
So you could have (order is not critical):
Code:
border:3px dotted blue;
Which is the same as:
Code:
border-width:3px;border-style:dotted;border-color:blue;
And is the same as:
Code:
border-top:3px dotted blue;
border-right:3px dotted blue;
border-bottom:3px dotted blue;
border-left:3px dotted blue;
And is the same as:
Code:
border-top-width:3px;
border-top-style:dotted;
border-top-color:blue;
border-right-width:3px;
border-right-style:dotted;
border-right-color:blue;
border-bottom-width:3px;
border-bottom-style:dotted;
border-bottom-color:blue;
border-left-width:3px;
border-left-style:dotted;
border-left-color:blue;
There are many ways to break it out, but this is only required when you need one of the borders or one of the properties of one of the borders to vary. For more on css style and borders, see:
http://www.eskimo.com/~bloo/indexdot...der/border.htm
or your favorite css style reference.
But basically, I think you are looking for either:
Code:
border:blue dashed 3px;
or:
Code:
border:blue dotted 3px;
I only included all of the rest of the information in case it might be useful.
Bookmarks