Sublime directory Surf the web anonymous Pagerank Monitor


H1 css prob with IE

Nikolas
Wed 23 November 2005, 02:50 pm GMT +0200
Today I discovered a strange IE bug with css. Here is the problem :

I have this code :

Code:
<table>
<tr><td><h1 class="a">Header title</h1></td></tr>
</table>

The firefox displays it like it should be. IE is displaying a big break line after it. Like it had a <br /> tag after the </h1>. The strange is that if I erase the </h1> it will be shown fine, but this could propably considered as spam be the search engines.

Is there any css attribute that I can control the break line?

Any help will be appreciated :)

Nikolas
Wed 23 November 2005, 02:58 pm GMT +0200
Ok, I've just solved it.

It needs this css declaration :

h1,h2,h3{margin-bottom : 0px;}

wineo
Thu 24 November 2005, 02:34 pm GMT +0200
One day I will be as clever as you and answer all my own questions too!  LOL

Nikolas
Thu 24 November 2005, 02:40 pm GMT +0200
I am not clever.

Just lucky to find it in Google.....

:)

wineo
Thu 24 November 2005, 02:45 pm GMT +0200
Ah... you shouldn't let out your secrets...  ;o)

Nikolas
Thu 24 November 2005, 02:50 pm GMT +0200
LoL

PixelGoat
Sun 4 December 2005, 01:07 am GMT +0200
Without google I would be lost.  Often I'll find myself to edit a page and mess it up.  :(

Then a quick search on google I can get the cache and restore it :)

Nikolas
Sun 4 December 2005, 11:26 am GMT +0200
Hehe. That's the most strange usabillity of G I ever heared of...

By the way you can allways back up your data, and believe me this is a very very very must thing to do :)

wineo
Sun 4 December 2005, 12:40 pm GMT +0200
I use tortoisesvn to do that...

http://www.webdigity.com/index.php/topic,922.0.Version+control.html Visit through proxy

PixelGoat
Mon 5 December 2005, 06:02 am GMT +0200
Hehe. That's the most strange usabillity of G I ever heared of...

By the way you can allways back up your data, and believe me this is a very very very must thing to do :)

Yeah I do backups.  But sometimes its easier just to rip the header off Googles cache.

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional