Results 1 to 6 of 6

Thread: Problem with <A HREF> tag....

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343

    Problem with <A HREF> tag....

    I have some wierd problem when adding
    a <A HREF> tag...

    I have a thin toolbar that is a layer, in this layer I want to have
    several buttons, that are only text. When using <A HREF> to make the link it seams like the actual area that is the link gets too big in IE, like there is some "extra room" around my actual button.

    So the button becomes to big for my toolbar. This only appears in IE, not in Netscape. I have tried to set the padding, and margins of the A class to 0 px, with no luck. What could cause this problem.


    The toolbar is 20px in hieght, and the text is 10px (set in the a class)

    Any ideas???

    /Smirre
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343
    Some images to show what I mean....

    Overflow of the toolbar item layer is set to hidden...

    If I dont set the property to hidden the layer in IE get about 20 px high, in Netscape it looks like the picture...

    /Smirre

    This is how it looks in IE:
    Attached Images Attached Images  
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343
    Netscape...
    Attached Images Attached Images  
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  4. #4
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Can we have a link to the page?

  5. #5
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Is hard to say, but IE misintreprets the meaning of CSS height and width prior to version 6.0 on Windows, and even then you have to make sure you set a proper DOCTYPE.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343
    Found a way to solve this problem....

    I set the hieght of the a href tag to, then it works ok...

    /Smirre
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

Posting Permissions

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



Click Here to Expand Forum to Full Width