Register

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 8 of 8
  1. #1
    Junior Member tksforlife's Avatar
    Join Date
    Oct 2012
    Location
    Hawaii
    Posts
    26
    Member #
    33545
    I'm having some trouble getting my logo to vertically align to the middle of my nav bar. Currently it seems to demand being top aligned. If anyone can give me some help it would be much appreciated!

    http://artsatheart.atwebpages.com/

    Thanks!

  2.  

  3. #2
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    Middle of the nav bar ? Or middle of the header ?

  4. #3
    Junior Member tksforlife's Avatar
    Join Date
    Oct 2012
    Location
    Hawaii
    Posts
    26
    Member #
    33545
    Id like it to be vertically centered in the middle of the nav bar on the right side.

  5. #4
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    Ok lost me now

    Vertically centered on the right side of the nav bar ?

    Jeeez...

    So centered ? Right? You may know why you want, but I suspect without a picture no one else knows...

  6. #5
    Junior Member tksforlife's Avatar
    Join Date
    Oct 2012
    Location
    Hawaii
    Posts
    26
    Member #
    33545
    Sorry dunno how I wrote that. Vertically centered on the right side of the nav bar.

  7. #6
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Vertically aligned means aligned from top to bottom - it has no relevance here.

    In your CSS, take out the "vertically aligned" and change your percentage to whatever puts the logo where you want it.

    #logo {
    [S]vertical-align: middle;[/S]
    float: right;
    max-height: 80%;
    padding-right: 15%;
    }
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  8. #7
    Junior Member tksforlife's Avatar
    Join Date
    Oct 2012
    Location
    Hawaii
    Posts
    26
    Member #
    33545
    Yes but when logo is a smaller size than the nav height, say 50px, it rises to the top of the nav instead of remaining inline with the text to the left.

  9. #8
    Junior Member tksforlife's Avatar
    Join Date
    Oct 2012
    Location
    Hawaii
    Posts
    26
    Member #
    33545
    Solved. Thanks!


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 11:59 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com