SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: Help with lining up an image
-
Nov 3, 2009, 16:27 #1
- Join Date
- Nov 2004
- Location
- calif
- Posts
- 743
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Help with lining up an image
I placed an image in front of some text, but the text lines up to the right of the image, which is good, but it appears towards the bottom of the image.
Is there a way to have the text line up more towards the center of the image?
Here's an example of what I'm talking about.
If the image is: l
and the text is: _
it currently lines up like this l _
I'd like it to line up like this: l -
Here's the code I'm using now:
Code:<font size="4" color="#800000" face="Arial"><img src="/images/image1.jpg" border="0" />Text</font>
-
Nov 3, 2009, 16:44 #2
- Join Date
- May 2009
- Location
- Jomtien, Pattaya, Thailand
- Posts
- 910
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
try valign="middle" in the img tag
Do you really need traffic? Where to? What for?
If you really do need traffic then stop messing around!
Advertise on my sites today: She Told Me & Best Reviewer :
200,000+ UV / Month
-
Nov 3, 2009, 17:12 #3
- Join Date
- Nov 2004
- Location
- calif
- Posts
- 743
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks you for your help.
align="middle" in the img tag worked.
thanks again
Bookmarks