1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Tab view for sidebars?

Discussion in 'CSS' started by ujar, Jul 21, 2009.

  1. #1
    Hello,
    Can someone help me to style my sidebar with a tab view, myself got frustrated googleing it.

    Help...
     
    ujar, Jul 21, 2009 IP
  2. Austin Web Design

    Austin Web Design Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Could you be more specific? Try linking to an example of what you're after and posting the HTML/CSS you have now.

    If you want a basic vertical menu out of a <ul>, you do
    <ul id="nav">
    <li><a href="#">Item 1</a></li>
    <li><a href="#">Item 2</a></li>
    <li><a href="#">Item 3</a></li>
    </ul>
    Code (markup):
    
    #nav{margin: 0; padding: 0; list-style-type: none; width: 300px}
    #nav li a{display: block}
    
    Code (markup):
    and adjust height, width, padding as needed.
     
    Austin Web Design, Jul 22, 2009 IP
  3. ujar

    ujar Greenhorn

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    I want the tabs for hte sidebar.

    Its more likely, when you click the tabs, the content appears just bellow it. For example, when I click "recent post" tab, recent posts appears bellow it, if i click "recent comments" tab, recent comment will appear.

    [​IMG]
     
    ujar, Jul 26, 2009 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ah, you want what's called "DOM Tabs".

    Is this for a WordPress Theme or another type of site/CMS/blog system?
     
    Dan Schulz, Jul 26, 2009 IP
  5. ujar

    ujar Greenhorn

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #5
    Thanks for replying and sorry for being late

    Its for blogger/blogspot blog
     
    ujar, Jul 27, 2009 IP
  6. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hmm... if I remember correctly, you can't change the markup with Blogger. If that's the case, I know of a CSS only solution that'll work - IF you don't mind it not working at all in Safari/Chrome (basically all WebKit browsers).
     
    Dan Schulz, Jul 27, 2009 IP
  7. ujar

    ujar Greenhorn

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #7
    http : // www . w3 . org/Style/Examples/007/target How about this or jquary?
     
    ujar, Jul 27, 2009 IP
  8. ujar

    ujar Greenhorn

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #8
    jquary is having ui.all.css as the style, and see the tabs

    [​IMG]

    but when I used ui.tabs.css and ui.theme.css the impact on the tab boxes was like this

    [​IMG]


    now how do I fix these tabs, (I will put the style sheet in my css)
     
    ujar, Jul 27, 2009 IP