Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   Re: trouble including css into the html (http://www.velocityreviews.com/forums/t722665-re-trouble-including-css-into-the-html.html)

Adrienne Boswell 05-10-2010 01:52 PM

Re: trouble including css into the html
 
Gazing into my crystal ball I observed "Jeff"
<it_consultant1@hotmail.com.NOSPAM> writing in
news:R_ydnSn8Sp0omXXWnZ2dnUVZ87-dnZ2d@telenor.com:

> hi
>
> Below you see the html and css of my site. The problem is that I don't
> see any effect of the css on the layout of the page. hence the css has
> no effect. I'm not sure what causes this., you got any suggestions?
>
> the html and css validates
>
>
> html:
> <div id="content">
> content
> </div>


> css:
> .content
> {
> width:800px;
> margin-left:auto;
> margin-right:auto;
> background-color:#ccddee;
> }
>


You have content defined as a class, and you are using id in the markup.
But you knew that, didn't you?

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share



All times are GMT. The time now is 07:03 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57