Syrehn
10-27-2009, 08:01 PM
I'm having some troubles with my css and a page I'm working on. In dreamweaver in code/design mode it shows the changes happening but when I upload to preview it doesn't change:
The border around the side_image isn't showing up and neither is the color for the body_text. here is the code and css. I have tried to avoid posting and have been trying to figure it out myself but i'm stuck. could anyone shed some light on this?
Page code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="stylesheets/walkerindustries.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="topback">
<div id="navbar">
<ul>
<li class="home"><a href="index.html">home</a></li>
<li class="about"><a href="about.html">about</a></li>
<li class="services"><a href="services.html">services</a></li>
<li class="showcase"><a href="showcase.html">showcase</a></li>
<li class="quote"><a href="quote.html">request a quote</a></li>
<li class="contact"><a href="contact.html">contact</a></li>
</ul>
</div>
<img src="images/walker_logo.png" width="286" height="85" align="absmiddle" class="logo" /><span class="logotext">providing a wide range of professional rensovation services</span>
</div>
<div id="body_content"><img src="images/side_image5.jpg" width="201" height="450" class="side_image"/>
<div id="body_text">Content for id "body_text" Goes Here</div>
</div>
</div>
</body>
</html>
here is the css code that i'm working with atm: (updated)
@charset "utf-8";
#wrapper {
width: 800px;
margin-right: auto;
margin-left: auto;
}
#wrapper #topback {
background-repeat: no-repeat;
background-color: #191205;
}
#wrapper #topback .logotext {
font-size: 12px;
color: #FC3;
text-align: center;
font-weight: bold;
display: block;
line-height: 90px;
font-variant: small-caps;
font-family: Arial, Helvetica, sans-serif;
padding-top: 3px;
padding-left: 3px;
}
body {
font-size: 100%;
margin: 0px;
padding: 0px;
background-color: #000;
}
.designer {
display: block;
float: left;
margin-top: 5px;
font-family: Verdana, Geneva, sans-serif;
font-size: xx-small;
color: #FFF;
}
#wrapper #topback img.logo {
float: left;
padding-top: 5px;
padding-left: 5px;
}
#wrapper #topback #navbar {
background-color: #09F;
background-repeat: repeat-y;
height: 46px;
display: block;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #B19A54;
border-right-color: #B19A54;
border-bottom-color: #B19A54;
border-left-color: #B19A54;
overflow: hidden;
background-position: right top;
color: 42340a;
}
#wrapper #topback #navbar ul li {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
background-repeat: repeat-x;
display: block;
margin: 0px;
padding: 0px;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 46px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
background-image: url(../images/navbar.jpg);
height: 46px;
font-weight: normal;
}
#wrapper #topback #navbar ul li.home {
width: 102px;
height: 46px;
}
#wrapper #topback #navbar ul .home a {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 102px;
text-decoration: none;
}
#wrapper #topback #navbar ul .home a:hover {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 102px;
text-decoration: none;
background-image: url(../images/navbar_overlay.jpg);
background-repeat: repeat-x;
}
#wrapper #topback #navbar ul li.about {
width: 101px;
}
#wrapper #topback #navbar ul .about a {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 101px;
text-decoration: none;
}
#wrapper #topback #navbar ul .about a:hover {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 101px;
text-decoration: none;
background-image: url(../images/navbar_overlay.jpg);
background-repeat: repeat-x;
}
#wrapper #topback #navbar ul li.quote {
width: 210px;
}
#wrapper #topback #navbar ul .quote a {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 210px;
text-decoration: none;
}
#wrapper #topback #navbar ul .quote a:hover {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 210px;
text-decoration: none;
background-image: url(../images/navbar_overlay.jpg);
background-repeat: repeat-x;
}
#wrapper #topback #navbar ul li.showcase {
width: 135px;
}
#wrapper #topback #navbar ul .showcase a {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 135px;
text-decoration: none;
}
#wrapper #topback #navbar ul .showcase a:hover {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 135px;
text-decoration: none;
background-image: url(../images/navbar_overlay.jpg);
background-repeat: repeat-x;
}
#wrapper #topback #navbar ul li.contact {
width: 125px;
}
#wrapper #topback #navbar ul .contact a {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 125px;
text-decoration: none;
}
#wrapper #topback #navbar ul .contact a:hover {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 125px;
text-decoration: none;
background-image: url(../images/navbar_overlay.jpg);
background-repeat: repeat-x;
}
#wrapper #topback #navbar ul li.services {
width: 120px;
}
#wrapper #topback #navbar ul .services a {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 120px;
text-decoration: none;
}
#wrapper #topback #navbar ul .services a:hover {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 120px;
text-decoration: none;
background-image: url(../images/navbar_overlay.jpg);
background-repeat: repeat-x;
}
#wrapper #topback #slideshow {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #C1B281;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #C1B281;
border-right-color: #C1B281;
border-left-color: #C1B281;
}
#wrapper #bottomback {
background-color: #CCC;
background-repeat: repeat;
width: 800px;
height: 500px;
}
#wrapper #bottomback #content {
display: block;
width: 390px;
float: left;
padding-right: 5px;
padding-left: 5px;
overflow: hidden;
color: #FFF;
}
#wrapper #bottomback #content .welcome_text {
font-size: 20px;
color: #C1B281;
}
#wrapper #bottomback #content img.welcome {
padding-top: 20px;
}
#wrapper #bottomback #content hr.content {
background-color: #956F45;
height: 1px;
color: #8E663C;
}
hr {
margin: 0px;
padding: 0px;
}
#wrapper #body_content {
}
#wrapper #bottomback #content2 {
float: right;
display: block;
width: 320px;
color: #FFF;
padding-left: 20px;
padding-top: 10px;
background-color: #9B784D;
margin-top: 40px;
margin-left: 40px;
padding-right: 20px;
padding-bottom: 10px;
margin-bottom: 40px;
}
#wrapper #bottomback #footer {
float: right;
background-color: #99F;
display: block;
width: 790px;
margin-right: 5px;
margin-left: 5px;
margin-top: 5px;
text-align: center;
background-image: url(../images/nav_back.jpg);
background-repeat: repeat-x;
color: #42340a;
font-size: 12px;
margin-bottom: 5px;
}
ol, ul, li {
list-style-type: none;
vertical-align: top;
margin: 0px;
padding: 0px;
}
.topheader {
font-family: Verdana, Geneva, sans-serif;
font-size: 16px;
color: #FC0;
text-align: left;
}
#wrapper #body_content {
border: thin none #CF0;
background-color: #CCC;
}
#wrapper #body_content #footer {
float: right;
background-color: #99F;
display: block;
width: 790px;
margin-right: 5px;
margin-left: 5px;
margin-top: 5px;
text-align: center;
background-image: url(../images/nav_back.jpg);
background-repeat: repeat-x;
color: #42340a;
font-size: 12px;
margin-bottom: 5px;
}
#wrapper #body_content #body_text {
color: #CCC;
background-color: #6CC;
float: left;
display: block;
padding-left: 30px;
width: 567px;
}
#wrapper #body_content img.side_image {
border: 1px solid #0CF;
float: left;
}
The border around the side_image isn't showing up and neither is the color for the body_text. here is the code and css. I have tried to avoid posting and have been trying to figure it out myself but i'm stuck. could anyone shed some light on this?
Page code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="stylesheets/walkerindustries.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="topback">
<div id="navbar">
<ul>
<li class="home"><a href="index.html">home</a></li>
<li class="about"><a href="about.html">about</a></li>
<li class="services"><a href="services.html">services</a></li>
<li class="showcase"><a href="showcase.html">showcase</a></li>
<li class="quote"><a href="quote.html">request a quote</a></li>
<li class="contact"><a href="contact.html">contact</a></li>
</ul>
</div>
<img src="images/walker_logo.png" width="286" height="85" align="absmiddle" class="logo" /><span class="logotext">providing a wide range of professional rensovation services</span>
</div>
<div id="body_content"><img src="images/side_image5.jpg" width="201" height="450" class="side_image"/>
<div id="body_text">Content for id "body_text" Goes Here</div>
</div>
</div>
</body>
</html>
here is the css code that i'm working with atm: (updated)
@charset "utf-8";
#wrapper {
width: 800px;
margin-right: auto;
margin-left: auto;
}
#wrapper #topback {
background-repeat: no-repeat;
background-color: #191205;
}
#wrapper #topback .logotext {
font-size: 12px;
color: #FC3;
text-align: center;
font-weight: bold;
display: block;
line-height: 90px;
font-variant: small-caps;
font-family: Arial, Helvetica, sans-serif;
padding-top: 3px;
padding-left: 3px;
}
body {
font-size: 100%;
margin: 0px;
padding: 0px;
background-color: #000;
}
.designer {
display: block;
float: left;
margin-top: 5px;
font-family: Verdana, Geneva, sans-serif;
font-size: xx-small;
color: #FFF;
}
#wrapper #topback img.logo {
float: left;
padding-top: 5px;
padding-left: 5px;
}
#wrapper #topback #navbar {
background-color: #09F;
background-repeat: repeat-y;
height: 46px;
display: block;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #B19A54;
border-right-color: #B19A54;
border-bottom-color: #B19A54;
border-left-color: #B19A54;
overflow: hidden;
background-position: right top;
color: 42340a;
}
#wrapper #topback #navbar ul li {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
background-repeat: repeat-x;
display: block;
margin: 0px;
padding: 0px;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 46px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
background-image: url(../images/navbar.jpg);
height: 46px;
font-weight: normal;
}
#wrapper #topback #navbar ul li.home {
width: 102px;
height: 46px;
}
#wrapper #topback #navbar ul .home a {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 102px;
text-decoration: none;
}
#wrapper #topback #navbar ul .home a:hover {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 102px;
text-decoration: none;
background-image: url(../images/navbar_overlay.jpg);
background-repeat: repeat-x;
}
#wrapper #topback #navbar ul li.about {
width: 101px;
}
#wrapper #topback #navbar ul .about a {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 101px;
text-decoration: none;
}
#wrapper #topback #navbar ul .about a:hover {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 101px;
text-decoration: none;
background-image: url(../images/navbar_overlay.jpg);
background-repeat: repeat-x;
}
#wrapper #topback #navbar ul li.quote {
width: 210px;
}
#wrapper #topback #navbar ul .quote a {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 210px;
text-decoration: none;
}
#wrapper #topback #navbar ul .quote a:hover {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 210px;
text-decoration: none;
background-image: url(../images/navbar_overlay.jpg);
background-repeat: repeat-x;
}
#wrapper #topback #navbar ul li.showcase {
width: 135px;
}
#wrapper #topback #navbar ul .showcase a {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 135px;
text-decoration: none;
}
#wrapper #topback #navbar ul .showcase a:hover {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 135px;
text-decoration: none;
background-image: url(../images/navbar_overlay.jpg);
background-repeat: repeat-x;
}
#wrapper #topback #navbar ul li.contact {
width: 125px;
}
#wrapper #topback #navbar ul .contact a {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 125px;
text-decoration: none;
}
#wrapper #topback #navbar ul .contact a:hover {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 125px;
text-decoration: none;
background-image: url(../images/navbar_overlay.jpg);
background-repeat: repeat-x;
}
#wrapper #topback #navbar ul li.services {
width: 120px;
}
#wrapper #topback #navbar ul .services a {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 120px;
text-decoration: none;
}
#wrapper #topback #navbar ul .services a:hover {
border-right-width: 1px;
border-right-style: solid;
border-right-color: #B19A54;
display: block;
float: left;
list-style-type: none;
text-align: center;
font-variant: small-caps;
line-height: 47px;
font-family: "Myriad Pro";
font-size: 24px;
color: #42340a;
height: 46px;
font-weight: normal;
width: 120px;
text-decoration: none;
background-image: url(../images/navbar_overlay.jpg);
background-repeat: repeat-x;
}
#wrapper #topback #slideshow {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #C1B281;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #C1B281;
border-right-color: #C1B281;
border-left-color: #C1B281;
}
#wrapper #bottomback {
background-color: #CCC;
background-repeat: repeat;
width: 800px;
height: 500px;
}
#wrapper #bottomback #content {
display: block;
width: 390px;
float: left;
padding-right: 5px;
padding-left: 5px;
overflow: hidden;
color: #FFF;
}
#wrapper #bottomback #content .welcome_text {
font-size: 20px;
color: #C1B281;
}
#wrapper #bottomback #content img.welcome {
padding-top: 20px;
}
#wrapper #bottomback #content hr.content {
background-color: #956F45;
height: 1px;
color: #8E663C;
}
hr {
margin: 0px;
padding: 0px;
}
#wrapper #body_content {
}
#wrapper #bottomback #content2 {
float: right;
display: block;
width: 320px;
color: #FFF;
padding-left: 20px;
padding-top: 10px;
background-color: #9B784D;
margin-top: 40px;
margin-left: 40px;
padding-right: 20px;
padding-bottom: 10px;
margin-bottom: 40px;
}
#wrapper #bottomback #footer {
float: right;
background-color: #99F;
display: block;
width: 790px;
margin-right: 5px;
margin-left: 5px;
margin-top: 5px;
text-align: center;
background-image: url(../images/nav_back.jpg);
background-repeat: repeat-x;
color: #42340a;
font-size: 12px;
margin-bottom: 5px;
}
ol, ul, li {
list-style-type: none;
vertical-align: top;
margin: 0px;
padding: 0px;
}
.topheader {
font-family: Verdana, Geneva, sans-serif;
font-size: 16px;
color: #FC0;
text-align: left;
}
#wrapper #body_content {
border: thin none #CF0;
background-color: #CCC;
}
#wrapper #body_content #footer {
float: right;
background-color: #99F;
display: block;
width: 790px;
margin-right: 5px;
margin-left: 5px;
margin-top: 5px;
text-align: center;
background-image: url(../images/nav_back.jpg);
background-repeat: repeat-x;
color: #42340a;
font-size: 12px;
margin-bottom: 5px;
}
#wrapper #body_content #body_text {
color: #CCC;
background-color: #6CC;
float: left;
display: block;
padding-left: 30px;
width: 567px;
}
#wrapper #body_content img.side_image {
border: 1px solid #0CF;
float: left;
}