Simple Problem with Borders (Simpler Version)
Here is a very simple problem:
I need a large container, width: 900 px, that will envelope my blog. Inside this large container is a header, floated at the top. Below the header is a smaller container.
Index file looks like this:
<div id = “bigcontainer”>
// Generate the header
<div id = “smallercontainer”>
//Generate the post
The style sheet has this:
border: thick solid #FF0000;
Here is the simple problem. When the above is generated, I get a big red border, but ONLY around the header file. When smaller container is not positioned absolutely (the line is removed), then the red border surrounds everything. Why is this happening? Why does my big container not contain the little container?
- The topic ‘Simple Problem with Borders (Simpler Version)’ is closed to new replies.