me1000 Posted December 20, 2007 Share Posted December 20, 2007 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, Quote Link to comment Share on other sites More sharing options...
Trium918 Posted December 20, 2007 Share Posted December 20, 2007 Try creating a container for both image. Maybe call them left_image and right_image, and float them left and right respectfully. float: left; And so forth. Quote Link to comment Share on other sites More sharing options...
me1000 Posted December 20, 2007 Author Share Posted December 20, 2007 That did it! Thank you! 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.