SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: weird thingy

  1. #1
    psycho
    Join Date
    May 2000
    Location
    London
    Posts
    283
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <style>
    <!--
    .iewrap1{
    position:relative;
    height:30px;
    }
    .iewrap2{
    position:absolute;
    }
    #dropmenu0{
    visibility:hide;
    z-index:100;
    }
    -->
    </style>

    ------------------------------
    http://64.176.203.16/

    i have been told to use this code for the script that makes the drop down menu when you click releases. but it seems to squash it all up. why ? how do i fix this ?

  2. #2
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Looks good here. What browser are you using?
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference

  3. #3
    psycho
    Join Date
    May 2000
    Location
    London
    Posts
    283
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    IE 5.5

    you see the links image. its squashed into the releases images. Whereas on a page such as http://64.176.203.16/releases.html

    it isn't squased up, cos im not using the code in it

    ta

  4. #4
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Try setting the correct height in your CSS code:

    Code:
    <style> 
    <!-- 
    .iewrap1{ 
    position:relative; 
    height:35px;
    } 
    .iewrap2{ 
    position:absolute; 
    } 
    #dropmenu0{ 
    visibility:hide; 
    z-index:100; 
    } 
    --> 
    </style>
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference


Bookmarks

Posting Permissions

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