Jump to content

css outline vs border?


davej

Recommended Posts

I don't think it's trying to suggest that. The arguments can be put in any order, so they just happened to put it in a different order than their border example.

Link to comment
Share on other sites

Well it the outline page says says...

 

"The properties that can be set, are (in order): outline-color, outline-style, outline-width."

 

and the border page says...

 

"The properties that can be set, are (in order): border-width, border-style, and border-color."

 

...but neither page bothers to say that the order is arbitrary in all browsers.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...