You are here: Re: Centering « HTML « IT news, forums, messages
Re: Centering

Posted by dorayme on 04/06/07 05:32

In article <3cf89$4615c6ef$40cba7c0$5478@NAXS.COM>,
"Jonathan N. Little" <lws4art@centralva.net> wrote:

> dorayme wrote:
> > I assume there is simply no good way to centre the mass of
> > rectangles (shrink fit a wrapper and centre wrapper, left/right)
> > here:
> >
> > http://tinyurl.com/ypnfc8
> >
> > ?
> >
> > If this is so, since they are reasonably fine uncentered anyway,
> > a URL to suitable javascript "solution" would be appreciated - if
> > there be such.
> >
>
> Not full tested but...
>

> Add "wrapper" DIV to contain all thumb DIVs:
>

> JavaScript:
> function centerMe(){
> var offsetWidth=document.documentElement.offsetWidth


Thanks for this Jonathan, it works in Safari, also in iCab but
not in FF or Opera. I have not tested in WinIE (it has no effect
in MacIE... <g>) I will put it up at:

http://tinyurl.com/ypnfc8

--
dorayme

 

Navigation:

[Reply to this 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

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