On 25/03/2011 2:47 AM, Gates, Jeff wrote:
I'm having a problem with a web page's display in IE 8.
Here's a quick link I set up to show you how the page looks in IE8
and how it should look: http://americanart.si.edu/test2
I don't know where to begin with this one.
You can see the real page at
http://africanamericanart.si.edu/timeline
Any help or pointers you could give will be appreciated. Thanks.
Jeff
Hello Jeff,
Firstly it is wise to have valid HTML. Currency your HTML is invalid.
The problem you see in both IE8 and IE9 is due to having invalid CSS but
at this point I don't know if IE8 and IE9 are doing the correct thing or
wrong thing. This is a test case that shows how IE8 and IE9 handles this
invalid CSS.
<http://css-class.com/test/css/parsing/invalid-blocks.htm>
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/