Hi Christian,

Use option 1 with em units instead of pixels for your top and bottom
padding. The padding will increase as the text resizes.

Al

On 8/1/07, Christian Fagan <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have previously tried to create a horizontal page navigation with a
> fixed height but there seems to be two distinct problems with the two
> methods that I have used to date.
>
> 1) The first method employs top and bottom padding on <a> elements to
> vertically centre the text within the anchor box. This method works
> fine, until the text is re-sized.
> 2) The second method involves declaring a height for the <a> element but
> then the text is top aligned vertically (looks ugly).
>
> I have also tried declaring top padding combined with a height value to
> lessen the text resize issue but I would like to hear from anyone who
> knows a way to align text vertically, as well as assign a set height to
> elements (particularly <a> elements in a horizontal nav structure).
>
> Thanks.
>
> --
> Christian Fagan
> Fagan Design
>
> fagandesign.com.au
> [EMAIL PROTECTED]
>
>
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> *******************************************************************
>
>


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to