Lively discussions on the graphic arts and publishing — in print or on the web

Go Back   Desktop Publishing Forum > General Discussions > Web Design

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-24-2009, 12:06 PM   #1
dacoyle's Avatar
Join Date: Aug 2005
Location: Arlington, VA (across the river from Washington, DC)
Posts: 560
Default Vertical align for navigation lists with multiple lines

I'm using <ul> and CSS for a site navigation. I can't provide a link 'cause it's on my work development server (an intranet). In a nutshell, it's 7 buttons but three of the buttons have longer text so wrap to 2 lines. I want all the buttons the same size.

I found and article that explains how to do it, and it mostly work. The problem is, this solution requires each <li> to have an <a> tag. I prefer to remove the <a> tag from the page that's displaying, so the above article isn't enough.

Is there a way to get <li> buttons the same height if there's no <a> tag? line-height and height have no effect on the <li> alone.

Alternative: trying to talk the content owner into shorter text...

dacoyle is offline   Reply With Quote

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vertical Text in InDesign Ashlie Print Design 4 09-17-2008 01:47 PM
CSS vertical text positioning dacoyle Web Design 8 06-12-2008 04:56 PM
Lists for nav — semantic logic? ktinkel Web Design 28 06-26-2006 04:53 PM
CSS vertical navigation bar dthomsen8 Web Site Building & Maintenance 10 03-14-2006 05:41 AM
Fetch shortcut lists annc Web Site Building & Maintenance 14 04-16-2005 12:10 AM

All times are GMT -8. The time now is 12:41 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Contents copyright 2004–2018 Desktop Publishing Forum and its members.