Posted by Ben C on 12/02/07 13:17
On 2007-12-02, David Segall <david@address.invalid> wrote:
> I have a page heading
><http://www.profectus.com.au/ee_headingexample.html> which consists of
> an image followed by a word and they should occupy the leftmost 25% of
> the heading. The remainder is a background image which will fill the
> rightmost 75%. The leftmost image has a fixed size and I want the word
> to be vertically and horizontally centred in what remains of the
> leftmost 25%. Currently the word, "Rendezvous" insists on being at the
> bottom left of the remaining space. How can I reposition it? I don't
> need to support browsers more than a couple of years old.
Put vertical-align: middle on the <img> preceding the span (the one
that's a picture of a clock).
Navigation:
[Reply to this message]
|