Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
How to vertical align a horizontal Spry menu bar
Old 10-06-2008, 05:45 PM How to vertical align a horizontal Spry menu bar
Junior Talker

Posts: 1
Name: Jenn
Trades: 0
Hey!

This is my first message so I apologize if this topic has been covered before. But I'm at work trying to finish up a project and I can't seem to figure this out. I need to vertically center a horizontal spry bar that I've built in a layer cell in Dreamweaver. I've got the spry bar looking good finally and I have no problems centering the text within the bar but other than adding padding, I can't figure out how to v-align it center. And when I do what seems should be the easiest thing, which is to add the property of v-align to center, nothing happens!

Any suggestions? thank you in advance!
jenku99 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-06-2008, 07:32 PM Re: How to vertical align a horizontal Spry menu bar
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
If you're looking to center the bar itself within the page we have a sticky with links to different methods for centering both horizontally and vertically.

If the problem is vertically centering the text within the bar, I usually use padding myself. Centering things horizontally is fairly simple with css. Vertical centering isn't quite so nice and neat. The links in the sticky do describe some ways to make it work, but even then they aren't ideal in my opinion.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 10-07-2008, 10:25 AM Re: How to vertical align a horizontal Spry menu bar
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
valign is ineffective in this case, so stop wasting your time.
You might try setting the line-height equal to the height of your spry bar.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to vertical align a horizontal Spry menu bar
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11748 seconds with 12 queries