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
I need a navigator on the right side of this header.
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="Mastah" data-source="post: 371246" data-attributes="member: 1520"><p>So I wanted to have a header with a navigator bar as well as a logo but they need to align together.</p><p></p><p>Here's a little example.</p><p><img src="http://image.prntscr.com/image/4cf81f208f3f4bc2a595073502cef47a.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>Here's all the code I haz.</p><p></p><p>[HTML]<!DOCTYPE html></p><p><html></p><p> <head></p><p> <meta charset="utf-8"></p><p> <meta name="viewport" content="width=device-width, initial-scale=1"></p><p> <meta itemprop="image" content="/images/192x192.png"></p><p> <meta name="mobile-web-app-capable" content="yes"></p><p> <meta name="robots" content="index,follow"/></p><p> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></p><p> <title> Lel: Home </title></p><p> </p><p> <!--- De website icoon niet kopieren alstublieft! ---></p><p> <link rel="shortcut icon" href="/images/icon.ico"></p><p> </p><p> <!--- Al de stylesheets kunt u hier vinden ---></p><p> <link rel="stylesheet" type="text/css" media="all" href="/css/global.css" /></p><p> </head></p><p> </p><p> <body></p><p> </p><p> <div id="header"></p><p> <div id="header_logo"></p><p> Fucken Logo m8</p><p> </div></p><p> </p><p> </p><p> </p><p> </div></p><p> </p><p> </p><p> <!--- Einde van header ---></p><p> </p><p> </body></p><p></html>[/HTML]</p><p></p><p></p><p>Here's the css</p><p></p><p>[CODE]/* Tabel van content</p><p>- Body</p><p>- Header</p><p>- Logo</p><p>- Navigator</p><p>*/</p><p></p><p></p><p></p><p>body {</p><p> margin: 0 auto;</p><p> background-color: #F5F5F5;</p><p> font-family: Arial;</p><p>}</p><p></p><p>#header {</p><p> background-color :#77A6B5;</p><p> width: 100%;</p><p> height: 45px;</p><p> top: 0;</p><p> z-index: 500;</p><p> position: fixed;</p><p> border-bottom: 1px solid #5E838F;</p><p>}</p><p></p><p>#header_logo {</p><p> position: relative;</p><p> padding: 15px 0px 15px 5px;</p><p> float: right;</p><p> width: calc(100% - 56px);</p><p> color: #fff;</p><p>}</p><p></p><p>[/CODE]</p><p></p><p></p><p>Whoever is able to do this for me thank you in advance you're great!</p></blockquote><p></p>
[QUOTE="Mastah, post: 371246, member: 1520"] So I wanted to have a header with a navigator bar as well as a logo but they need to align together. Here's a little example. [IMG]http://image.prntscr.com/image/4cf81f208f3f4bc2a595073502cef47a.png[/IMG] Here's all the code I haz. [HTML]<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta itemprop="image" content="/images/192x192.png"> <meta name="mobile-web-app-capable" content="yes"> <meta name="robots" content="index,follow"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title> Lel: Home </title> <!--- De website icoon niet kopieren alstublieft! ---> <link rel="shortcut icon" href="/images/icon.ico"> <!--- Al de stylesheets kunt u hier vinden ---> <link rel="stylesheet" type="text/css" media="all" href="/css/global.css" /> </head> <body> <div id="header"> <div id="header_logo"> Fucken Logo m8 </div> </div> <!--- Einde van header ---> </body> </html>[/HTML] Here's the css [CODE]/* Tabel van content - Body - Header - Logo - Navigator */ body { margin: 0 auto; background-color: #F5F5F5; font-family: Arial; } #header { background-color :#77A6B5; width: 100%; height: 45px; top: 0; z-index: 500; position: fixed; border-bottom: 1px solid #5E838F; } #header_logo { position: relative; padding: 15px 0px 15px 5px; float: right; width: calc(100% - 56px); color: #fff; } [/CODE] Whoever is able to do this for me thank you in advance you're great! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
I need a navigator on the right side of this header.
Top