Closed Thread Icon

Preserved Topic: centering layers (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18382" title="Pages that link to Preserved Topic: centering layers (Page 1 of 1)" rel="nofollow" >Preserved Topic: centering layers <span class="small">(Page 1 of 1)</span>\

 
adaline
Bipolar (III) Inmate

From: look down!
Insane since: Jul 2001

posted posted 01-16-2002 03:16

I'm not sure if this is the right place for this ? but if I want to center a layer no matter what screen res it is viewed in, how would I go about doing that. Like I have a layer that I want centered on the page in 800 x 600 but also centered in 1024 x 768. Any suggestions?

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 01-16-2002 03:20

adaline: It doesn't work in NS4.x but this is my preferred way of centring with CSS:
http://bluerobot.com/web/css/center1.html

It degrades better than their other method.

Emps


Beware of men without beards and women with beards - Basque proverb

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 01-16-2002 06:55

I like dhtml, lots, so check out this page http://www.stephenulangca.com/

Last night I just got it to center in NN4, NN6, and IE. It doesn't quite work in OP5 but I think with a tweak it could.

I get the screen dimensions and center the divs at load time. After that I use the onresize event to recenter as needed.



Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 01-16-2002 09:38

You know, I really hate you sometimes bugs! :P

Sweet site.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 01-16-2002 09:57

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 01-16-2002 14:45

I have to appologize for not actually talking about the topic at hand, Emps has already done that as well as Bugs. I just have to say that once again I just love that site Bugs! That dHTML is almost like Flash. That guy better be happy with his site!.

Later,
C:\


~Binary is best~

adaline
Bipolar (III) Inmate

From: look down!
Insane since: Jul 2001

posted posted 01-16-2002 20:05

Thanks emps and bugs, it helped tons. And yes bugs, very nice site, wish i was that talented

« BackwardsOnwards »

Show Forum Drop Down Menu