Reply to Re: Javascript help needed for "floating" image

Your name:

Reply:


Posted by Neredbojias on 10/01/07 19:01

Well bust mah britches and call me cheeky, on Mon, 01 Oct 2007 01:14:59
GMT Don Wiss scribed:

>>I saw no ad on any browser I tried. Of course, I didn't try ie7
>>because that's on another computer. However, I believe you.
>>
>>Anyway, is something like the following what you mean?
>>
>>http://www.neredbojias.com/zyxix/zpftest.html
>>
>>This works on everything. (Yeah, right.) Well, it's simple and
>>should work on "the big three" okay. I didn't bother with
>>"position:fixed;" because - why bother? If you have to kludge (for
>>ie6), might just as well use the kludge for everything on condition
>>it's effective.
>
> Hi,
>
> It isn't exactly like the demonoid one (I see the site has gone down
> again), but yes, it is simple. Instead of the upper right could it be
> in the middle along the right? I ask as at the tops and bottom of my
> pages I have material going all the way across. That is why the
> demonois way was so neat, it stayed within the table column that was
> between the heading and footer sections. Having it fixed in the middle
> would get around this. And, of course, being greedy, it is most
> important that the ad appears for all browsers.

Sure. <idiv> which contains the image get it's relative height from <body>
so just change the idiv css "top:??px;" value to "top:50%;". That'll put
the _top_ of the image in the middle. If you want exact middle-to-middle,
you'll have to try negative top margin or something on the idiv or image
itself.

--
Neredbojias
Half lies are worth twice as much as whole lies.

[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

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