Ok, First time into CSS (and real web design) and I am having the biggest problem known to man! :( .
I made the site and then converted to CSS! The only problem is i am having some problems. I wanted to make it fairly simple for my first ever site. However in firefox every thing is on the right (the body of text and the navigation links). In safari it works fine bar a few positioning issues.
Can u figure out what i am doing wrong? Also does anyone have any useful tips on css in case i make bad code or mistakes
:ermm:
Code:body {
background-color: #FFFFFF;
padding: 0px;
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 0px;
}
h1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 1.4em;
color: #330033;
border-bottom-width: thin;
border-bottom-style: solid;
border-bottom-color: #000099;
}
h2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 0px;
padding: 0px;
border-bottom-style: solid;
border-bottom-color: #000066;
border-bottom-width: thin;
font-size: 1.2em;
color: #330033;
}
text {
padding: 0px;
float: right;
position: absolute;
display: block;
top: 1.5em;
bottom: 0px;
left: 12em;
right: 0px;
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 0em;
}
div#sidebar {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: small;
display: block;
float: left;
padding: 0px;
border-top-width: thin;
border-right-width: thin;
border-top-style: none;
border-right-style: none;
border-top-color: #000099;
border-right-color: #000099;
border-bottom-color: #000099;
border-left-color: #000099;
border-left-style: none;
border-left-width: thin;
border-bottom-style: none;
position: absolute;
top: 2.5em;
margin: 0em;
left: 0px;
}