Thread: Align text with an image link?
Results 1 to 3 of 3
Related
-
How do I align Text in the same line? Forum: HTML Forum
Replies: 10 -
IE 6 text-align center problem Forum: HTML Forum
Replies: 5 -
text-align center problem - only in ie6 Forum: CSS Forum
Replies: 4 -
Fixing image to align bottom Forum: CSS Forum
Replies: 0
-
05-26-2008, 01:03 PM #1
Align text with an image link?
Can anyone tell me how to insert an image link to the right of, but on the same line, as some text?
I want it to look something like this:
Line of text is here. Space here. (Image link is over here)Last edited by rosalind110; 05-26-2008 at 01:06 PM. Reason: formatting was wrong
-
05-26-2008, 09:30 PM #2
Re: Align text with an image link?
Hi rosalind110,
Image are inline elements by default. Handcoding it as:
Code:Text here <img src="image.jpg" alt="myimage">
You could also use CSS's float:right or text-align:right for whatever you wanted to achieve, but without seeing your codes, things will be tough.
-
01-20-2009, 10:20 PM #3
Re: Align text with an image link?
do you want some text linking to a image appearing on a new page or same page?
or do you want a simple image beside the text? if so, a simple ............. <img src="sky.jpg" alt="sky" >Last edited by Bigmous; 01-20-2009 at 10:27 PM.