Power Your Software Testing with AI Agents and Cloud
The Native AI-Agentic Cloud Platform to Supercharge Quality Engineering. Test Intelligently and Ship Faster.
- TestMu AI (Formerly LambdaTest)
- /
- Blog
- /
- Web Page Layout Ideas: Common Patterns and How to Build Them
Web Page Layout Ideas: Common Patterns and How to Build Them
Common web page layout patterns explained: one, two and three column grids, fixed sidebars and footers, and how to build them so they reflow on small screens.
Last Updated on:
Common web page layout ideas fall into four shapes: a single column, a two-column split, a three-column grid, and a fixed sidebar beside the main content. CSS Grid builds each of these shapes, and the rule grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) drops a multi-column page back to one column when space runs out. This guide covers the page header, readability and column width, the one, two and three column main content patterns, and how AI coding tools change layout work.
Key Takeaways
- One-column layouts fit mobile screens and personal blogs, two-column split-screen layouts fit laptops and tablets, and three-column layouts fit large desktop screens.
- The CSS Grid rule grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) creates as many columns as the available space allows and drops to one column when the space runs out.
- Container queries let a card or a sidebar respond to the width of the element that holds it rather than the width of the browser window, so one component can be reused in a wide main column and a narrow side rail.
- Capping the main text column at a maximum width and letting it fall back to a percentage of the viewport removes horizontal scrolling at every screen size.
- WCAG Success Criterion 1.4.10 Reflow requires a web page to stay usable without scrolling in two directions at a width of 320 CSS pixels, which is a 1280 pixel viewport at 400 percent zoom.
- Figma Make and Vercel v0 turn one sentence of English into a finished grid or flex layout, but neither shows the order a screen reader and keyboard will travel through the columns, so tab through a generated layout before shipping it.
Present An Enthralling Start
The user mainly focuses on how simple or complex the information presented is. Header, yes the major the major attention to your brand begins here. The logo, links to contact, and other relevant information regarding website all lies in this one place. The one value proposition of the brand name can be enriched by working on essential features which can be incorporated in the website.
Key Takeaway: A web page header holds the logo, the contact links and the rest of the site-wide information in one place, so it is where a visitor's attention to the brand begins.
Make Readability Laid-back
For a reader, it is cumbersome to scroll a page horizontally. Layouts are no longer built to one fixed browser width. Set a maximum width on the main column, let it fall back to a percentage of the viewport below that, and horizontal scrolling disappears on every screen size.
A website contains many pages, but no visitor tends to read beyond the first page. Therefore, web site designers try wrapping the maximum amount of information into a single page. Line length is the constraint that matters here, not a pixel count, so cap the text column at a comfortable reading measure and let the layout around it flex.
Web accessibility now sets the floor for how narrow a layout has to survive. WCAG Success Criterion 1.4.10 Reflow requires content to stay usable without scrolling in two dimensions at a width equivalent to 320 CSS pixels, which is a 1280 pixel viewport at 400 percent zoom. Check every layout at that width before you ship it. Fixed-width columns, wide tables and absolutely positioned sidebars are the three things that usually break.
Key Takeaway: Capping the main column at a maximum reading width, letting it fall back to a percentage of the viewport, and checking the page at 320 CSS pixels keeps a layout readable without horizontal scrolling.
The Main Content
The maximum space of the website should be covered with well-structured content. Although this part of website holds the maximum transitions but the main content is preferably static. Content can be put up through divisions of the layout into one column or two or maybe three. It is in the hands of the designer to add a spin to this section depending on the website and client requirement.
The column counts below describe the shape of a layout, not the code that builds it. CSS Grid produces all three shapes from a single rule, because grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) creates as many columns as the available space allows and drops to one column when it runs out. Container queries go further and let a card or a sidebar react to the width of the element that holds it rather than the width of the browser window, which matters when you reuse the same component in a wide main column and a narrow rail.
Name the regions in the markup before you position them in CSS. MDN sets out the semantic elements for this: header for the introductory content, nav for the main navigation, main for the content unique to that page, aside for side content that is only indirectly related, and footer for the end content. Use main once per page, directly inside body. Grid and Flexbox then decide where those regions sit, while the elements themselves tell a screen reader what each region is.
Austin Siewert
Co-Founder, Steadfast Systems
Discovered @TestMu AI yesterday. Best browser testing tool I've found for my use case. Great pricing model for the limited testing I do 👏
2M+ Devs and QAs rely on TestMu AI
Deliver immersive digital experiences with Next-Generation Mobile Apps and Cross Browser Testing Cloud
1-column layout
This kind of layout is the default starting point for mobile-first design. This is one of the easiest layouts as not only does it provide smooth navigation to users but also fits mobile screen perfectly. This kind of layout is best suitable for personal blogs and microblogs like Tumblr. The addition of 'sticky' for this layout allows comfortable scrolling through pages, making the visitor avoid scrolling way back up to navigate.
2-column layout
Often termed as the split-screen layouts, it is most preferable for medium sized screens like laptops and tablets. A website tends to offer such designs if information to be presented holds equal weightage . Split-screen is a mainstream pattern rather than one to avoid, and adding animation or a strong colour contrast on one side makes the outcome more engaging. On a narrow screen the two halves should stack into a single column.
The 2-column layout can have an upgraded version with asymmetric column which helps the user to differentiate between useful and less useful content. The asymmetric view uplifts better segregation behaviour by focusing user's attention on the informative objects. The use of high colour contrast can add weightage to this version.
3-column layout
The only suitable layout for big screens like desktop comes through this section. The entire focus lies on the central part of this layout. Because content is all that you survive on! The unequal arrangement in this column earns the website a quick glance as well as makes the navigation rapid.
Though we had a brief insight of the most common transformations which can be done with this version, but the real magic begins when we mix match them and come up with brewing layouts.
Key Takeaway: Web page content is usually arranged in one, two or three columns, with a fixed sidebar for navigation and a footer for global details such as copyright and contact information.
How Do AI Coding Tools Change Web Page Layout Work?
AI tools now write the layout code, so the job shifts from placing the boxes to reviewing what the generator produced. Reading order is the first thing to check. Figma Make turns a text prompt into code-backed prototypes that stay editable on the canvas, and Vercel's v0 describes itself as an AI agent that helps anyone create real code and full-stack apps. Both will hand you a finished grid or flex container from one sentence of English. Neither output tells you the order a screen reader and the keyboard will travel through the columns.
CSS Grid and Flexbox decide where an item appears, not when it is read. The flexbox specification is explicit about this: authors must not use order, or the -reverse values of flex-flow and flex-direction, as a substitute for correct source ordering, because it can ruin the accessibility of the document. As MDN puts it, the tabbing order and speech order follow the order of the source code, so a visually reordered navigation bar still tabs in DOM order.
That becomes a standards failure the moment the sequence carries meaning. WCAG Success Criterion 1.3.2 Meaningful Sequence is a Level A requirement: when the sequence in which content is presented affects its meaning, a correct reading sequence can be programmatically determined. A generated three-column page that shows the main story first but places the sidebar first in the markup breaks that rule.
CSS has a direct answer in the reading-flow property, whose flex-visual, grid-rows and grid-columns values make focus and speech order follow the visual order of a flex or grid container. MDN still lists it as limited availability rather than Baseline, so correct source order remains the safe default. Tab through any generated layout with the keyboard before you keep it.
Key Takeaway: AI tools generate layout code from a prompt but not a correct reading order, so check a generated page against WCAG Success Criterion 1.3.2 Meaningful Sequence and tab through it with the keyboard before keeping it.
Designing and developing a web page is one thing but making sure that it is working as intended, the other. Yet, both are equally important. So, you need to make sure that the webpage that you have developed works perfectly across all browsers, OS, and devices( mobile, desktop, and tablets). You can use TestMu AI after developing your web page to test for cross browser compatibility.
Well, now that your mind is all set with the structure and ideas to shape a perfect yet simple website, make sure that content remains the king. A website manages to be sustainable if among all the visual variations it manages to channelize the traffic towards itself. We know that clients often demand tested and tried solutions but with a basic understanding the layouts, we can come up with designs that are outstanding and would not get lost in the sea of homogeneity.

Author
Shubham Saxena is a community contributor with 2+ years of experience in project and product operations. He is currently an Associate Project Manager (PMO, ANZ) at HSO, where he works on initiatives related to Dynamics 365 CE, business transformation, and cross-team coordination. Shubham has previously held Product Associate roles. On TestMu AI (formerly LambdaTest), he has authored articles on cross-browser compatibility, web application testing, and speeding up the testing cycle. He holds a B.Tech in Electronics and Communications Engineering.
Web Page Layout FAQs
Did you find this page helpful?
More Related Blogs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance
- Advanced access controls
- Advanced data retention rules
- Advanced Local Testing
- Premium Support options
- Early access to beta features
- Private Slack Channel
- Unlimited Manual Accessibility DevTools Tests


