Link to home
Start Free TrialLog in
Avatar of borb
borb

asked on

aligning text and graphics

If I have, for example:
<IMG SRC="x.gif>, and some text STRAIGHT
after, how do I get the graphic centered with the text.

The text element sits at the bottom.

I have a huge HTML book, but couldn't
find this most basic (probably) thing, and am too tired too hunt for it.

This thing has been at the back of my mind for ages, so thought I'd ask you guys - and get a quick, precise answer.

Thanks
Avatar of Eric - Netminder
Eric - Netminder
Flag of United States of America image

<img src="x.gif" align "middle">
Avatar of dmaryakh
dmaryakh

That should probably read:
<img src="x.gif" align="middle">
Avatar of borb

ASKER

ericpete,

I did actually try that (tried align=
"center" first - saw it wasn't correct),
and align="middle" sets the text slightly above the middle??

The graphic fills the whole area - I
have a circle, with a number centered
perfectly in the circle.

Any clues ???
ASKER CERTIFIED SOLUTION
Avatar of dmaryakh
dmaryakh

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