Web Analytics Made Easy -
StatCounter Aligning Text to an image? - CodingForum

Announcement

Collapse
No announcement yet.

Aligning Text to an image?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Aligning Text to an image?

    Hey all,
    How do I align text to the top middle or bottom of an image on the left or right plz?

  • #2
    No quite clear... If you align your image to the left, the text will automatically start at the top right and vice versa...?

    Comment


    • #3
      For some reason it doesn't - well what I mean is aligning text.

      If I want some text
      HERE AND HERE

      That is what I'm aiming for!

      Comment


      • #4
        Code:
        Text on top left<img src="something.gif" align="top"><br>
        <img src="something.gif" align="top">text on top right
        get it? Use the align="" in your image tag. There are lots of options for align:
        left
        right
        top
        texttop
        middle
        absmiddle
        baseline
        bottom
        absbottom

        I'm not sure they're all supported anymore though.
        Colin Puttick

        Comment

        Working...
        X