Results 1 to 4 of 4

Thread: Suckertree Horizontal Menu - Shift from attached css?

  1. #1
    Join Date
    Feb 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Suckertree Horizontal Menu - Shift from attached css?

    Please regard this page. CSS is in the document. It works as expected.

    Then regard this page. CSS is attached. It does not work correctly.

    This code is taken unvarnished from the suckertree horizontal menu page.

    Why is CSS shifting everything including submenues about 40 pixels right in the second example? The only difference is that the first has it in the document while the second is attached. All else is the same.
    <link href="styles.css" rel="stylesheet" type="text/css" />
    Suckertree will be useless to me without attaching it to a style sheet for all my pages.

    Any help will be greatly appreciated.

  2. #2
    Join Date
    Feb 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Still not working...

    Hmmm...
    Tried this too.

    <style type="text/css">
    @import url('/styles.css');
    </style>


    Still nobody has any ideas?

    Am I missing something?

  3. #3
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    you still have the style tags in your external CSS files...

    remove <style type="text/css"> from the top and </style> from the bottom of your external CSS file.

    That shoudl fix it.

  4. The Following User Says Thank You to Medyman For This Useful Post:

    greenman (02-19-2008)

  5. #4
    Join Date
    Feb 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I had temporary style type blindness. It's a lot like "milk blindness" -- when you're staring into the refrigerator at the milk carton and you shout "Honey, where's the milk?" Except, of course, it's nothing like that.

    Again, thanks, Medyman!

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
  •