• When posting, please be aware that artistic nudity is still nudity and not allowed under RpNation rules. Please edit your pictures accordingly!

    Remember to credit artists when using work not your own.

Help Image float right inline display

RageOfInfinity

Improbability is a bad reason to disbelieve
I'm trying to get one image on one side of a div, and another on the other side, and to have them all have a zero margin with the top, but I can't seem to figure out how to do it. This is what I get. How do I get the image on the right to have no margin on the top?

220px-BH_LMC_3_303x230.png
hello
artificial_intelligence_benefits_risk_303x230.jpg
 
I'm trying to get one image on one side of a div, and another on the other side, and to have them all have a zero margin with the top, but I can't seem to figure out how to do it. This is what I get. How do I get the image on the right to have no margin on the top?

you'd have to either get the divs on the same line in the code, or wrap the whole thing in a [nobr][/nobr] tag
 
nobr makes it so that there are no line breaks, allowing you to press the enter button as much as you want without affecting the code
 

Users who are viewing this thread

Back
Top