CSS/Dreamweaver help
Date: 01/18/08
(WebDesign) Keywords: browser, css, html, web
Hey everyone, this is my first post here. I'm redesigning my website, or I guess just trying to "upgrade" it. I'm going from all HTML to CSS/HTML, and I've run into a problem.
For some reason my external stylesheet isn't working. At least, it's not changing anything in the design view mode in dreamweaver. This is all i have on my style sheet so far. the sheet is named style.css:
/* CSS Document */
body,td,th {
font-size: 12px;
color: #999999;
}
body {
background-color: #faf4da;
background-image: url(newbackgrounds.jpg);
background-repeat: repeat-y;
background-position:center;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
So, it should show the bg color as well as the background image, right? this is what the code looks like in html:
<*head>
<*meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<*meta http-equiv="Content-Style-Type" content="text/css" />
<*meta name="Keywords" content="Vivien Leigh, Laurence Olivier, GWTW, Gone with the Wind, Pretty, A Streetcar Named Desire, Hamlet, Wuthering Heights, Waterloo Bridge, Classic Film, Photography, Vogue" />
<*meta name="Author" content="Kendra" />
<*meta name="Copyright" content="©2007 by Kendra. All rights reserved." />
<*link rel="stylesheet" href="http://www.vivandlarry.com/css/style.css" type="text/css" /*> (this isn't actually bold, I just made it that way to point out where i linked the style sheet for the purpose of getting help on this question)
<*title>Viv and Larry {dot} com | a Vivien Leigh and Laurence Olivier Tribute | v2.0 | Anything Goes
Am I doing something wrong? I've been looking at other site's page sources, and it appears the same as what i posted above, so I'm confused as to why nothing is showing up on my site, even when i preview it in a browser, it's just a blank page.
any help would be appreciated. thanks!
Source: http://community.livejournal.com/webdesign/1354636.html