This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Webedit HTML Editor > December 2006 > CSS problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| John Gawe 2006-12-06, 8:13 pm |
| H folks,
I want to do a sheet with alternate colored lines.
IE, first line red, second line green and so on.
But:
..grn {
border-style: solid;
border-widht: 2px;
border-color: red;
}
..rot {
border-style: dotted;
border-widht: 2px;
border-color: red;
}
wouldn´t work with:
<p class="grn">Line 1</p>
<p class="rot">Line 2</p>
<p class="grn">Line 3</p>
<p class="rot">Line 4</p>
So what´s wrong?
Thanks in advance
John
| |
| Adrienne Boswell 2006-12-06, 8:13 pm |
| Gazing into my crystal ball I observed "John Gawe" <wegasoft@gmx.de>
writing in news:ejui7j$8ve$1@daniel-new.mch.sbs.de:
> H folks,
>
> I want to do a sheet with alternate colored lines.
> IE, first line red, second line green and so on.
>
> But:
> .grn {
> border-style: solid;
> border-widht: 2px;
^^^^^^^^^^^^widTH
May be the problem, validating the CSS would have caught this error.
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
| |
| John Gawe 2006-12-06, 8:13 pm |
|
"Adrienne Boswell" <arbpen@yahoo.com> schrieb
> Gazing into my crystal ball I observed "John Gawe" <wegasoft@gmx.de>
> wrote
>
> ^^^^^^^^^^^^widTH
>
> May be the problem, validating the CSS would have caught this error.
You´ve right!
Thanks
John
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|