DTP


 
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, 05:27 PM   #3
dacoyle
Member
 
dacoyle's Avatar
 
Join Date: Aug 2005
Location: Arlington, VA (across the river from Washington, DC)
Posts: 560
Default

Quote:
Originally Posted by ktinkel View Post
The height of the image is known, and (I assume) so is the size of the text.

So set up a div, place the image and the text in it, and use padding-top to place the text. This is much easier if you actually use a stated size (pixels) for the type.
The text size is 1em. My usual default. I can't visualize how using padding-top can make the text beside the image be in the middle rather than at the bottom, the default with no CSS. I could see wrapping the text in a span and using padding bottom, maybe... but it seems like cheating. Isn't there a way to use vertical-align?

Dennis

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


All times are GMT -8. The time now is 02:26 PM.


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