faqts : Computers : Internet : Web : CSS

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 9 people (56%) answered Yes
Recently 5 of 9 people (56%) answered Yes

Entry

Can a div tag with a style attribute have a bordercolor property? Can someone please give an example

Mar 17th, 2003 14:15
Klaus Bolwin, dan brown,


some examples:
div {border:thin solid red;}
or
div {border-color:red;}
Note: the border should be of width > 0 to be displayed