So, I want to make a navigation bar, but I'm using pictures, and the logo goes right where I want it to, but the next picture goes under. Is there a way I can put it right across from the logo?
I don't want to post a link, but I can post part of the code if it's needed.
Offline
I've never used one
Can you help out?
Offline
I know HTML very well, a bit of javascript, I stink at xml, php, css, xhtml (I don't even know what that is!)
Offline
Uh... okay?
Offline
funelephant wrote:
I've never used one
Can you help out?
I haven't either, but i know u use <table></table> tags for tables, <tr></tr> tags for rows, and <td></td> tags for coloumns
Offline
Here's part of the HTML
<div id=topbar> <div id=library> <a href=""><img src="http://i.imgur.com/EnRcD.png"/></a></div> <div id=allbooks><a href="/allbooks.php"><img src="http://i.imgur.com/n7u3N.png"/></a></div> </div>
Offline
funelephant wrote:
Uh... okay?
Maybe something like this:
<table>
<tr><a href="index.html">Home</a></tr><div/>
<tr><a href="about.html">About</a></tr></table>
Offline
<div id=topbar> <div id=library> <a href=""><img src="http://i.imgur.com/EnRcD.png"/></a></div> <div id=allbooks><a href="/allbooks.php"><img src="http://i.imgur.com/n7u3N.png"/></a><a href="/index.html>Home</a></div> </div>
? What is the nav bar for?
Offline
Jonathan50 wrote:
Code:
<div id=topbar> <div id=library> <a href=""><img src="http://i.imgur.com/EnRcD.png"/></a></div> <div id=allbooks><a href="/allbooks.php"><img src="http://i.imgur.com/n7u3N.png"/></a><a href="/index.html>Home</a></div> </div>? What is the nav bar for?
What the navigation bar is for on every other website...?
Offline
It didn't work
Offline
Try using float:left; on your elements and then add a div with clear:both; after it.
Offline
Oops, I forgot to put float: left on the library div
Okay, all fixed!
Thanks guys!
Offline
Closed by request.
Offline