Jump to content

[SOLVED] Preventing image from wrapping


me1000

Recommended Posts

Here is my problem,

I have created a div that has a width of 100% Within the div there are 2 images, the right and left "ends".

problem: The left end looks fine, but the right end wraps to the next line (it is still aligned to the right though) in Firefox. It looks fin in Safari, and but I haven't tried it in IE...

 

here is the HTML, Ill post the css if requested, however i dont think that will be required, because I dont think the CSS is the problem.

 

<div class="space"><img src="images/left.gif" align="left;" height="19px" width="14px" /><img src="images/right.gif" align="right" height="19px" width="15px" /></div>

 

Again the "space" class is 100% width, so it is wider than both of those images combined,

Any ideas?

 

 

Thanks,

Link to comment
Share on other sites

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.