Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 527319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:52:12+00:00 2026-05-13T08:52:12+00:00

Maybe there is already a question about this subject, but I couldn’t find it.

  • 0

Maybe there is already a question about this subject, but I couldn’t find it.

My question is simple,
Can I use only divs on a page layout?

I got myself in trouble to create a div with corners for example.

A_____B______C  
|            |
D     E      F
|            |
G_____H______I

take all letters as divs with some background, while letter E is where the content is placed, and it is dynamic, so it can get any height, while the width will be 100% for whole window(there is another div as the menu floating left of that div, but I didn’t consider it here).
in table I did that really quick with no hack, but with divs I just couldn’t.
I couldn’t make the height of div D and F expand correctly with divs, the rest was ok

so,
1. can div really replace tables for layout?
2. can div replace tables without css compatibility-hacks?

(btw, that wasn’t my only problem with div and css for layouts where table did it easily)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T08:52:13+00:00Added an answer on May 13, 2026 at 8:52 am

    Your example is completely doable in basic CSS using absolute positioning inside relatively positioned element. Take a look at this:

    http://www.ulmanen.fi/stuff/box.php

    So, in answer to your question, divs really replace tables for layout.

    And what goes for question number two; tables should be used where tables are needed: in tabular data. If you need to present something in a table, use a table. Just don’t use them for layout.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Maybe this is a dumb question, but is there any way to convert a
Is there an analogous conditional-not-present attribute or maybe a way to use the Conditional
There may be more than one way to ask this question, so here's a
They brush the subject in this thread, but it does not really answer much:
There are a lot of posts on here about this, I'm using this code
I know this question might sound a little bit crazy, but I tough that
Maybe there are VB.net and other language that related with .Net framework. When I
Is there any way (maybe directly editing resource files) to configure a Tab Control
is there a way to abort threads created with QueueUserWorkItem? Or maybe I don't
Is there some way to have the Mail Merge capability in my application? Maybe

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.