Thu, 2004-09-23 18:11
Hi.
I'm trying to hide the H1 tag on my site.
So i have added the line in my stylesheet:
H1 {display:none;}
The problem is that the H1 is still visible with IE 6.0 while the the tag is invisible with FireFox 1.0.
Is this a known problem or am i doing something wrong?
Thanks in advance!
Thu, 2004-09-23 18:43
#1
display:none with IE 6.0
You have to put a span tag after the H1 tag. Like this:
<h1><span>This is my heading</span></h1>
On your stylesheet, it will look like this:
h1 { background-image: url(image.gif); width: 500px; /*or any value*/ height: 500px; /*Or any other value*/ } h1 span { display: none; }
Thu, 2004-09-23 19:01
#2
display:none with IE 6.0
thanks
Thu, 2004-09-23 22:11
#3
display:none with IE 6.0
^
No problem
Did it work?
Fri, 2004-09-24 14:38
#4
display:none with IE 6.0
Why the hell are you hiding the heading? Why not just . . . not use it?