Help!!! Its a LAYER!!

They have: 18 posts

Joined: Mar 2006

ives used dreamweaver to put layers in a layout. but ive had to **** the layers to the right a little in order for them to appear correctly in internet explorer. but this morning when i view my site from a friends laptop the layers were in the wrong place.

whats happening here? and how can i correct the positioning

filip2mp Newbie Webmaster at

02bunced's picture

He has: 412 posts

Joined: May 2005

What resolution is your monitor and your friend's laptop.

And can we have a link to the test website, please. Else it'll be just like firing shots off into the darkness.

Many thanks
David

They have: 18 posts

Joined: Mar 2006

my screen resolution is 1024 x 768, not sure of the laptop resolution. im guessing 800 x 600 (i'll find out).
the link to the website is here

02bunced's picture

He has: 412 posts

Joined: May 2005

OK, the problem is this line of code here:

Now, I don't know how much you know about position: absolute, so I'll tell you this: it puts everything in relation to the top left pixel of the screen. This is fine if you're layout is left aligned. However, you are trying to centre the layout which is dynamic to the middle of the browser according to the screen resolution. Therefore, the rest of the layout is moving dynamically and the layer is stuck in one position. Looks good at 1024x768, looks lousy everywhere else

However, because of the way your document is written, it's gonna take a lot of work to correct the problem. What you would need to do is put both that box and the menu inside a container. Then you would need to float the menu to the left and position the calendar according to that. Perhaps a more tempory fix is to change this line:

to this:

and then just alter the positioning accordingly, because then everything is taking it's cue from the top left pixel.

I hope this makes some things clearer and sorry I haven't got any better fixes but it would require a total re-write to make things happen in the center of the page.

By the way - I think it's great to see young people so fired up for God and I wish you every blessing in your ministry.

Blessings
David

They have: 18 posts

Joined: Mar 2006

many thanks david.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.