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 7510027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:06:23+00:00 2026-05-29T23:06:23+00:00

Okay I’m using XHTML1.1 due to the fact that HTML5…doesn’t behave as I expect,

  • 0

Okay I’m using XHTML1.1 due to the fact that HTML5…doesn’t behave as I expect, if anyone can provide a decent tutorial I’d be happy to look at it, so far anything I write in HTML5 doesn’t render in any other browser but Chrome >_>; .

Now back to my problem.

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <style>
    #Content{
        position: relative;
        background-color: #8CF;
        padding: 1%;
        border-color: black;
        border-style: solid;
        border-left-width: 1px;
        border-right-width: 1px;
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
        height: 100%;
    }


    #Announcer {
        position: relative;
        background-color: #6AF;
        padding: 1%;
        border-color: #6AFFFF;
        border-width: 1px;
        border-style: inset;


    }

    #Column_Holder {
        position: relative;
        background-color: #6CF;
        padding: 1%;
        height: 100%;


    }

    .Column {
        float: left;
        padding: 1%;
        overflow: auto;
        height: 100%;
    }

    #Col1 {

        width: 60%;
        border-color: black;
        border-style: solid;
        border-right-width: 1px;
        border-width: 1px;

    }

    #Article_Image {

        background-color: #3DE;
        position: relative;
        float: right;
        width: 20%;
        text-align: right;
    }

    #Col2 {
        width: 30%;

        padding-left: 3%;
    }



    </style>
</head>
<body>
    <div id="Content">

        <div id="Announcer">
            <h2>Announcer Place Holder</h2>
        </div>
        <div id="Column_Holder">
            <div class="Column" id="Col1">
                <div id="Article_Image">Image PlaceHolder</div>
                <h1>Lots a text</h1>
                <p>Creating Websites since 1989. I have created lots and lots of websites. This one is with XHTML1.1 and CSS3</p>
            </div>
            <div class="Column" id="Col2">
                <h2>Another story</h2>
                <p>Something else happened teh other day =3</p>
            </div>
        </div>

    </div>
</body>
</html>

I’ve tried using floats…it’s not appropriate as a solution in this instance. I’ve tried 100% height, Xhtml seems to completely ignore that instruction. Unless I declare a pixel height it’s ignored strangely (yeah I’m struggling with this difference from HTML). Anyone want to provide a hint? Just a keyword >_<;

Thanks for reading

  • 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-29T23:06:25+00:00Added an answer on May 29, 2026 at 11:06 pm
    1. first of all, seriously? XHTML and without the XHTML doctype?
    2. percentage is a relative unit of measurement. this means that whatever you place percentage dimensions, it depends on the parent. now, width doesn’t have the need for the parent to have width declared for relativeness but height does. since #Content is a child of body, you need body to have a height (like say 100%). body is a child of the <html> tag, and for body’s 100% to work, you need to have 100% for html.

    plug this in your CSS above everything else to see what i mean:

    html,body{height:100%;}​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Okay, here's the scenario. I have a utility that processes tons of records, and
Okay, I've seen but haven't programmed in C# before. You can assume I'm competent
Okay, we know that the following two lines are equivalent - (0 == i)
Okay, so I'm doing my first foray into using the ADO.NET Entity Framework. My
Okay, so I'm trying to make a game that uses this algorithm: http://www.codeproject.com/Articles/15573/2D-Polygon-Collision-Detection But
Okay, I have hundreds of .net controls with text attributes that needs to be
Okay, I'm reading about Linux kernel development and there are some code snippets using
Okay so what I have is a table that keeps track of history on
Okay, first some background, I can't use any javascript library except YUI for this
Okay, so this seems simple, but I can't think of a straightforward solution; Basically

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.