SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Guru tombempty's Avatar
    Join Date
    Oct 2001
    Location
    New York
    Posts
    688
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do you make links Horizontal

    Hello All:

    At this site http://mediakit.eetimesgroup.com/wordpress/ in wordpress... obviously, I am trying to make the links in the top red tab, the one hanging down, Horizontal.

    This is what I have in my css

    Code:
    #header #top_links {
    background-image:url(images/EETimes_red_tab_top.gif);
    font-family:Ariel,Helvetica,sans-serif;
    height:30px;
    left:0;
    position:absolute;
    right:750px;
    top:0;
    width:317px;
    
    #header #top_links a {
    color:#ffffff;
    width:300px;
    height:30px;
    font-weight:bold;
    }
    #header #top_links a {
    color:#ffffff;
    width:300px;
    height:30px;
    font-weight:bold;
    }
    
    #header #top_links a {
    color:#ffffff;
    width:300px;
    height:30px;
    font-weight:bold;
    float:left;
    position:absolute;
    
    }
    Can someone point me into what I might be doing wrong with this.

    Thanks,

    Paul
    ********
    Regards,

    P

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,624
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, you wrap the anchors around an <li> so just float that
    Code:
    #top_links li{float:left;display:inline;}
    Add horizontal margins to space as you wish
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  3. #3
    SitePoint Guru tombempty's Avatar
    Join Date
    Oct 2001
    Location
    New York
    Posts
    688
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Man Ryan.... don't you work for a liiving. LOL...

    thanks a bunch man... again..
    ********
    Regards,

    P

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,624
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    I work at Dairy Queen part time..still unable to find a CSS related job though .

    Glad it worked
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  5. #5
    SitePoint Guru tombempty's Avatar
    Join Date
    Oct 2001
    Location
    New York
    Posts
    688
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Man..... I know the market is rough right now. Sorry to hear that.

    Thanks for the help though,

    Paul
    ********
    Regards,

    P

  6. #6
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,624
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    It's not that the market is rough here, per say, it's just htat people think I'm an idiot because I'm young. I have gotten insulted to my face as I turned in my portfolio about my age. And considering I could probably outcode any of their developers (sorry if that seems like I'm bragging) it just makes me a bit edgy .

    You're welcome.
    Off Topic:

    Should probably take this PM if you wish to continue
    Always looking for web design/development work.
    http://www.CodeFundamentals.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
  •