Sent by trevor bayliss on 24 February 2009 18:06
Thanks I added the class to the image and that seems to have vertically centred it, I think I am
having a case of codeitis with this code!:
<div style="margin-top:10px; vertical-align:middle;">
<a href="fish-autos.html" class="entryCenter">
<img src="images/button.gif" alt="fish fish" class="entryCenter">
fish fish</a> </div>
--- On Tue, 2/24/09, Jack Timmons [EMAIL-REMOVED]> wrote:
> From: Jack Timmons [EMAIL-REMOVED]>
> Subject: Re: [css-d] IE divs drops and Vertically align text
> To: [EMAIL-REMOVED], [EMAIL-REMOVED]
> Date: Tuesday, February 24, 2009, 9:51 AM
> On Tue, Feb 24, 2009 at 11:44 AM, trevor bayliss
> [EMAIL-REMOVED]>wrote:
>
> > Thanks that works great. How do I align the text next
> to the arrow gifs (at
> > the moment they are not verticallyt centred). Thanks
> again
> >
> >
> Add vertical-align:middle; to your styling for the anchor
> tags.
>
> --
> -Jack Timmons
> http://www.trotlc.com
> Twitter: @jorachim
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/