Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys!

I am trying to convert my fixed layout website to fluid layout.
I would like to ask if I can only use a single div in order to contain all my div blocks with fixed layout?

Thanks in advance!
Posted
Updated 11-Aug-13 3:54am
v2
Comments
Sergey Alexandrovich Kryukov 11-Aug-13 14:54pm    
I'm afraid it cannot make your layout really fluid.
—SA

Please refer to this [LINK] and [Medeia Queries] extension for converting fixed layout to fluid layout.
 
Share this answer
 
Comments
Dholakiya Ankit 11-Aug-13 23:43pm    
nice one
Please see my comment to the question.

Even though you can always contain fluid-layout elements in the fixed-layout page (which of course would keep the whole design predominantly fixed layout), the attempt to contain fixed-layout elements in the fluid-layout design would anyway break the layout in case if the browser window sizes less then some of your fixed elements. So, even though it would be possible, it can defeat the purpose of such work. If you want to make the design fluid, you should try to keep all block elements to fluid design of their inner HTML.

Please see also my past answers with some links:
Webpage screen resolution (Cross Browser\Cross Platform) problem[^],
To Get Screen resolution[^].

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900