ribbonsofsmoke
01-30-2007, 08:20 PM
Hello everyone,
This is my first post here. Oh, if only I had found codingforums.com a long time ago... :p
I apologize in advance for my naivety on Internet Explorer-specific CSS coding, as well as CSS in general. I just started using CSS a few months ago, and I'm definitely still amateur.
I am making a site for a photographer [located here] (http://ribbonsofsmoke.org/davidrobertelliott/new/), and everything looks great (http://apocalyptotuesday.com/uploads/images/screenshots/dre.jpg) in Firefox and Safari, but apparently it looks like crap in IE (http://apocalyptotuesday.com/uploads/images/screenshots/badie.png).
Here is my CSS file, which I know is pretty bad. I would greatly, greatly appreciate any help you could give me!
body {
color: #7a848f;
font: 9px/18px "lucida grande", tahoma, arial, sans-serif;
letter-spacing: 1px;
position: absolute;
left: 20px;
}
* {
margin: 0;
padding: 0;
}
#container {
position: absolute;
overflow: auto;
width: 500px;
height: 450px;
top: 44px;
left: 289px;
border: thin solid #5c6369;
padding: 30px 27px 27px;
text-align: justify;
display: inline;
float: right;
}
#contactcontainer {
position: absolute;
overflow: auto;
width: 500px;
height: 450px;
top: 44px;
left: 289px;
background: url(../images/contact.gif) no-repeat fixed 289px 52px;
border: thin solid #5c6369;
text-align: center;
padding: 30px 27px 27px;
display: inline;
float: right;
}
#contactcontainer a:link {
background-color: #536369;
color: #ffffff;
padding: 10px;
text-transform: uppercase;
font: 14px "Lucida Grande", Helvetica, Arial, Sans-serif;
letter-spacing: 1px;
text-decoration: none;
}
#contactcontainer a:hover {
background-color: #97A4B0;
color: #ffffff;
padding: 10px;
text-transform: uppercase;
font: 14px "Lucida Grande", Helvetica, Arial, Sans-serif;
letter-spacing: 1px;
text-decoration: none;
}
#contactcontainer a:active {
background-color: #536369;
color: #ffffff;
padding: 10px;
text-transform: uppercase;
font: 14px "Lucida Grande", Helvetica, Arial, Sans-serif;
letter-spacing: 1px;
text-decoration: none;
}
#contactcontainer a:visited {
background-color: #536369;
color: #ffffff;
padding: 10px;
text-transform: uppercase;
font: 14px "Lucida Grande", Helvetica, Arial, Sans-serif;
letter-spacing: 1px;
text-decoration: none;
}
#photoscontainer {
position: absolute;
overflow: none;
width: 554px;
height: 507px;
top: 44px;
left: 289px;
border-top: thin solid #5c6369;
border-right: thin solid #5c6369;
border-bottom: thin solid #5c6369;
text-align: center;
float: right;
display: inline;
}
.dateheader {
background-color: #536369;
color: #ffffff;
font-size: 11px;
text-align: center;
padding-top: 4px;
padding-bottom: 4px;
}
.footer {
background-color: #536369;
color: #ffffff;
font-size: 9px;
text-align: right;
padding-top: 4px;
padding-bottom: 4px;
text-transform: uppercase;
direction: ltr;
}
#newscontainer {
position: absolute;
overflow: auto;
width: 500px;
height: 450px;
top: 44px;
left: 289px;
border: thin solid #5c6369;
background: url(../images/oldnews.gif) no-repeat fixed 289px 52px;
padding: 30px 27px 27px;
text-align: justify;
display: inline;
}
#newscontainer a:link {
text-decoration: none;
border-bottom: thin dotted #97A4B0;
color: #97A4B0;
padding: 2px;
}
#newscontainer a:hover {
padding: 2px;
color: #ffffff;
background-color: #536369;
border-top-style: none;
}
#newscontainer a:active {
text-decoration: none;
border-bottom: none;
color: #97A4B0;
padding: 2px;
}
#newscontainer a:visited {
text-decoration: none;
border-bottom: thin dotted #97A4B0;
color: #97A4B0;
padding: 2px;
}
#slideshowholder {
top: 106px;
border-top: thin solid #5C6369;
border-bottom: thin solid #5C6369;
border-left: thin solid #5C6369;
position: absolute;
width: 288px;
height: 445px;
}
#copyright {
top: 106px;
border-top: thin solid #5C6369;
border-bottom: thin solid #5C6369;
border-left: thin solid #5C6369;
position: absolute;
width: 288px;
height: 445px;
background: url(../images/copyright.gif) no-repeat;
}
#siteby {
position: absolute;
top: 560px;
left: 716px;
background-image: url(../images/siteby.gif);
width: 133px;
height: 12px;
}
#leftline {
position: absolute;
left: 0;
top: 44px;
width: 2px;
height: 62px;
border-left: thin solid #536369;
}
This is my first post here. Oh, if only I had found codingforums.com a long time ago... :p
I apologize in advance for my naivety on Internet Explorer-specific CSS coding, as well as CSS in general. I just started using CSS a few months ago, and I'm definitely still amateur.
I am making a site for a photographer [located here] (http://ribbonsofsmoke.org/davidrobertelliott/new/), and everything looks great (http://apocalyptotuesday.com/uploads/images/screenshots/dre.jpg) in Firefox and Safari, but apparently it looks like crap in IE (http://apocalyptotuesday.com/uploads/images/screenshots/badie.png).
Here is my CSS file, which I know is pretty bad. I would greatly, greatly appreciate any help you could give me!
body {
color: #7a848f;
font: 9px/18px "lucida grande", tahoma, arial, sans-serif;
letter-spacing: 1px;
position: absolute;
left: 20px;
}
* {
margin: 0;
padding: 0;
}
#container {
position: absolute;
overflow: auto;
width: 500px;
height: 450px;
top: 44px;
left: 289px;
border: thin solid #5c6369;
padding: 30px 27px 27px;
text-align: justify;
display: inline;
float: right;
}
#contactcontainer {
position: absolute;
overflow: auto;
width: 500px;
height: 450px;
top: 44px;
left: 289px;
background: url(../images/contact.gif) no-repeat fixed 289px 52px;
border: thin solid #5c6369;
text-align: center;
padding: 30px 27px 27px;
display: inline;
float: right;
}
#contactcontainer a:link {
background-color: #536369;
color: #ffffff;
padding: 10px;
text-transform: uppercase;
font: 14px "Lucida Grande", Helvetica, Arial, Sans-serif;
letter-spacing: 1px;
text-decoration: none;
}
#contactcontainer a:hover {
background-color: #97A4B0;
color: #ffffff;
padding: 10px;
text-transform: uppercase;
font: 14px "Lucida Grande", Helvetica, Arial, Sans-serif;
letter-spacing: 1px;
text-decoration: none;
}
#contactcontainer a:active {
background-color: #536369;
color: #ffffff;
padding: 10px;
text-transform: uppercase;
font: 14px "Lucida Grande", Helvetica, Arial, Sans-serif;
letter-spacing: 1px;
text-decoration: none;
}
#contactcontainer a:visited {
background-color: #536369;
color: #ffffff;
padding: 10px;
text-transform: uppercase;
font: 14px "Lucida Grande", Helvetica, Arial, Sans-serif;
letter-spacing: 1px;
text-decoration: none;
}
#photoscontainer {
position: absolute;
overflow: none;
width: 554px;
height: 507px;
top: 44px;
left: 289px;
border-top: thin solid #5c6369;
border-right: thin solid #5c6369;
border-bottom: thin solid #5c6369;
text-align: center;
float: right;
display: inline;
}
.dateheader {
background-color: #536369;
color: #ffffff;
font-size: 11px;
text-align: center;
padding-top: 4px;
padding-bottom: 4px;
}
.footer {
background-color: #536369;
color: #ffffff;
font-size: 9px;
text-align: right;
padding-top: 4px;
padding-bottom: 4px;
text-transform: uppercase;
direction: ltr;
}
#newscontainer {
position: absolute;
overflow: auto;
width: 500px;
height: 450px;
top: 44px;
left: 289px;
border: thin solid #5c6369;
background: url(../images/oldnews.gif) no-repeat fixed 289px 52px;
padding: 30px 27px 27px;
text-align: justify;
display: inline;
}
#newscontainer a:link {
text-decoration: none;
border-bottom: thin dotted #97A4B0;
color: #97A4B0;
padding: 2px;
}
#newscontainer a:hover {
padding: 2px;
color: #ffffff;
background-color: #536369;
border-top-style: none;
}
#newscontainer a:active {
text-decoration: none;
border-bottom: none;
color: #97A4B0;
padding: 2px;
}
#newscontainer a:visited {
text-decoration: none;
border-bottom: thin dotted #97A4B0;
color: #97A4B0;
padding: 2px;
}
#slideshowholder {
top: 106px;
border-top: thin solid #5C6369;
border-bottom: thin solid #5C6369;
border-left: thin solid #5C6369;
position: absolute;
width: 288px;
height: 445px;
}
#copyright {
top: 106px;
border-top: thin solid #5C6369;
border-bottom: thin solid #5C6369;
border-left: thin solid #5C6369;
position: absolute;
width: 288px;
height: 445px;
background: url(../images/copyright.gif) no-repeat;
}
#siteby {
position: absolute;
top: 560px;
left: 716px;
background-image: url(../images/siteby.gif);
width: 133px;
height: 12px;
}
#leftline {
position: absolute;
left: 0;
top: 44px;
width: 2px;
height: 62px;
border-left: thin solid #536369;
}