BTbuses
07-06-2007, 05:25 AM
Hello
I have changed my website from tables to DIV statements, and whilst I believe I have everything working correctly now, there is only 1 issue that remains.
The main issue is this: I have the header, the navigation, the content.
All displays correctly between both IE & FF that i've tried in, but the content comes out of alignment once any text goes past the navigation height.
For an example, go to www.brisbanetransport.info.
Here is the css code if it is any help in seeing what I may have done wrong or left out!
body {
font: 10pt Arial;
background-color: #FFF;
color: #000;
margin: 0px 0px 0px 0px;
}
h1 {
font: 16pt Arial;
font-weight: bold;
}
h2 {
font: 12pt Arial;
font-weight: bold;
}
A:link {color: #000000}
A:visited {color: #000000}
A:active {color: #000000}
A:hover {color: #FF0000}
#header {
font: 16pt Arial;
background-color: #041943;
color: #FFF;
margin: 20px 0px 0px 0px;
padding-left: 15px;
}
#navigation {
float: left;
font: 10pt Arial;
background-color: #DADADA;
color: #000;
margin: 15px;
margin-left: 15px;
width: 190px;
padding: 5px;
}
#navigation A:link {color: #041943}
#navigation A:visited {color: #041943}
#navigation A:active {text-decoration: none; color: #041943}
#navigation A:hover {color: #FF0000}
#content {
background-color: #FFF;
color: #000;
margin-left: 225px;
margin-right: 5px;
font: 10pt Arial;
}
table {
font: 10pt Arial;
color:#000;
border-width: 1px;
border-spacing: 0px;
border-style: solid;
border-color: #CCC;
border-collapse: collapse;
background-color: transparent;
margin: 0;
}
table th {
border-width: 1px;
padding: 2px;
border-style: solid;
border-color: #CCC;
color: #FFF;
background-color: #041943;
-moz-border-radius: ;
}
table td {
border-width: 1px;
padding: 2px;
border-style: solid;
border-color: #CCC;
color: #000;
background-color: transparent;
-moz-border-radius: ;
}
Thankyou in advance!
I have changed my website from tables to DIV statements, and whilst I believe I have everything working correctly now, there is only 1 issue that remains.
The main issue is this: I have the header, the navigation, the content.
All displays correctly between both IE & FF that i've tried in, but the content comes out of alignment once any text goes past the navigation height.
For an example, go to www.brisbanetransport.info.
Here is the css code if it is any help in seeing what I may have done wrong or left out!
body {
font: 10pt Arial;
background-color: #FFF;
color: #000;
margin: 0px 0px 0px 0px;
}
h1 {
font: 16pt Arial;
font-weight: bold;
}
h2 {
font: 12pt Arial;
font-weight: bold;
}
A:link {color: #000000}
A:visited {color: #000000}
A:active {color: #000000}
A:hover {color: #FF0000}
#header {
font: 16pt Arial;
background-color: #041943;
color: #FFF;
margin: 20px 0px 0px 0px;
padding-left: 15px;
}
#navigation {
float: left;
font: 10pt Arial;
background-color: #DADADA;
color: #000;
margin: 15px;
margin-left: 15px;
width: 190px;
padding: 5px;
}
#navigation A:link {color: #041943}
#navigation A:visited {color: #041943}
#navigation A:active {text-decoration: none; color: #041943}
#navigation A:hover {color: #FF0000}
#content {
background-color: #FFF;
color: #000;
margin-left: 225px;
margin-right: 5px;
font: 10pt Arial;
}
table {
font: 10pt Arial;
color:#000;
border-width: 1px;
border-spacing: 0px;
border-style: solid;
border-color: #CCC;
border-collapse: collapse;
background-color: transparent;
margin: 0;
}
table th {
border-width: 1px;
padding: 2px;
border-style: solid;
border-color: #CCC;
color: #FFF;
background-color: #041943;
-moz-border-radius: ;
}
table td {
border-width: 1px;
padding: 2px;
border-style: solid;
border-color: #CCC;
color: #000;
background-color: transparent;
-moz-border-radius: ;
}
Thankyou in advance!