Help - Search - Members - Calendar
Full Version: not recognizing css
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
minidiapolis
what's wrong with there code? ? ? ? I can't figure it out.
body {
background-color : #BED1E1; /*color is ocean blow */
margin : 0;
}
.menuBar {
width: 10%;
float : right;
background-color : #0191C8; /*color is light blue */
border : 1px #000000 thin;
padding : 2%;
list-style-type : none;
}
#mainContent {
margin-right : 30%;
}
ILG President
The css looks correct however make sure you are using # for class and . for id.

Also how are you linking your style page to your website?

make sure if its in your head your using

<style type="text/css">
</style>

or

<link rel="stylesheet" type="text/css" href="whateverthefilenameis.css" />
pandy
QUOTE(minidiapolis @ Apr 20 2009, 10:03 PM) *

what's wrong with there code? ? ? ? I can't figure it out.

Neither can I without seeing the HTML and knowing what you think goes wrong. PLEASE post the URl to a samle page!
minidiapolis
I had a . where I needed a #
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.