This is a discussion on "float question..." within the Web Page Design section. This forum, and the thread "float question... are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
float question...
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
float question...
Hi,
In a layout of two columns using floats, how do I get the content column to use the size of the full size of the screen rather than just the size of its content.
Asa |
|
|
|
|||
|
Re: float question...
Perhaps you could expand a bit on what exactly you mean? |
|
||||
|
Re: float question...
I do believe he has one fixed width and one liquid column. Thus is in search of the holy grail more or less.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: float question...
You don't float the content area. Give it a left margin of 220px or so.
|
|
|||
|
Re: float question...
yeah you see, by setting the width of the column, your saying that no matter what resolution the website is viewed at, it will always be 200px. Personally, i'd use percentages, that'll make your columns be for example, 20% of the screens resolution etc.
So an example would be one columns, width: 40% float:left and the other column would be width: 60% That way no matter what the resolution of the screen is, column one will always be 40% of it and column two will always be 60% of it. Does that help at all? If you need exact code just tell me and i'll write it out. |
![]() |
| Tags |
| float, question |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Css Float??? | RZX Developer | Web Page Design | 4 | Aug 13th, 2007 10:37 |
| Basic float/clear question | rawling | Web Page Design | 4 | Jul 19th, 2007 08:52 |
| Problems with float:left float:right | nvidiajoe | Web Page Design | 8 | Nov 17th, 2006 20:24 |
| IE6 Float | masonbarge | Web Page Design | 8 | Aug 16th, 2006 10:13 |
| right float problem... | c_martini | Web Page Design | 11 | Aug 2nd, 2006 13:47 |