SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Nov 2002
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS link formatting for all browsers?

    Alright, so I'm working on my page and granted the smaller browsers (Opera and Mozilla) are a small percentage of my hits but I would really like to figure out to make it work for them.

    And it works mostly in Netscape but it is only 100% right in IE. So I'm tired of banging my head against the wall to figure it out. Maybe you guys can help me.

    What ways to get width 100% of another section of a percentage width of the screen in CSS for Netscape, Mozilla and Opera?

    Thanks for any help!
    Patrick
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    http://www.ronincyberpunk.com/

  2. #2
    SitePoint Wizard
    Join Date
    Oct 2001
    Location
    Tucson, Arizona
    Posts
    1,858
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you have some code that we could look at? Also, I don't think I really know what the problem is. You say you've got a problem, but you never said what the problem was.

  3. #3
    SitePoint Member
    Join Date
    Nov 2002
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes well I suppose that would help

    .linkbar a:link {
    color: #CCCCCC;
    width: 100%;
    text-decoration: none;
    border-bottom: solid 1px #005376;
    }

    .linkbar a:hover {
    width: 113px;
    color: #ffffff;
    background-color: #005477;
    border-bottom: solid 1px #005376;
    }

    So that when the user's mouse hovers over it the background 100% width changes. But with Netscape for example the 100% width does not work it only goes as wide as the text.

    For an example go check http://www.ronincyberpunk.com

    Thanks
    Patrick
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    http://www.ronincyberpunk.com/


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
  •