- From: Brian Kavanaugh <bkavanaugh@usa.net>
- Date: 8 Apr 2001 11:43:54 CDT
- To: www-style@w3.org
"Timothy J. Luoma" <tjlists@bigfoot.com> wrote:
>
> I am brand new to CSS and cannot find the answer to this question
elsewhere.
>
> Is this formatting valid?
>
> (It is used in an external CSS file)
>
>
> body {
> background-color: #87CEFA ;
> background-image: none ;
> background: #87CEFA ;
> margin-left: 1cm ;
> margin-right: 1cm ;
> }
>
>
> I find it much easier to read/edit/debug when written in this fashion (i.e.
> everything tab aligned).
>
> Thanks!
>
> TjL
If you are referring to the white space, that's not a problem. These two are
duplicates, so you don't need both:
background-color: #87CEFA ;
background: #87CEFA ;
Also, this one isn't necessary, either:
background-image: none ;
You would probably be better off using another unit of measurement for these:
margin-left: 1cm ;
margin-right: 1cm ;
Here's a couple of websites you may find useful:
http://www.webreview2.com/style/
http://richinstyle.com/
Regards,
--
Brian Kavanaugh
Lotus/Domino R5 CLP, Development
Multi-Option Systems, Inc.
11920 Burt Street, Suite 100
Omaha, NE 68154-1598
(402) 431-8000 / (800) 551-MOSI
bkavanaugh@mosi.com (work)
bkavanaugh@usa.net (home)
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
Received on Sunday, 8 April 2001 12:43:56 UTC