|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!
MacBookPro 15'' 2.3
|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|
|tab bar + nav bar||jagatnibas||iPhone/iPad Programming||1||Sep 21, 2011 09:09 AM|
|How to highlight a Spry nav bar?||Thomas Veil||Web Design and Development||7||Mar 4, 2008 06:22 PM|
|Bottom Nav Bar||jules1977||Web Design and Development||4||Jul 3, 2007 06:14 AM|
|iweb nav bar help pls||riel505||Mac Applications and Mac App Store||2||Aug 20, 2006 02:12 AM|
|iWeb Nav Bar question||this is funah||Mac Applications and Mac App Store||9||Aug 18, 2006 10:49 AM|
All times are GMT -5. The time now is 12:01 PM.