|Feb 25, 2012, 11:53 AM||#1|
Centering Fireworks Nav Bar?
Due to some crazy ass course at school I've had to make a really simple Nav bar in fireworks and then Import it into dreameaver. That was fine i did it and whatever.
I can't Center the nav bar in dreamweaver? I Preview it in Safari and it just shows top left and i need it to show Top Center? And i can't for the life of my work out how to get it there :P
I'm a Web Design Noob! Help me!
2013 Macbook Air 11' 1.3/8GB | 2012 Mac Mini 2.5/4GB | 2009 Mac Pro 3.2 Quad / 12Gb | 2008 Black Macbook 2.4/4GB
|Feb 26, 2012, 06:38 PM||#2|
I'm not a Dreamweaver user but if you can access and edit your CSS styling code you can center it fairly easily.
I'm assuming the navbar is an image file (jpg,png?) that you exported from Fireworks. Also assuming you know the width of it in pixels.
HTML would looks something like:
<div id="navbar"> </div>
width:800px; (whatever width the navbar needs to be or is)
margin: 0 auto; (this sets the navbar's top and bottom margin to 0 and the left and right to auto, which auto centers it in the window.)
That's it. Does that make sense?
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Need Help Centering UL CSS menu||screensaver400||Web Design and Development||2||Dec 27, 2012 07:28 PM|
|Slightly Random Line in Nav Bar||Comeagain?||Site and Forum Feedback||6||Sep 10, 2012 08:55 AM|
|Resolved: Hiding/Showing Status Bar & Nav Bar issue.||troop231||iPhone/iPad Programming||4||Jul 17, 2012 07:59 AM|
|hide nav bar||chhoda||iPhone/iPad Programming||2||Jun 26, 2012 04:51 AM|
|How Nav bar button hidden||nashyo||iPhone/iPad Programming||0||Jun 22, 2012 02:22 AM|
All times are GMT -5. The time now is 09:56 PM.