Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2013
    Location
    Ontario
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Span tag not showing up

    Hello,
    I have a Li object in a span tag, for some reason it will not show up in IE. If i zoom in or out, it will all of a sudden show up. Any idea why this is happening? There are other span tags in the UL, and they all show up as they should. No idea why this one won't show up.

    Here is the code for the UL

    Code:
    	<ul>
    <li class='tabendLeft'><img src='images/tabend_R_Left.png'> </li>	
    		<span class='linknav'><li><a  href='main.php?SID=0&type=Home'>Home</a></li></span><span class='linknav'><li><a  href='main.php?SID=3&type=Contact Us'>Contact Us</a></li></span><span class='linknav'><li><a  href='main.php?SID=4&type=Links'>Links</a></li></span><span class='linknav'><li><a  href='main.php?SID=6&type=Services'>Services</a></li></span><span class='linknav'><li><a  href='main.php?SID=0&type=Mission'>Mission</a></li></span><span class='linknav'><li><a  href='main.php?SID=9&type=Employment'>Employment</a></li></span><span class='linknav'><li><a  href='main.php?SID=16&type=Fundraising'>Fundraising</a></li></span><span class='linknav'><li><a  href='main.php?SID=10&type=Privacy'>Privacy</a></li></span><span class='linknav'><li><a  href='main.php?SID=0&type=Quality of Care'>Quality of Care</a></li></span><span class='linknav'><li><a  href='main.php?SID=0&type=Staff Email'>Staff Email</a></li></span><span class='linknav'><li><a  href='main.php?SID=13&type=Accountability'>Accountability</a></li></span><span class='linknav'><li><a  href='main.php?SID=0&type=Happenings'>Happenings</a></li></span><span class='linknav'><li><a  href='main.php?SID=0&type=MFHT'>MFHT</a></li></span>		
    		<li class='tabendRight'><img src='images/tabend_R_Right.png'> </li>
    	</ul>
    Anyone have any ideas why this is working funny? It doesn't make sense why it only shows up when i zoom in (CTRL and scrolling).

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,667
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello Scott.Paananen,
    That code is invalid, span is not allowed to be a child of a ul.
    Try moving your spans inside the li's and check out the links about validating in my signature line below.




    .
    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

  • Users who have thanked Excavator for this post:

    finoy_ako (12-26-2013)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •