Design an intelligent liquid layout with CSS

With the growing variation of computers and monitor resolutions hitting the market, designing a website that intelligently fills available screen space has become a critical concern. Liquid layouts expand to fill high-end widescreen monitors and avoid forcing viewers with older hardware to endure a lesser experience. However, this flexibility comes with its own set of technical restrictions and design considerations.

The subject of liquid layouts is a complex one, but after completing this simple tutorial you'll have gained all the necessary fundamentals. We'll use CSS to control the overall width of the website and make sure that blocks of copy remain within a comfortable line length for reading. Then we'll review a technique to crop images and maintain a consistent column structure, and add a conditional style sheet to make sure the layout works in older versions of Internet Explorer. Finally, we'll use a print style sheet to adapt our liquid layout for an optimised printout of the website.

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

TOPICS

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of eight full-time members of staff: Editor Georgia Coggan, Deputy Editor Rosie Hilder, Ecommerce Editor Beren Neale, Senior News Editor Daniel Piper, Editor, Digital Art and 3D Ian Dean, Tech Reviews Editor Erlingur Einarsson and Ecommerce Writer Beth Nicholls and Staff Writer Natalie Fear, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq. 

Latest in Print Design & Publishing
Animal Farm book cover by Karolis Strautniekas
Animal Farm book cover has a creepy hidden detail
3D World 310
Download files for 3D World 310
album covers composite image
The 8 worst album covers ever
3D World 309
Download files for 3D World 309
A woman reads a printed leaflet
Take control of customer engagement with the power of in-house print
Patrick Lay Death Strikes; a man in glasses
Creating Death Strikes, the year's best comic - "where gritty and polished meet"
Latest in How to
Ivan Mironenko ZBrush character tutorial
Craft a game-ready character asset using ZBrush and Substance 3D Painter
Whiskytree battle damage effects tutorial
Create gnarly battle damage for vehicles using a mix of Maya and Nuke
After Effects lightning tutorial
How to use Adobe After Effects to create a lightning effect the easy way
Venusaur art
How to paint Pokémon's Venusaur in Photoshop
Babiru DaVinci Resolve colour tips; a red creature in armour, it has a large toothy grin, in the background is a cyberpunk style city
How to achieve a bold cinematic look in animation, using DaVinci Resolve and Fusion Studio
Making Babiru, DaVinci Resolve and Unreal Engine; A tense and visually striking digital scene showcases a character poised with a glowing knife just before a dramatic confrontation, evoking themes of danger and anticipation in a cyberpunk environment.
Colour grading advice: how DaVinci Resolve Studio and Fusion Studio were harnessed for Babiru