Jump to content

HTML/CSS problem


Recommended Posts

Posted

Hey again! :)

I've been working on my guild's webbie, with success until now. For some reason, I can't align the images with the text.

 

http://www.neopets.com/~Anjel441995

 

As you can see, the Pirate Shoyru should be aligned to the right and the text should be beside him. :/ I've put align=right several times, but when I click on "preview" it looks the same and when I save the align disappears.

Any kind of help?

Posted

TNT have disabled old deprecated HTML codes - of which the align attribute is one :(

 

You can do it with CSS though, like this:

<style>
.right {float: right;}
</style>

And then your image tag is like this:

<img src="URL" class="right">

Should work I think, pretty sure float is still an allowed code... I know text-align:right CSS is, but I think from what you are saying above you want the float property because that will put the Shoyru image next to the text :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...