Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

spry menu bar question

Status
Not open for further replies.

rrmcguire

Programmer
Oct 13, 2010
304
US
at my page @ with my spry menu I want to center the headings so that Home...Services...Customers...Logistics are all centered.

Also on my drop down for services where cross border is listed the padding on the bottom is very long. How can I reduce this so that its equal with the other sub menu listings?

thanks
 
Your list item elements are 40px high (as per SpryMenuBarHorizontal.css). Your links (a) inside these items are much taller though (35 px in height plus 15px margin on top and 5px margin on bottom makes up 55px as per SpryMenuBarHorizontal.css again). So, every menu option is 55px tall, but is covered by the next one after 40px, making it look shorter. The last item has no successive menu option to cover it and shows in all 55px. If you were to correct these discrepancies, your menu would look more uniform.

[small]Do something about world cancer today: Comprehensive cancer control information at PACT[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top