Re: CSS Validation Problems

by "Matthew Ohlman" <matthew(at)ohlman.com>

 Date:  Wed, 4 Sep 2002 21:19:01 -0500
 To:  "Tim Rivera" <timrivera23(at)hotmail.com>,
"HWG Basics" <HWG-Basics(at)hwg.org>,
"Brian V Bonini" <b-bonini(at)cox.net>
 References:  MATTHEWLAPTOP hotmail
  todo: View Thread, Original
Hi all. Thanks for your response.

> You have omitted a semicolon between declarations (as in the example
below.)
> When you have more than one declaration for a selector, each declaration
> must be separated by a semicolon. A semicolon is not needed after the last
> declaration.


My problem is that when I put a semi-colon, my page appears messed up. If
you would like to take a look at my source, it is the following address:
http://www.ohlman.com/new/css.css

>>I know what the problem is, I need a semi-colon, but when I put one in, or
>>take the whole thing out, my page goes wacko. If anyone has any ways to
get
>>around this I will be really graetful.

The part I am having problem looks like this:

Body {
  margin: 0px;
  margin: 0px;
  padding: 0px     <<=====MESSED UP PART
  text-align: center;
  background: #C4BB8D;
  color: #000000;
}

And the page is, http://www.ohlman.com/new/index.html

Thanks!! Matthew
--
Matthew Ohlman
http://www.ohlman.com/
Professional, Affordable web pages
Reply to: matthew(at)ohlman.com
Business: ohlman(at)ohlman.com
"There's a difference between Philosophy and a bumper sticker"
  Charles Schultz



----- Original Message -----
From: "Tim Rivera" <timrivera23(at)hotmail.com>
To: "Matthew Ohlman" <matthew(at)ohlman.com>; "HWG Basics" <HWG-Basics(at)hwg.org>
Sent: Wednesday, September 04, 2002 7:42 PM
Subject: Re: CSS Validation Problems


> > a.. Line: 9 Context : Body
> > Invalid number : paddingattempt to find a semi-colon before the property
> > name. add it
>
>
> You have omitted a semicolon between declarations (as in the example
below.)
> When you have more than one declaration for a selector, each declaration
> must be separated by a semicolon. A semicolon is not needed after the last
> declaration.
>
>
> Example of a missing semicolon after "font-weight: bold":
>
> a {
>     text-decoration: none;
>     font-weight: bold
>     padding: 3px
>     }
>
>
> Tim

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA