SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Thread: ie fix needed

  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2004
    Location
    Denmark
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ie fix needed

    in ie this page http://home1.stofanet.dk/samtaleterapi/settext/
    doesnt work proporly - specifically does the #navbar a {display: block} not
    work

    it works above the text link, but not to the sides of or under the text
    it does however work proporly if i click the link, but only until i mouseoff

    i tryed setting the a {display: block} proporty on #knap1 in stead
    also .fff and .ccc didnt make a difference either

    what can i do?
    (open it in firefox eg to see the proper result)

    thanks
    rasmus

  2. #2
    SitePoint Evangelist ClevaTreva's Avatar
    Join Date
    Jan 2004
    Location
    Chipping Campden, UK
    Posts
    403
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi

    The link was wrong. You meant to upload the file as index.htm but called it dex.htm. Anyway, I found it.

    IE has a bug. If you specify in the hover property cursorointer it may fix the problem.

    Take a look at my code example here:

    http://207.44.137.103/stus_buttons.html

    And view the source code, you will see I had to do the same sort of thing.



    Trevor
    "Good artists copy, great artists steal."
    - Pablo Picasso
    The image of ClevaTreva is drawn by Rhys, and is a GOOD likeness

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2004
    Location
    Denmark
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i tryed your suggestion, but it doesnt work
    in my logic, the cursor wont change to pointer, unless its hovering a link, and that is the problem (not the style of the cursor)

    i get a clickable area displayed in red like this: http://home1.stofanet.dk/samtaletera...text/image.gif

    any other ideas?
    thanks
    rasmus

  4. #4
    SitePoint Enthusiast
    Join Date
    Apr 2004
    Location
    Denmark
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    fixed it

    the #navbar a needs an additional proporty: height of 1em or in this case 11px

    rasmus

  5. #5
    SitePoint Evangelist ClevaTreva's Avatar
    Join Date
    Jan 2004
    Location
    Chipping Campden, UK
    Posts
    403
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi

    You probably don't need a specific height, as this is a bug in IE. So, feed to fix to IE Windows versions only:

    /* \*/* hmtl #navbar{height:1%}/* */




    Trevor
    "Good artists copy, great artists steal."
    - Pablo Picasso
    The image of ClevaTreva is drawn by Rhys, and is a GOOD likeness

  6. #6
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Typo Trevor

    Should be:
    Code:
    /* \*/* html #navbar{height:1%}/* */
    Paul

  7. #7
    SitePoint Evangelist ClevaTreva's Avatar
    Join Date
    Jan 2004
    Location
    Chipping Campden, UK
    Posts
    403
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Paul O'B
    Typo Trevor

    Should be:
    Code:
    /* \*/* html #navbar{height:1%}/* */
    Paul
    "Good artists copy, great artists steal."
    - Pablo Picasso
    The image of ClevaTreva is drawn by Rhys, and is a GOOD likeness


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
  •