Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-10-2009, 11:30 PM   PM User | #1
zornfett
New to the CF scene

 
Join Date: Nov 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
zornfett is an unknown quantity at this point
UL nav w/nested UL - possible IE6 peek-a-boo

Hi, y'all - I have a vertical, list-based nav that displays well everywhere but IE6:

http://zornfett.com/client/smedley/wtf.html (CSS is mostly in-page for our purposes)

Can you see [in IE6] what I'm talking about (graded JPG background is obscured until hover)? Is this some sort of 'peek-a-boo'? Thanks for your attention
zornfett is offline   Reply With Quote
Old 11-10-2009, 11:49 PM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello zornfett,
Your list is not formed correctly.
See if you still have the problem when you make your list look like this -
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body><div id="content-wrap">
  <div id="sidebar">
    <div id="nav-2">
      <ul>
        <li class="first"><a href="#"><span>TKTKTKTK</span></a></li>
        <li class="selected"><a href="#"><span>TKTKTKTK</span></a></li>          
        <li><a href="#"><span>TKTKTKTK</span></a></li>          
        <li><a href="#"><span>TKTKTKTK</span></a>
          <ul>
            <li class="first"><a href="#"><span>TKTKTKTK</span></a></li>
            <li><a href="#"><span>TKTKTKTK TKTKTKTK TKTKTKTK TKTKTKTK TKTKTKTK</span></a></li>
            <li><a href="#"><span>TKTKTKTK</span></a></li>               
            <li class="last"><a href="#"><span>TKTKTKTK</span></a></li>
          </ul>    
</li>   
        <li><a href="#"><span>TKTKTKTK</span></a></li>            
        <li><a href="#"><span>TKTKTKTK</span></a></li>            
        <li><a href="#"><span>TKTKTKTK</span></a></li>            
        <li><a href="#"><span>TKTKTKTK</span></a></li>            
        <li><a href="#"><span>TKTKTKTK</span></a></li>
        <li class="last"><a href="#"><span>TKTKTKTK</span></a></li>                 
      </ul> 
    <div class="bottom"></div>   
  </div>
</div>

	
</div>
</body>
</html>
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 11-11-2009, 12:43 AM   PM User | #3
zornfett
New to the CF scene

 
Join Date: Nov 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
zornfett is an unknown quantity at this point
Thanks for your speedy reply, Ex, and thank you for catching that. Correcting the list per your suggestion, however, does not fix the weird obscuring of the background:

http://zornfett.com/client/smedley/wtf.html (updated, v.2)
zornfett is offline   Reply With Quote
Old 11-12-2009, 01:26 AM   PM User | #4
zornfett
New to the CF scene

 
Join Date: Nov 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
zornfett is an unknown quantity at this point
Interesting .. commenting-out 'position: relative' on LINE19 seems to fix this. Weird, as I put those positions in there to actually foil peek-a-booness ..
zornfett is offline   Reply With Quote
Reply

Bookmarks

Tags
background, ie6, list, navigation, peekaboo

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:40 AM.


Advertisement
Log in to turn off these ads.