I thought about your suggestion to leave tbales and, instead o, work
with css.
The problem is, that I still don't know veray much about css, so I have
some difficulites to understand css-suggestions and to make little more
complex designs by myself.
Nevertheless I tried
This is the original page:
http://www.kairos-team.de
pic-division, banner, sidebar, and main division are realized by tables.
The height of the banner must be the same as the height of the picture,
and the width of the sidebar must be the width of the picture. So
everything is automatic, and I have different pages as
http://www.sonoptikon.de
or
http://www.akkordeon-herten.de
It's always the same design and the same frame, it fits automatically
I made a trial to convert ist to css, the first, raw result is here:
http://www.kairos-team.de/test/
There are some questions and some problems:
One of the first problem is that in the banner there are two tables in
the tables, and perhaps this should be changed.
Otherwise it lookes nice, I know the width and the height of the
picture, so I can count the width of banner and main, that's easy.
Questions:
How can I pull the sidebar down to the legnth of the main section.
Why is the footer not under sidbar _and_ main?
thanks for help
Werner
This is the css File:
body,
h1,h2,h3,h4,h5, ul,ol,li,div,td ,th,address,blo ckquote,nobr,b, i
{ font-family:Arial,sa ns-serif;}
p,ul,ol,li,div, td,th,address,n obr,b,i
{ font-family:Arial,sa ns-serif;font-size:10pt; }
h1 { font-size:24pt; color:#AA0000; margin:8px; margin-left:4px}
h2 { font-size:16pt; margin:8px; margin-left:4px}
h3 { font-size:12pt; margin:6px; margin-left:4px}
h4 { font-size:10pt; margin:6px; margin-left:4px}
html {
margin:0;
padding:10;
background:#a7a 09a;
color:#000;
}
body {
min-width:900;
}
#wrap {
background:#99c ;
margin:0 auto;
width:950px;
}
#logo {
background:#FF8 844;
float:left;
width:120px;
height:100px
}
#banner {
background:#FF8 844;
float:right;
width:830px;
height:100px
}
#sidebar {
background:#FF8 844;
float:left;
width:120px;
}
#main {
background:#fff fff;
padding:10px;
float:right;
width:810px;
}
#footer {
background:#999
clear:both
}
--
--------------------------------------------------
Dorothee & Werner Partner, 45699 Herten
http://www.sonoptikon.de