"The Problem"

This is a discussion on ""The Problem"" within the Web Page Design section. This forum, and the thread ""The Problem" are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 26th, 2007, 15:24
Junior Member
Join Date: Jul 2007
Location: London
Age: 18
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
"The Problem"

So recently I've been trying to make the jump from using tables in CSS to using divs, I've been searching as many tutorials as I could find on layouts and floating elements but have found the same problem for each one.

It seems you can't do as much with divs as with tables (for layout structure anyway), "The Problem" I have found is that on every CSS sites when you resize it either the template doesn't adjust at all (which is fine, that's the desired result from a fixed design) or for fluid designs the template will adjust but only to a certain point because after that the divs overlap each other.

I know that min-width could be applied as the solution but that isn't supported on IE6 and the point of CSS is to make websites more widely accessible in my opinion.

Is there a solution that I'm just not aware of?
Reply With Quote

  #2 (permalink)  
Old Jul 26th, 2007, 15:36
Junior Member
Join Date: Jul 2007
Location: London
Age: 18
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Re: "The Problem"

Hmmm, just thought about it and I could use horizontal lists to do this... although that seems as bad as using tables. Any suggestions?
Reply With Quote
  #3 (permalink)  
Old Jul 26th, 2007, 15:40
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: "The Problem"

What is the problem exactly?!
Reply With Quote
  #4 (permalink)  
Old Jul 26th, 2007, 15:45
Junior Member
Join Date: Jul 2007
Location: London
Age: 18
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Re: "The Problem"

Quote:
Originally Posted by karinne View Post
What is the problem exactly?!
Overlapping divs on fluid designs.
Reply With Quote
  #5 (permalink)  
Old Jul 26th, 2007, 15:59
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: "The Problem"

Quote:
Originally Posted by AlexDS;226119"
The Problem" I have found is that on every CSS sites when you resize it either the template doesn't adjust at all (which is fine, that's the desired result from a fixed design) or for fluid designs the template will adjust but only to a certain point because after that the divs overlap each other.

Is there a solution that I'm just not aware of?
Yes: elastic layouts, where the page layout is set in em (a relative font unit).

The page layout resizes with the font size. You can also use max-width for good browsers, and send IE6 the same value but as width instead. This lets the site squash down on lower resolutions.

For example: My in-progress site, using an elastic layout
Reply With Quote
  #6 (permalink)  
Old Jul 26th, 2007, 16:13
Junior Member
Join Date: Jul 2007
Location: London
Age: 18
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Re: "The Problem"

Quote:
Originally Posted by MikeHopley View Post
Yes: elastic layouts, where the page layout is set in em (a relative font unit).

The page layout resizes with the font size. You can also use max-width for good browsers, and send IE6 the same value but as width instead. This lets the site squash down on lower resolutions.

For example: My in-progress site, using an elastic layout
Hmmm, that's almost the solution I was looking for apart from when I viewed your site in IE, your site seems to stay at the same size no matter what the resolution is. Is that happening because your site is still in progress or because it's a result of the elastic method?

I'm going to read up on elastic layouts some more though.
Reply With Quote
  #7 (permalink)  
Old Jul 26th, 2007, 16:27
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: "The Problem"

Quote:
Originally Posted by AlexDS View Post
Hmmm, that's almost the solution I was looking for apart from when I viewed your site in IE, your site seems to stay at the same size no matter what the resolution is. Is that happening because your site is still in progress or because it's a result of the elastic method?

I'm going to read up on elastic layouts some more though.
There are two components of the elastic resizing, as used on my site:
  • Whole layout scales up/down with font size (use of ems as layout unit)
  • Layout compresses (squashes) when it runs up against the viewport boundaries (use of max-width)
The first feature works in all browsers, but the second does not work in IE6, because IE6 does not support max-width. (But it does work in IE7.)

The layout is not designed to fill up a high-resolution screen. It will simply sit centrally aligned, with lots of space on either side. But you can make it fill the screen by increasing the font size.

Last edited by MikeHopley; Jul 26th, 2007 at 17:11.
Reply With Quote
Reply

Tags
css, problem

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a "tag" system to find relevant "related" pages MrQuestions PHP Forum 3 Mar 20th, 2008 23:06
[SOLVED] Show "Image" Depends On User "Status"? Monie Classic ASP 6 Oct 16th, 2007 01:22
? IS "meta name="robots" content="?" necessary in pages ? Love2Java Starting Out 6 Aug 8th, 2007 13:48
window.opener.document["nameForm"].getElementById("someid").value; doesnt work drpompeii JavaScript Forum 0 Feb 17th, 2007 23:09
<option value="yes" class="x"> problem in Firefox mameha1977 Web Page Design 1 Jun 21st, 2006 11:20


All times are GMT. The time now is 19:14.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43