Nico Zorn
2003-09-11 13:39:53 UTC
X-No-Archive: yes
Hi,
versuche gerade auf CSS umzusteigen ( http://www.nico-zorn.de , Pivot als
Weblog-System ) - klappt soweit, einen Fehler kriege ich aber nicht behoben:
Wenn ich das Browserfenster verkleiner, überlappt die rechte Box die anderen
Elemente. Wie kann ich das vermeiden?
Danke und Grüße
Nico
Der CSS-Code:
a {
color : #113377;
text-decoration : none;
}
a:hover {
text-decoration : underline;
}
body {
background-color : #525252;
font-family : Arial, "Microsoft Sans Serif";
font-size : 12px;
margin : 10px 10px 0px 10px;
padding : 0px;
}
h1 {
font-size : 14px;
padding-top : 10px;
}
p,h1,pre, h2 {
margin : 0px 13px 13px 13px;
}
date {
color : #113377;
float : right;
font-size : 12px;
font-style : italic;
font-weight : normal;
padding-bottom : 10px;
}
floatright {
padding-right : 10px;
text-align : right;
}
#banner {
background-color : ##525252;
border-left : 1px solid #747474;
border-right : 1px solid #747474;
border-top : 1px solid #747474;
color : #FFFFFF;
height : 29px;
padding : 15px;
width: 800px;
}
#banner a {
color : #FFFFFF;
text-decoration : none;
}
#banner a:hover {
text-decoration : underline;
}
#banner h1 {
display : inline;
font-size : 20px;
font-family : Arial Rounded MT Bold, Arial;
height : 30px;
margin : 0px;
padding : 10px 10px 0px 10px;
color : #457EF5;
width: 800px;
}
#banner h2 {
display : inline;
font-size : 20px;
font-family : Arial Rounded MT Bold, Arial;
height : 30px;
margin : 0px;
padding : 10px 10px 0px 0px;
color : #457EF5;
width: 800px;
}
#centercontent {
background : #FFFFFF;
border : 1px solid #FFFFFF;
line-height : 18px;
margin-left : 161px;
margin-right : 201px;
width: 472px;
}
#commentcontent {
background : #FFFFFF;
border : 1px solid #FFFFFF;
line-height : 18px;
}
#leftcontent {
background-color : #B3CAFB;
border : 1px solid #B3CAFB;
font-family : Arial, "Microsoft Sans Serif";
font-size : 11px;
left : 10px;
position : absolute;
top : 70px;
width : 159px;
}
#rightcontent {
background-color : #B3CAFB;
border : 0px solid #B3CAFB;
font-family : Arial, "Microsoft Sans Serif";
font-size : 11px;
position : absolute;
right : 160px;
top : 70px;
width : 197px;
}
#rightcontent p, #leftcontent p {
line-height : 16px;
margin-top : 10px;
}
Hi,
versuche gerade auf CSS umzusteigen ( http://www.nico-zorn.de , Pivot als
Weblog-System ) - klappt soweit, einen Fehler kriege ich aber nicht behoben:
Wenn ich das Browserfenster verkleiner, überlappt die rechte Box die anderen
Elemente. Wie kann ich das vermeiden?
Danke und Grüße
Nico
Der CSS-Code:
a {
color : #113377;
text-decoration : none;
}
a:hover {
text-decoration : underline;
}
body {
background-color : #525252;
font-family : Arial, "Microsoft Sans Serif";
font-size : 12px;
margin : 10px 10px 0px 10px;
padding : 0px;
}
h1 {
font-size : 14px;
padding-top : 10px;
}
p,h1,pre, h2 {
margin : 0px 13px 13px 13px;
}
date {
color : #113377;
float : right;
font-size : 12px;
font-style : italic;
font-weight : normal;
padding-bottom : 10px;
}
floatright {
padding-right : 10px;
text-align : right;
}
#banner {
background-color : ##525252;
border-left : 1px solid #747474;
border-right : 1px solid #747474;
border-top : 1px solid #747474;
color : #FFFFFF;
height : 29px;
padding : 15px;
width: 800px;
}
#banner a {
color : #FFFFFF;
text-decoration : none;
}
#banner a:hover {
text-decoration : underline;
}
#banner h1 {
display : inline;
font-size : 20px;
font-family : Arial Rounded MT Bold, Arial;
height : 30px;
margin : 0px;
padding : 10px 10px 0px 10px;
color : #457EF5;
width: 800px;
}
#banner h2 {
display : inline;
font-size : 20px;
font-family : Arial Rounded MT Bold, Arial;
height : 30px;
margin : 0px;
padding : 10px 10px 0px 0px;
color : #457EF5;
width: 800px;
}
#centercontent {
background : #FFFFFF;
border : 1px solid #FFFFFF;
line-height : 18px;
margin-left : 161px;
margin-right : 201px;
width: 472px;
}
#commentcontent {
background : #FFFFFF;
border : 1px solid #FFFFFF;
line-height : 18px;
}
#leftcontent {
background-color : #B3CAFB;
border : 1px solid #B3CAFB;
font-family : Arial, "Microsoft Sans Serif";
font-size : 11px;
left : 10px;
position : absolute;
top : 70px;
width : 159px;
}
#rightcontent {
background-color : #B3CAFB;
border : 0px solid #B3CAFB;
font-family : Arial, "Microsoft Sans Serif";
font-size : 11px;
position : absolute;
right : 160px;
top : 70px;
width : 197px;
}
#rightcontent p, #leftcontent p {
line-height : 16px;
margin-top : 10px;
}