Jump to content

How in the nation of tar can I display this image right next to my text box??


Recommended Posts

Hi!

 

This is probably so dumb of me, but I can write HTML pretty well, but I have never came across this problem before.

 

I am trying to display an arrow image to the right side of a text box that I have on the left side in the middle of the page. I want to position it in the center, to the right. See here http://fastdollar.us

 

See the text box labeled "step 1"? Then you see the arrow underneath it? I am trying to display that to the right center of the text box. It just keeps wanting to display underneath it. I have never ran into any problems like this before! Very odd. Probably some css hack could achieve this?

 

Thanks!

You need to put float:left on the div containing the form. That should wrap the content below around it.

 

Failing that. Put position: relative; on the main container div and then use absolute positioning on the arrow :)

 

Hope that helps

Ok, so now I have that floating to the left, and I put another one right next to it, but I set that to float right.

 

Now, how in tarnation do I allow text to go under it??!! Maybe I am not that great at HTML/CSS!?

 

CSS is a little rusty to me. I still havent learned it all.

Hi mate

 

Nice job - looks like you may have cracked it but...

 

What i usually do to stop the float is to pop in an empty div above wherever you want the float to stop and  give it a style of "clear: both;".  That then stops the content floating either left or right.

 

Hope that helps!

Hi mate

 

Nice job - looks like you may have cracked it but...

 

What i usually do to stop the float is to pop in an empty div above wherever you want the float to stop and  give it a style of "clear: both;".  That then stops the content floating either left or right.

 

Hope that helps!

Awesome! Thank you! Very good information to know, I learned alot. I will definitely use this and apply it in the future!

This thread is more than a year old. Please don't revive it unless you have something important to add.

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

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.