5 replies [Last post]
maxedge
Offline
newbie
Last seen: 16 years 37 weeks ago
Joined: 2004-02-04
Posts: 3
Points: 0

Ok on here, http://www.maxedge.net/maxtest.html , I have some questions I want to ask you. Number one, why can't I get all the three parts of the content body to line up? I mean, the percents are all right but the last one keeps on going to the bottom (in Mozilla Firebird). The similar problem in Internet Explorer is the content body doesn't go flush with the side of the window. Also, I want to get the bottoms of the bodies equal too.. I don't know why they aren't. And also, when I define height as 100%, I'm trying to say, "Fill up all of the screen that you need to, " but it doesn't. How do you do that?

For a summary of what I'm trying to achieve, http://www.maxedge.net This one uses all tables though..eck.

Can anyone give me some solutions?

dJomp
dJomp's picture
Offline
Enthusiast
Last seen: 4 years 38 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

Questions

The lining up thing - keep the percentage a little under 100%. If you set the widths of the DIVs to total 100%, and you add 2 1px borders in there, you've got 100% + 2px which isn't going to fit.

Although with that design, I'd float the left and right bars, and just give the middle sufficient margin/padding to not write underneath the bars once they've finished.

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.

maxedge
Offline
newbie
Last seen: 16 years 37 weeks ago
Joined: 2004-02-04
Posts: 3
Points: 0

Questions

But I need it to span the whole width. If I have it just below 100%, it won't span the whole page. Any suggestions?

maxedge
Offline
newbie
Last seen: 16 years 37 weeks ago
Joined: 2004-02-04
Posts: 3
Points: 0

Questions

Should I just go back to using tables?

Daybreak_0
Offline
Enthusiast
Sydney, Australia
Last seen: 16 years 49 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

Questions

If you can limit only one column to be a % width or fluid then it is possible, with the layout generator http://www.csscreator.com/version2/pagelayout.php

There are other layouts around and some do a good job at it. It really depends if you need every column to be a %??

Regards
Day

The only way to learn is to do it yourself

dJomp
dJomp's picture
Offline
Enthusiast
Last seen: 4 years 38 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

Questions

Yeah, sorry, my second suggestion wasn't well worded...

What you do is float the left bar left, the right bar right, then make the middle bar fit the page, and add in margins left and right to 'avoid' the left and right bars. This way the middle column isn't given a specified width but #should# fill out the space.

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.