If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member SSORE7's Avatar
    Join Date
    Nov 2015
    Frankfurt, Germany
    Member #

    Logo and List on same line.

    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.

    TEST SITE ( i think you know how to look into the code )


  3. #2
    Senior Member brandMatt's Avatar
    Join Date
    Oct 2015
    St .Catharines Ontario
    Member #
    51 times
    I'm on my phone right now and cannot really give a concrete answer. That said I can give my best guess.

    I think your logo needs display inline-block assigned to it, the same should be assigned to your nav.

    If I'm wrong let me know, I'll revisit this on my computer.

    It looks like I was right, as you kept 'display:inline-block' on the elements.
    Why did you chose a set of h3 tags to wrap your logo in?
    Last edited by brandMatt; Nov 25th, 2015 at 02:08 PM. Reason: at my computer

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 06:54 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: