PDA

View Full Version : problem with menu bar


lye85
10-21-2011, 11:27 AM
hi, im new in Dreamweaver, my menu bar at below is not properly arranged,

http://i278.photobucket.com/albums/kk108/lye85/dw.png

so 2 things i wanna fix
1st: 'item 2 hhhhhhhhhhhhhhhhhhh' should in a same line not drop to bottom.

2nd: 'item 5' should be behind of 'item 4', it should be same row with there column.

and 1 more thing, how i going to set a custom size for these column?

johnMoss
10-22-2011, 04:52 PM
All of these problems are addressed by going into your spryhorizontal.css file and making changes. The size of the menu item, font, color, etc, like anything else are controlled with the settings in the css. Concerning item 5, it has dropped down since you are out of room with the size boxes you have. If you want it to be part of the main menu, then shrink those boxes. But you said behind item 4, so I assume you mean a submenu item. If that's what you want, get on youtube & search for spry menu tutorials. It'll walk you through the whole process, and you may get another answer to this post from someone who's already made one...

DWcourse
10-22-2011, 05:10 PM
If you want custom sizes for each menu item then you'll have to create a custom style class (or an inline style) for each item in the main menu so you can set each width individually. You might think that width:auto would work (and it will in most browsers) but it breaks things in IE.

There are a number of articles on Spry Menuvbars here: http://www.dwcourse.com/?cat=91