Add style="vertical-align:middle" to the img tag, though I've no idea if it's 
going to work inside the h3.



>For the life of me I cannot figure out how to center text on the side of an
>image without using a table. The code looks like this:
>
> 
>
><body class="twoColElsLtHdr">
>
> 
>
><div id="container">
>
>  <div id="header">
>
>    <cfoutput><h1 style="vertical-align:middle"><img
>src="SchoolImages/#Request.HeaderImage#" border="0"
>/>#Request.SchoolName#</h1>
>
>      <h3>#Request.Motto#</h3>
>
>    </cfoutput>
>
>    <!-- end #header -->
>
></div>
>
> 
>
>You can see that I have the vertical-align equal to middle but that is not
>working. Any CSS guru's out there that can help or do I need to use a table?
>
> 
>
>Thanks,
>
> 
>
>Bruce 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:241596
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to