Validation Error

M

MG

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
 
J

Jonathan N. Little

MG said:
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!)

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

margin: 0 0 0 1.5em;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top