Soldato
- Joined
- 1 Sep 2005
- Posts
- 10,001
- Location
- Scottish Highlands
without using tables? Is it possible? Im trying to vertically centre an image in a dynamically sized div. vertical_align:middle; doesn't seem to work (Think it needs to be on a table?) So ive used lineheight instead. This works nicely, but due to the image being quite tall, you can tell that the image is sitting on the line, moving it up a bit. So how do I shift the baseline down to compensate for the height of the image using CSS with the code being strict valid?