Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Junior Member
    Join Date
    Dec 2006
    Posts
    9
    Member #
    14524
    Hello everyone, I am having a problem with and image overlapping other content, It works fine in IE, but not in Firefox, It will not happen if I define a height, but the content is more than the defined height, but then that overlaps the footer.

    Code of interest.

    *EDIT* It appears that this is happening because there is not enough text for the div to expand, I have tested this by just entering some random text and the overlapping does not occur as there is enough text for the image to wrap around. Is there a way for a div tag to stretch as I think is the image float property that is causing the problem. Thanks.
    PHP Code:
    #content
    {
        
    text-alignjustify;
        
    color#3585af;
        
    padding5px;
        
    font-size10px;
        
    font-familyVerdanaArialHelveticasans-serif;

    PHP Code:
    <img src="img/shop.jpg" class="floatRight"
    PHP Code:
    #main2
    {
        
    border-left3px solid #3585af;
        
    border-right3px solid #3585af;
        
    heightauto;
        
    width704px;
        
    marginauto;

    Thanks for any help.

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:14 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com