Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
CSS Is Being a bitch
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Queef" data-source="post: 234493" data-attributes="member: 19889"><p>Why don't you just, create a transparent container in which both your logo and navigation will be placed withing, specify the width and center it. The width will determine how far out from the left and right your logo and navigation will be, obviously the larger it is the smaller the gap will be. Put both the logo and nav classes inside that container and give the logo float:left; and navigation bar float:right;</p><p></p><p>Then to space the logo from the top of the page, have you tried giving it a margin instead of padding?</p></blockquote><p></p>
[QUOTE="Queef, post: 234493, member: 19889"] Why don't you just, create a transparent container in which both your logo and navigation will be placed withing, specify the width and center it. The width will determine how far out from the left and right your logo and navigation will be, obviously the larger it is the smaller the gap will be. Put both the logo and nav classes inside that container and give the logo float:left; and navigation bar float:right; Then to space the logo from the top of the page, have you tried giving it a margin instead of padding? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
CSS Is Being a bitch
Top