| | | Progenic Family

Group: Old Skool Last Login: Wednesday, August 13, 2008 10:03 AM Posts: 869, Visits: 2,742 |
| | Hey every1, Does anyone know the styling details for a default <hr> ?! I've restyled it for my most of my site, but there are a couple of places where I want an original stylee one rather than the one I've made. Anyone know what the CSS is for a "real" horizontal rule, or some way of overriding my style to say "do not employ the style" - obviously I could class my designed one, but there are more instances of that than i want with the "default" stylee. Any suggestions?
Somebody get me some Dickens! |
| | | | 
Progenic Family

Group: Forum Members Last Login: 2 days ago @ 12:22 PM Posts: 200, Visits: 331 |
| Well, it's just like styling any other html element. Have a look at this: http://www.sovavsiti.cz/css/hr.html
Otherwise, you can just use a div to accomplish the line.
html:
< d i v i d = " H o r i z o n t L i n e " > < / d i v >
(I had to use spaces, because this forum is progressing html)
css:
HorizontLine {
height: 1px;
width: auto;
background-color: #000000;
}
This gives you a black horizontal line.
/Andy |
| | | | 
Progenic Family

Group: Old Skool Last Login: Thursday, May 15, 2008 12:52 PM Posts: 314, Visits: 2,401 |
| Andy I think he knows how to style the hr tag. I think he just wants to escape his styling and be able to go back to a default hr.
I do this by styling the hr per selector. So like in my style sheet I don't edit just the hr tag.
I code it like this:
#content hr{} then if you you're not in the content div and use the HR it'll be a default hr. |
| | | | Progenic Family

Group: Old Skool Last Login: Wednesday, August 13, 2008 10:03 AM Posts: 869, Visits: 2,742 |
| | Hi guys Thanks for the responses. Yeah I've styled the hr and want to "escape" it as you put it... or ideally what I wanted to do was class one that generated the normal HR.. hr.basic { /* html stylee horiz rule */ } Looks like that's not possible, so i'll just have to go through the code and add some selection to the ones i DONT want to be standard  Thanks.
Somebody get me some Dickens! |
| | | | 
Progenic Family

Group: Forum Members Last Login: 2 days ago @ 7:35 PM Posts: 525, Visits: 1,361 |
| can't you try something like hr id="something"
and have a
#something {
default hr settings here
}
i well just my 2 cents never tried it but it works with everything i ever did use it for
sorry if it's not good just trying to help |
| | | | 
Progenic Family

Group: Old Skool Last Login: Thursday, May 15, 2008 12:52 PM Posts: 314, Visits: 2,401 |
| | That's what he's looking for pretty much infernal just needs to know how the default properties for the HR. |
| | | | 
Progenic Crew

Group: Administrators Last Login: Yesterday @ 1:17 PM Posts: 2,372, Visits: 37,291 |
| godhn (2/18/2008) obviously I could class my designed one
|
| |
|
|