Results 1 to 3 of 3

Thread: Blank space next to link

  1. #1
    Join Date
    Apr 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Blank space next to link

    http://www.xanga.com/l3loodFist

    Next to "Archives" (it's a DIV), there's a long invisible link.

    I can get rid of it by adding width:0px; but then the "Archives" menu gets moved to the left, overlapping the other links. Any ideas?

    It's not a big hindrance, but just an annoyance I would like to fix.

  2. #2
    Join Date
    Feb 2007
    Posts
    293
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Try making masterdiv and menutitle spans instead of divs.

    Code:
    <span id="masterdiv">
    
    	<span class="menutitle" onclick="SwitchMenu('sub3')">Archives</span>
    Then set your margin-left for menutitle to 0
    Code:
    .menutitle{
    cursor:pointer;
    margin-bottom: 5px;
    margin-top: -18px;
    margin-left: 0px;
    Seems to work in IE and FF

  3. #3
    Join Date
    Apr 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for that, but then it's moved to the center and set on a new line. I'd like it to be one row.

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
  •