What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » DIV layer help needed

DIV layer help needed
Author: Message:
Vilkku
Veteran Member
*****

Avatar

Posts: 1411
Reputation: 27
36 / Male / Flag
Joined: Mar 2003
O.P. DIV layer help needed
Problems once again, this time with DIV-layers. I am making a site for a World of Warcraft I'm in and because DW uses DIV layers in it's templates I am using them. I got one problem/question:

If I have three div layers, of wich the left and right ones have a constant width. How do I set the middle layer to adjust itself if you resize the screen, but also always be at the same distance from the left and right layer.

If you didn't understand, take a look here. I want the middle one to always be "connected" to the navigation layers, not just to the left one.
Please, don't suggest moving to tables. I know it's much easier but I would like to learn a way to do it with divs if there is one. Thanks.
[Image: signature.php]
11-20-2004 06:16 PM
Profile E-Mail PM Web Find Quote Report
surfichris
Former Admin
*****

Avatar

Posts: 2365
Reputation: 81
Joined: Mar 2002
RE: DIV layer help needed
You could try something like:

left: 10px;
right: 10px;

In the div/css for the middle area.

I'm not too sure if that'll work, but what would make it alot easier is if you converted the whole layout to fixed widths (so it was say 760px wide on EVERY resolution), then you wouldn't have this problem as you could specify the width for each area.
11-20-2004 09:29 PM
Profile PM Find Quote Report
Vilkku
Veteran Member
*****

Avatar

Posts: 1411
Reputation: 27
36 / Male / Flag
Joined: Mar 2003
O.P. RE: DIV layer help needed
For some reasons, the absolute positioning didn't work. (I actually already tried this, but I didn't do it in the stylesheet the last time)
So, how do I centre the whole layout then? I'm not very expirienced in this stuff, even less in css and div layers.

EDIT: Nevermind, figured it out myself. Thanks.
[Image: signature.php]
11-22-2004 04:39 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On