CSS boxes – wrong code?
-
I am trying to format the body of a page with boxes. First question is: if I want two parallel boxes like newspaper columns, is it better to have an enveloping box for them or does it matter?
Second question: I do not seem to be able to get css boxes to work right; instead I get open text showing on the page. I know I am missing something simple, but I haven’t figured it out yet despite rummaging through numerous tutorials and examples. Here is code I have:
</div>
<div>body {
background-color: transparent;
position: absolute;
top: 220px;
width: 460px;
height: 600px;
left: 10px;
}
<div style=”Why does this show as open text on the page?
What am I missing to make it “work”?I am not working with an HTML sub-page, just trying to get a single CSS page to work for now.
Thanks!
- The topic ‘CSS boxes – wrong code?’ is closed to new replies.