English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hello,

I'm just starting to learn how to do a tableless layout with CSS. I understand the following:

If I have:







I convert it to:
#container{info here}
#header{info here}
#middle{info here}
#footer{info here}








But what if I have:







You see the mutiple in the second line?

How would I code that in css and div tags?

2007-10-24 22:47:49 · 1 answers · asked by ? 2 in Computers & Internet Programming & Design

I tried something like the following:












Problem is that just messes up my design, with the middle1, middle2, middle3, they end up in the wrong places on the design. Do I use some kind of positioning or what? Can someone lead me to the write direction?

2007-10-24 23:32:50 · update #1

1 answers

A

tag has no real location or shape except for the text or image that it is surrounding. Unlike the tag which takes its location and form from the surrounding and tags.
So to answer your question

#container{info here}
#header{info here}
#middle1{info here}
#middle2{info here}
#middle3{info here}
#footer{info here}










2007-10-24 23:15:36 · answer #1 · answered by AnalProgrammer 7 · 0 1

fedest.com, questions and answers