Figured out something maybe.  Using spans:

http://www.stkelectronics.com.vhost.zerolag.com/site/polypropylene- 
span.php

seems to work and validate but for some reasons on IE6 on some  
computers the text "blinks" when rolling over the div.  But on other  
computers with the same version of IE6 it is fine...  Could be  
because of display: block on span maybe???

Thanks
-christopher


On Sep 16, 2008, at 11:48 AM, Christopher Kip wrote:

> Hi Bill,
>
>> Just out of curiosity, why are you using <div>'s here instead
>> ordinary lists <ul><li></li></ul>? Is there a specific reason that
>> I'm missing?
>> HTH's ...
>> Bill.
>
> On the first attempt that is what I did:  http://
> www.stkelectronics.com.vhost.zerolag.com/site/polypropylene-old.php
>
> Didn't work in Firefox and wouldn't validate.  Its the <a> tag I
> believe causing the ruckus as you mention.  Problem is I need that
> whole region with the individual products in it to be a link.
>
>
>
> On Sep 16, 2008, at 11:21 AM, whaggerty wrote:
>
>> Good Tuesday morning Christopher ...
>> On the 16th of September you wrote ------------------------------
>> ----- Original Message ----- From: "Christopher Kip"
>> <[EMAIL PROTECTED]>
>> To: <css-d@lists.css-discuss.org>
>> Sent: Tuesday, September 16, 2008 8:11 AM
>> Subject: [css-d] Lists, Div Rollovers and Validation
>>
>>
>>> I have been working on some alternative approaches to a list but  
>>> have
>>> been unable to get anything working that seems to validate.  Always
>>> get the following error:
>>>
>>>
>>> Line 112, Column 19: document type does not allow element "ul" here;
>>> missing one of "object", "applet", "map", "iframe", "button", "ins",
>>> "del" start-tag.
>>>                 <ul>
>>> The mentioned element is not allowed to appear in the context in
>>> which you've placed it; the other mentioned elements are the only
>>> ones that are both allowed there and can contain the element
>>> mentioned. This might mean that you need a containing element, or
>>> possibly that you've forgotten to close a previous element.
>>>
>>> One possible cause for this message is that you have attempted to  
>>> put
>>> a block-level element (such as "<p>" or "<table>") inside an inline
>>> element (such as "<a>", "<span>", or "<font>").
>>>
>>> Don't seem to be able to put anything inside the <a>
>>>
>>> I have tried a number of approaches (none of which validate):
>>>
>>> http://www.stkelectronics.com.vhost.zerolag.com/site/polypropylene-
>>> new.php
>>>
>>> http://www.stkelectronics.com.vhost.zerolag.com/site/
>>> polypropylene.php
>>>
>>> and the first approach which didn't work with Firefox but did with
>>> Safari and IE:  http://www.stkelectronics.com.vhost.zerolag.com/ 
>>> site/
>>> polypropylene-old.php
>>>
>>>
>>>
>>> Anyone have any thoughts...
>>>
>>>
>>>
>>> Thanks!
>>>
>>> -Christopher
>> ---------------------------------------- and I answered
>> --------------------------
>>
>> The "div" tag is contained in an "a" tag (which was opened in line
>> 111). This may be acceptable for some browsers (such as Internet
>> Explorer and Netscape), but HTML 4.01 and XHTML do not allow this.
>> It may also cause problems or unexpected page rendering for more
>> compliant browsers such as Firefox, Mozilla, and Opera. Possible
>> solutions: 1. Close the "a" tag before using the "div" tag.
>> Depending on the correct usage of the closed tag, you may be able
>> to reopen it after using the "div" tag; 2. Eliminate the "div" tag;
>> or 3. Reorder the "div" and "a" tags. This is true for all
>> instances (lines 112 through 116)
>> The same is also true for the <p> tags (lines 121 through 125) that
>> are contained in an <a> tag opened in line 120 and again from lines
>> 129 through line 154 .........
>> Just out of curiosity, why are you using <div>'s here instead
>> ordinary lists <ul><li></li></ul>? Is there a specific reason that
>> I'm missing?
>> HTH's ...
>> Bill.
>>
>>
>>
>
> ______________________________________________________________________
> 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/
>

______________________________________________________________________
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/

Reply via email to