Reply to Re: How does one make an image on top of everything?

Your name:

Reply:


Posted by Gwin on 07/24/07 20:57

jakeatkins via WebmasterKB.com wrote:
> Gwin wrote:
>>> I'm trying to make an image that will cover all page content that
>>> scrolls under it stay at the top of the browser window, all within
>> [quoted text clipped - 10 lines]
>>>
>>> Thanks!
>>
>> style it in the css
>> z-index:"value"
>
>
> Awesome, I notice using position:fixed doesn't work in IE6, but it
> does in safari. Any smart way of doing the same thing but for the
> bottom of the page, no matter what the size of browser window, having
> it stick on the bottom? Here's the code I used for the top:
>
> <img src="smred.gif" border="0"
> style="position:fixed;
> left:0px;
> top:0px;
> z-index:2;">

nope
ie7 will
ie6 won't and there's really no workaround i know of

try this
html {height:100%; min-height: 100%;widith: 100%;}
body {height: 100%; min-height: 100%; widith: 100%; text-align: center;}

div#footer {height:100%; min-height:100%; width:100%; bottom:0;
padding-bottom:2%; position:absolute; left:0;}

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация