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, Link to comment https://forums.phpfreaks.com/topic/82450-solved-preventing-image-from-wrapping/ 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. Link to comment https://forums.phpfreaks.com/topic/82450-solved-preventing-image-from-wrapping/#findComment-419211 Share on other sites More sharing options...
me1000 Posted December 20, 2007 Author Share Posted December 20, 2007 That did it! Thank you! Link to comment https://forums.phpfreaks.com/topic/82450-solved-preventing-image-from-wrapping/#findComment-419216 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.