Forum Moderators: not2easy

Message Too Old, No Replies

H2 Issue in IE

H2 Issue in IE

         

jeffct

5:40 pm on Aug 24, 2007 (gmt 0)

10+ Year Member



Hi.

I've having some issues with my H2 in IE7.
it looks fine in firefox,but in IE it won't align to the right properly for some reason, and text-align: right doesn't help at all.
padding and margin have to remain zero i guess or else it will look messy in firefox.

the display:inline helped to get it closer to the list, but that's about it.

help please.

[edited by: jatar_k at 1:57 pm (utc) on Sep. 11, 2007]
[edit reason] no urls thanks [/edit]

jatar_k

1:58 pm on Sep 11, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld jeffct,

any luck getting this sorted?

Setek

2:22 am on Sep 12, 2007 (gmt 0)

10+ Year Member



In theory, if you declare a
<h2>
to
display: inline;
and
text-align: right;
the text align wouldn't do anything, because it's an inline element?

Only if it were a block-level element should the text align work, or if the parent element of the inlined

<h2>
were set to
text-align: right;