hr padding

2pydlol.jpg

hr {

border: none 0;

border-top: 1px dashed #000;

width: 100%;

height: 1px;

}

i drew the site around firefox, & the horizontal rule looks like crap in ie.. i tried, setting a padding top & bottom but that didnt work.. anyone know?

#479435

have you tried with margins ? or the P margins could be responsible

remember each browser starts with different defaults for many values - it is good habit to reset the style, starting with a simple

* { margin: 0; padding: 0; border: 0; }

if it's enough for you, or with more complex css reset sheets.

oh my, why with the change of name? following the metallicamaster3 wave? :P

#479466

lol... i was hoping no one would assosiate me with them... new domain; tired of having a lame alias,

the css reset did the trick, thanks for the point in the right direction,

#479478

FYI, you spelled "amateur" wrong.

#479513

FYI, you spelled "amateur" wrong.

Really? Dictionary says he spelled it correctly...

Nice site by the way!

#479989

@nh: I had amature untill his post, than changed it right away preventing any furthur embarrassment.. its only spelt correctly because of him :P

turning the margin to 0px has made my line break

not work in IE unless I double it (for obvious reasons)...

f***ing internetexplorer...

anyone know how to solve my delima?

#480004

turning the margin to 0px has made my line break

not work in IE unless I double it (for obvious reasons)...

f***ing internetexplorer...

anyone know how to solve my delima?

You may want to check out Google to see if IE has a specific problem with this, but you can always use an IE-specific hack or whatnot.

http://www.webdevout.net/css-hacks

-NC

#480006

if I'm not mistaken

and


line breaks are the exact same and cant have independent margines... so even if i alter my css for differnt browers, I still have the same errors in IE

I'll google this a bit deeper,

thanks for the link

#480008

uhm, not sure about that, each element is supposed to have its own properties - nothing is "shared".

however, what do you mean by
not working ? A
is defined as a line break, so all it does is move the text after it on the next line. Additional space left is outside the scope of the tag, and its often misused - ideally, a
would not appear outside a

or other block of text.

If it doesn't break lines, that's very wierd. If it doesn't leave "more space", well, use margins ;-)

#480015