Re: Centering
- From: dorayme <doraymeRidThis@xxxxxxxxxxxxxxx>
- Date: Fri, 06 Apr 2007 15:32:29 +1000
In article <3cf89$4615c6ef$40cba7c0$5478@xxxxxxxx>,
"Jonathan N. Little" <lws4art@xxxxxxxxxxxxx> 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
.
- Follow-Ups:
- Re: Centering
- From: Jonathan N. Little
- Re: Centering
- References:
- Centering
- From: dorayme
- Re: Centering
- From: Jonathan N. Little
- Centering
- Prev by Date: Re: Max size for webcontent in IE on XP
- Next by Date: Re: Path for SSI in htm file
- Previous by thread: Re: Centering
- Next by thread: Re: Centering
- Index(es):
Relevant Pages
|