Posted by Mark Parnell on 03/09/06 05:28
Deciding to do something for the good of humanity, Stefan Mueller
<seekware-remove-@yahoo.com> declared in alt.html:
> However, if I use
> <img src = "pic.gif"><div class = "my_style"> Text</div>
> the word 'Text' is not located on the right side of the image 'pic.gif'.
> It's located on a new line.
That's because <div> is a block-level element.
> How can I set a style to the word 'Text' so that the word 'Text' is still
> located on the right side of the image 'pic.gif'?
Replace div with span.
--
Mark Parnell
Now implementing http://blinkynet.net/comp/uip5.html
[Back to original message]
|