HighDots Forums  

CSS problem

alt.html.webedit alt.html.webedit


Discuss CSS problem in the alt.html.webedit forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John Gawe
 
Posts: n/a

Default CSS problem - 11-21-2006 , 03:51 AM






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



Reply With Quote
  #2  
Old   
Adrienne Boswell
 
Posts: n/a

Default Re: CSS problem - 11-24-2006 , 05:40 PM






Gazing into my crystal ball I observed "John Gawe" <wegasoft (AT) gmx (DOT) de>
writing in news:ejui7j$8ve$1 (AT) daniel-new (DOT) mch.sbs.de:

Quote:
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



Reply With Quote
  #3  
Old   
John Gawe
 
Posts: n/a

Default Re: CSS problem - 12-04-2006 , 12:52 AM




"Adrienne Boswell" <arbpen (AT) yahoo (DOT) com> schrieb
Quote:
Gazing into my crystal ball I observed "John Gawe" <wegasoft (AT) gmx (DOT) de
wrote

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.
You´ve right!

Thanks
John




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.