|
Posted by Els on 07/08/05 19:24
Paul F. Johnson wrote:
> Hi,
>
> Els wrote:
>
>> Just guessing:
>> set h1{margin-top:0;} and see if it disappears.
>
> Not locally - so I doubt it will on the server :-(
>
> The problem looks like it's in the content div. If I change
>
> h1 {margin-top: -5px;}
>
> The text still appears at the top. I've tried altering content to be
> either absolute or relative, but that doesn't seem to be doing the trick.
#topblock{
top:0;
}
(you used position:fixed without setting a position for it)
Now.. open up any browser that is not called Internet Explorer, narrow
your window till the red text wraps. Then scroll...
Solution:
Change 'height:160px;' to:
min-height: 160px;
_height:160px;
min-height for browser that understand min-height (will expand when
the contents are higher (by font-size change or wrapping), and _height
for WinIE, which will ignore the underscore. Other browsers reckon
_height doesn't exist, and will ignore the line altogether.
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Nazareth - Bad, Bad, Boy
[Back to original message]
|