Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / February 2007



Tip: Looking for answers? Try searching our database.

Validation Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MG - 26 Feb 2007 19:06 GMT
On this page
www.samurdermysteries.co.za

I have the following code:
<h3 style="margin:1em,0,1em,0.5em;">What makes South African Murder
Mysteries different:</h3>
<ul class="IndexList">
 ....(snip)
 <li>Fully facilitated.</li>
</ul>

The relevant part of the stylesheet is as follows:
.IndexList {margin:0,0,0,1.5em;}
.IndexList li {margin:0,0,1em,0;}

Jigsaw gives an error message like this:
Invalid number: margin, is an incorrect operator: 0,0,0,1.5em

I don't understand the error message, so can't fix it.

(code does not work in Firefox or IE7, but does work as I want it to in
IE5.5!)

Could someone please explain to me what the error is.

Thanks
MG
Jonathan N. Little - 26 Feb 2007 19:32 GMT
> On this page
> www.samurdermysteries.co.za
[quoted text clipped - 18 lines]
> (code does not work in Firefox or IE7, but does work as I want it to in
> IE5.5!)

Because Firefox and IE7 are correctly ignoring the invalid rule, no
commas for each value:

margin: 0 0 0 1.5em;

Signature

Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

MG - 26 Feb 2007 22:05 GMT
>> On this page
>> www.samurdermysteries.co.za
[quoted text clipped - 23 lines]
>
> margin: 0 0 0 1.5em;

Thanks Jonathan

MG
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.