jovialjonny
08-22-2003, 04:59 PM
Hi,
My problem is that I am trying to put some text and an image into the same div tag with the image aligned to the right- the purpose of this is that the div tag represents an item on a menu and the image is an arrow to show that there is a submenu available.
Right now the code looks like this:
<div class = menuItem> Consulting <img align='right' src='/images/whitearrow.jpg'/> </div>
But this causes the arrow to appear underneath the text. It is right justified as I want it but it too far down the screen. I have tried setting white space to nowrap and a few other things but nothing so far has helped.
Any suggestions of how to get the image to appear right-justified and on the same level as the text?
My problem is that I am trying to put some text and an image into the same div tag with the image aligned to the right- the purpose of this is that the div tag represents an item on a menu and the image is an arrow to show that there is a submenu available.
Right now the code looks like this:
<div class = menuItem> Consulting <img align='right' src='/images/whitearrow.jpg'/> </div>
But this causes the arrow to appear underneath the text. It is right justified as I want it but it too far down the screen. I have tried setting white space to nowrap and a few other things but nothing so far has helped.
Any suggestions of how to get the image to appear right-justified and on the same level as the text?