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.

Logo and List on same line.

Discussion in 'CSS' started by SSORE7, Nov 25, 2015.

  1. #1
    Hi, I have a problem with a code in my page.

    This is my page for test, I update it everytime I learn something new. The main problem now is putting the logo (that TESTLOGO text) and the list (LIST 1 LIST 2), on the same line. Because I want to make it like a navigation bar. I was thinking the logo the the all width, and I made it at 20% but still the list goes under. So I hope you can tell me what I do wrong, or some hints.
    SEMrush
    http://testemihai.leupa.us/ ( i think you know how to look into the code :D )
     
    Solved! View solution.
    SSORE7, Nov 25, 2015 IP
    SEMrush
  2. #2
    Make both the h3 and ul {display: inline-block;}

    cheers,

    gary
     
    kk5st, Nov 25, 2015 IP
  3. SSORE7

    SSORE7 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    Ohh, ok. That works. Thanks a lot
     
    SSORE7, Nov 25, 2015 IP