Link to home
Start Free TrialLog in
Avatar of kathm
kathm

asked on

valign div tags

Hi,
I have a set of <div> tage which I am using combined with layers to create a drop down menu.
<DIV CLASS="TRS" ID="TRS" STYLE=" left: 282px; top:193px">
<DIV><A HREF="#" onMouseOver="show('',2,this)">Text 1</A></DIV>
<DIV><A HREF="#" onMouseOver="show('',2,this)">Text 2</A></DIV>
<DIV><A HREF="#" onMouseOver="show('',2,this)">Text 3</A></DIV>
</DIV>

My problem is that I cannot get the text withing the inner <div's> eg. Text 1, Text 2 or Text 3 to vertically align to the middle??
I have tried adding style="vertical-align: middle;" to the inner div tags and the outer one nothing seems to work???
Does anyone have any ideas???
Thanks, Kathryn

ASKER CERTIFIED SOLUTION
Avatar of MHQ
MHQ

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jaysolomon
jaysolomon

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- ACCEPT MHQ Grade A

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Jay Solomon
EE Cleanup Volunteer