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,thi s)">Text 1</A></DIV>
<DIV><A HREF="#" onMouseOver="show('',2,thi s)">Text 2</A></DIV>
<DIV><A HREF="#" onMouseOver="show('',2,thi s)">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
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,thi
<DIV><A HREF="#" onMouseOver="show('',2,thi
<DIV><A HREF="#" onMouseOver="show('',2,thi
</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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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