Welcome visitor
* Login
* Register
It is currently January 17th, 2019, 12:35 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  What's the difference between outline and border in CSS?
PostPosted: November 13th, 2009, 8:31 pm 
User avatar

Posts: 14
I have this quick an easy question, What is the difference between this 2 scripts?
style="outline: #00ff00 solid 1px"

style="border: 1px solid #ff0000"

_________________
Blues is easy to play, but hard to feel.


Top
 Profile  
 
  Re: What's the difference between outline and border in CSS?
PostPosted: November 13th, 2009, 10:44 pm 

Posts: 42
The outline is outside of the border, try both tags on the same element to see what I mean
style="outline: #00ff00 solid 1px; border: 1px solid #ff0000"


Top
 Profile  
 
  Re: What's the difference between outline and border in CSS?
PostPosted: November 13th, 2009, 10:53 pm 
User avatar

Posts: 14
Oh I see :), that makes sense, thank you!

_________________
Blues is easy to play, but hard to feel.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron