SimplyTragic Posted September 19, 2020 Share Posted September 19, 2020 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 Quote Link to comment Share on other sites More sharing options...
CoconutDragon Posted September 19, 2020 Share Posted September 19, 2020 I'm not great with HTML but maybe try aligning the text on the right? I can't think of why it's not wrapping all the way to the top. Quote Link to comment Share on other sites More sharing options...
SimplyTragic Posted September 19, 2020 Author Share Posted September 19, 2020 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. CoconutDragon 1 Quote Link to comment Share on other sites More sharing options...
SimplyTragic Posted October 7, 2020 Author Share Posted October 7, 2020 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.