Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
SimplyTragic

HTML help

Recommended Posts

After I wrap the text around an image, I can't seem to make it go up any higher. I've tried the hspace, vspace coding  and it doesn't work. So far the only thing that is working  is the margin-left: 10px. Which is great, but I want the text to start from the top of the image and margin-top:0px doesn't work wither. I've even tried adding a textwrap class to the image and coding it like that, but that also isn't working. Am I doing something wrong? ANy help would be appreciated. 🙂

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

 

Link to post
Share on other sites

Apparently I had to add

}
img {
    float:left;
    display:inline-block;
    margin:0;
   
}

to the CSS and it worked like a charm.  I didn't even know about this and was always using hspace/vspace but Neopets doesn't like hspace/vspace cause when I added it and saved the page, it wasn't there in the coding.

Hope this helps out other people if they too are having issues with wrapping text around an image and want the text to start from the top of the image.

Link to post
Share on other sites

Here I am again! LOL

Can anyone tell me why Neopets doesn't like

position:fixed

in their coding? I can't get my footer to stick to the bottom of my lab log layout without it.

Link to post
Share on other sites

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...