![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have created a nice idea for a website and now I would like to translate that idea in (x)html and css. The layout is quite basic: a header, two columns and a footer. For a graphical presentation, see http://users.telenet.be/sacn/tmp/layout.png. I would like to have: * source ordered columns: header, content, sidebar, footer * fixed width columns (either px or em units). Because I don't like reading very long lines and IE does not support the max/max-height properties. * columns don't need to have their own background color or image (no faux columns or equal-height colums necessary). * fixed height header (I will place a background image here) * everything centered in the browser window * good browser support: IE5+, Gecko, Opera,... I want to use as few div's as possible, e.g. something like below: div id="container" div id="header"></div div id="main" div id="content"></div div id="sidebar"></div /div div id="footer"></div /div I did search on the internet for a suitable template to start with, but couldn't find one. |
#3
| |||
| |||
|
|
Something like this? http://www.w3schools.com/css/tryit.a...=trycss_float6 |
#4
| |||
| |||
|
|
Something like this? http://www.w3schools.com/css/tryit.a...=trycss_float6 |
#5
| |||
| |||
|
|
On 2006-07-14, akress (AT) gmail (DOT) com wrote: Something like this? http://www.w3schools.com/css/tryit.a...=trycss_float6 One would hope not; it doesn't scale: http://cfaj.freeshell.org/www/2column.jpg |
#6
| |||
| |||
|
|
I understand why you consider a fixed width layout a bad choice (especially with large fonts), but reading very long lines (e.g. on a widescreen monitor) is also not very attractive. |
#7
| |||
| |||
|
|
I have created a nice idea for a website and now I would like to translate that idea in (x)html and css. The layout is quite basic: a header, two columns and a footer. For a graphical presentation, see http://users.telenet.be/sacn/tmp/layout.png. I would like to have: * source ordered columns: header, content, sidebar, footer * fixed width columns (either px or em units). Because I don't like reading very long lines and IE does not support the max/max-height properties. * columns don't need to have their own background color or image (no faux columns or equal-height colums necessary). * fixed height header (I will place a background image here) * everything centered in the browser window * good browser support: IE5+, Gecko, Opera,... I want to use as few div's as possible, e.g. something like below: div id="container" div id="header"></div div id="main" div id="content"></div div id="sidebar"></div /div div id="footer"></div /div I did search on the internet for a suitable template to start with, but couldn't find one. |
#8
| |||
| |||
|
|
Jef Driesen wrote: I understand why you consider a fixed width layout a bad choice (especially with large fonts), but reading very long lines (e.g. on a widescreen monitor) is also not very attractive. A max-width in ems takes care of that. |
#9
| |||
| |||
|
|
Els wrote: Jef Driesen wrote: I understand why you consider a fixed width layout a bad choice (especially with large fonts), but reading very long lines (e.g. on a widescreen monitor) is also not very attractive. A max-width in ems takes care of that. That's a very good point, but IE doesn't support that. And IE is still one of the most used browsers. And in my case (a small website for the local diving club), being nice to most users (using IE) is more important than supporting a few users with visual handicaps (using large fonts). |
|
And there is also the possibility to specify those fixed widths in ems... |
#10
| |||
| |||
|
|
Jef Driesen wrote: Els wrote: Jef Driesen wrote: I understand why you consider a fixed width layout a bad choice (especially with large fonts), but reading very long lines (e.g. on a widescreen monitor) is also not very attractive. A max-width in ems takes care of that. That's a very good point, but IE doesn't support that. And IE is still one of the most used browsers. And in my case (a small website for the local diving club), being nice to most users (using IE) is more important than supporting a few users with visual handicaps (using large fonts). IE can be made to play nice (albeit quite a bit more complex than other browsers): http://www.svendtofte.com/code/max_width_in_ie/ |
|
And there is also the possibility to specify those fixed widths in ems... Which means that when you only have an 800x600 screen, and you crank up the font-size, you end up scrolling horizontally for each line you wanna read. |
![]() |
| Thread Tools | |
| Display Modes | |
| |