![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to do hr noshade size="5" width="80%"> by use CSS instead HTML. I try style type="text/css" HR { size: 5px; width: 80%; length: 5px; height: 5px; border-style adding: 0}/style But none of them work! Please help. Thanks! |
#3
| |||
| |||
|
|
I want to do hr noshade size="5" width="80%"> by use CSS instead HTML. I try style type="text/css" HR { size: 5px; width: 80%; length: 5px; height: 5px; border-style adding: 0}/style But none of them work! Please help. Thanks! |
#4
| |||
| |||
|
|
I try style type="text/css" HR { size: 5px; width: 80%; length: 5px; height: 5px; border-style adding: 0}/style But none of them work! Please help. Thanks! |
adding is incorrect syntax
#5
| |||
| |||
|
|
I want to do hr noshade size="5" width="80%"> by use CSS instead HTML. [snip] |
#6
| |||
| |||
|
|
RC wrote: I want to do hr noshade size="5" width="80%"> by use CSS instead HTML. [snip] I use a different approach from your other replies. I squash the hr flat as below, then add a border just to the top. (The various 0s in the example below cater for different browsers). I then make the top border look as I want, not the hr itself. Example: hr { height: 0; width: 80%; border-style: solid; border-color: #777; border-width: 5px 0 0 0; } |
#7
| |||
| |||
|
|
Barry Pearson wrote: [snip] hr { height: 0; width: 80%; border-style: solid; border-color: #777; border-width: 5px 0 0 0; } Doesn't give 5px height in IE6.0 though. It does if you give the height 5px too. |
#8
| |||
| |||
|
|
I was so used to this working for the 1px case, |
#9
| |||
| |||
|
#10
| |||
| |||
|
|
all right, all right! Just let you all know I did hr {border-style: solid; background-color: black; height: 10px; border: none; width: 80%; color: black} is work fine in IE 6.0, but never able get it work in Netscape 7.1 If you find a way work in Netscape, too. Then please let me know. |
![]() |
| Thread Tools | |
| Display Modes | |
| |