Results 1 to 6 of 6

Thread: Toggle Tabs not aligned

  1. #1
    Join Date
    Jul 2008
    Location
    boston, ma
    Posts
    88
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default Toggle Tabs not aligned

    Hi,
    A section of this page will be news feed. You will be able to toggle between 2. The buttons/tabs should be on one line. I have tried a few things, and can't get them on one line. Any ideas?
    site

    Thanks

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    You know which css file is being used. Assuming you are talking about these two images us_news_button_on.jpg.

    If you didnt try li { display:inline; } try that. If that doesn't help let me know which css file the main page or that images ul and li tags are defined in and i'll look or if its not those 2 images what it is.

  3. #3
    Join Date
    Jul 2008
    Location
    boston, ma
    Posts
    88
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Hey,
    I have display:inline for ul.tab li
    The css is test_homepage.css

    Thanks man

  4. #4
    Join Date
    Jul 2008
    Location
    boston, ma
    Posts
    88
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    I got to look pretty good. At least on FF on mac so far.
    I aligned the left tab then had to put margin-left:-4px; for the right tab to fit on one line.

  5. #5
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    try this one as inline
    was
    #tab1 {
    display:block;}
    new
    #tab1 {
    display:inline;}

  6. #6
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Just got your other post but in my firefox its still on 2 lines I on mac but my ff appears different then others for some reason its looking like. In another post someone told me the code I gave them was all messed up in ff but in my ff it looked fine.

    So it's set now?

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
  •