Reply
Help creating an adaptive/liquid pag layout
Old 03-25-2007, 12:19 PM Help creating an adaptive/liquid pag layout
Moldarin's Avatar
Extreme Talker

Latest Blog Post:
Keyword Density and Title Tags
Posts: 200
Hi,

I want to create an adaptive layout for a blog, but I am not sure on the approach to go for with the CSS. I will try and explain the idea, so please assist with CSS coding if you think you can help.

On wide screens you would get three columns: content[1], navigation[2], and other[3]. All with fixed widths, and a fixed total width. When the screen becomes too small to show all three columns, the columns should shrink a little. When the available width is too narrow to display all three then other[3] should be pushed underneath navigation[2].The page then would display content[1] as one column, and navigation[2] and other[3] as one column. When the screen gets even narrower it should push the navigation[2] and other[3] underneath content[1].

How can I create this?
__________________
I do not share ad revenue.
Moldarin is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 03-25-2007, 12:26 PM Re: Help creating an adaptive/liquid pag layout
LadynRed's Avatar
Super Moderator

Posts: 6,718
Location: Tennessee
What happened to your Swicthy Mclayout from ALA ??
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-25-2007, 01:11 PM Re: Help creating an adaptive/liquid pag layout
Moldarin's Avatar
Extreme Talker

Latest Blog Post:
Keyword Density and Title Tags
Posts: 200
It used JavaScript and I am trying to make it entirely in CSS. But I am not sure where to begin.
__________________
I do not share ad revenue.
Moldarin is offline
Reply With Quote
View Public Profile
 
Old 03-25-2007, 04:17 PM Re: Help creating an adaptive/liquid pag layout
chrishirst's Avatar
Super Moderator

Posts: 15,227
Location: Blackpool. UK
Can't be done without scripting.

For the simple reason that the most popular browser doesn't support the properties that would make it possible.


min-width & max-width
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-25-2007, 04:32 PM Re: Help creating an adaptive/liquid pag layout
chrishirst's Avatar
Super Moderator

Posts: 15,227
Location: Blackpool. UK
very rough idea of what I guess you are trying to acheive

http://www.candsdesign.co.uk/page-te...ble/layout.asp

works correctly in FF only.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-25-2007, 04:43 PM Re: Help creating an adaptive/liquid pag layout
Moldarin's Avatar
Extreme Talker

Latest Blog Post:
Keyword Density and Title Tags
Posts: 200
I think we can say that it did not work at all Chrishirst.

What about this then?

Code:
<div><div id="content"><div><div id="navigation"><div><div id="other"></div></div></div></div></div></div>
Each column is wrapped in outer div, containing the columns two and two together. I have know idea about the styling, but I imagine it could work with flow: left?
__________________
I do not share ad revenue.
Moldarin is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help creating an adaptive/liquid pag layout
 

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

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


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13929 seconds with 12 queries