You are here: Re: How to align text in my page heading? « HTML « IT news, forums, messages
Re: How to align text in my page heading?

Posted by David Segall on 12/02/07 14:35

Ben C <spamspam@spam.eggs> wrote:

>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).
Thanks. That's much better but it is still left aligned. How can I
centre it horizontally in the remaining space after the image?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация