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 06-11-2008, 07:36 PM   #5
dacoyle's Avatar
Join Date: Aug 2005
Location: Arlington, VA (across the river from Washington, DC)
Posts: 560

Originally Posted by ktinkel View Post
The beauty of CSS is that you can change the type specs within a DIV.

Centering is, or ought to be, a visual (not mechanical or mathematical) issue. I find that applying a bit of padding can work very well. You want more space at the bottom than at the top, anyway; and line-height also lets you adjust the distance between the lines, if they flow beyond the available space.

But all of this is a trade-off. You have no idea what viewers are seeing: they can change font, type size, and width of the viewing window. But the image is one size (unless you allow that also to flex). So whatever you do will work sometimes, for some viewers.

No, not right. I'm asking how vertical-align works, not a work around.

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
CSS positioning problem sooshi Web Site Building & Maintenance 9 02-18-2008 12:36 PM
CSS positioning help dacoyle Web Site Building & Maintenance 23 02-24-2007 11:32 AM
CSS vertical navigation bar dthomsen8 Web Site Building & Maintenance 10 03-14-2006 05:41 AM
Vertical Alignment of DIVs CarlSeiler Web Site Building & Maintenance 17 12-14-2005 10:03 AM
CSS positioning dacoyle Web Design 2 11-14-2005 06:40 PM

All times are GMT -8. The time now is 01:07 PM.

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