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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8
Archive:
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:241592
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5