Vertical centering of a graphic |
Vertical centering of a graphic |
denmarks |
Jul 12 2011, 02:07 PM
Post
#1
|
Advanced Member Group: Members Posts: 207 Joined: 17-January 08 Member No.: 4,734 |
Look at page http://www.dmmarks.com/hawaii2.html
There is a graphic saying "contents". I want it to automatically center itself at the left of the division with the actual contents. I created a division within the division and float:left. The problem is that I must specify an actual height. Using 100% causes part of the contents to appear below the graphic. Also I want it centered vertically and I do not know how to do it automatically. The contents can change size so I hate fixed heights. What can I do? |
Lo-Fi Version | Time is now: 26th April 2024 - 07:32 PM |