Page 1 of 1

<hr> styling problem

Posted: Sat Mar 13, 2010 2:34 pm
by me666
hi, i have a <hr> on my page, it displays in the same colour as my text, but i am looking to change the colour and thickness. have tried

Code: Select all

<HR width="100%" height="0.5px" color="#C0C0C0">
and
<HR STYLE="width:100%;height:0.5px;color:#C0C0C0;">
but neither make any difference, am i doing something wrong? have searched google but have only found them 2 suggestions.
thanks

Re: <hr> styling problem

Posted: Sun Mar 14, 2010 6:45 am
by kaszu
What's height 0.5px?

Code: Select all

<hr style="border: 0; padding: 0; background: #C0C0C0; overflow: hidden; height: 1px;" />

Re: <hr> styling problem

Posted: Mon Mar 15, 2010 5:20 am
by me666
thanks for the reply, i figured that it didn't change as i was using a PDA as when i went onto my desktop it did change.. not sure how i would change it on a PDA or mobile, but it will have to do as it is,
thanks again :)

Re: <hr> styling problem

Posted: Mon Apr 12, 2010 4:29 am
by jamesjohn09
I had the same issue. i searched in google and also took help from w3schools.com

Re: <hr> styling problem

Posted: Mon Apr 12, 2010 1:19 pm
by me666
thanks, i use that site alot, will have to have a look around :)