On 25/03/2011 7:35 AM, Gates, Jeff wrote:
On 3/24/11 2:18 PM, "Alan Gresley"<[email protected]> wrote:
On 25/03/2011 4:00 AM, Alan Gresley wrote:
<http://css-class.com/test/css/parsing/invalid-blocks.htm>
I will try this again but this time with the link to the new test.
<http://css-class.com/test/css/parsing/invalid-blocks2.htm>
IE8 and IE9 see this.
p [background: blue}
.test1 {background: green}
.test2 {background: green}
And all other browsers see this,
p [background: blue}]
.test1 {background: green}
.test2 {background: green}
by repairing the string [....]. None of this explain why the first<p>
with .test1 is also dropped.
-------------------------------------------------------------------------------------------------------
Alan, let me see if I am understanding you. Basically, you're saying there is a
[ when there should be a { in my CSS and that could foul things up with IE. Is
that correct?
Also, you're saying that the html needs to validate. Are those the two things
you're saying?
Thanks for looking at this.
Best, Jeff
Yes, see my initial reply.
----------------
To fix the problem find this CSS just under where you have /* --
Headings -- */,
#view .item-meta h3 a [font: normal 1em palatino, "times new roman",
serif; text-indent:0;}
and replace it with this.
#view .item-meta h3 a {font: normal 1em palatino, "times new roman",
serif; text-indent:0;}
If you missed it, what I have done is changed this part 'a [font:' to
this 'a {font:'. All blocks must have matching pairs like so, {.....}.
--
Alan http://css-class.com/
Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/