Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Div with image not rendering whole div??

    Ive noticed this is only a problem in IE6(and probably some more older browsers)...Firefox 3 and IE 7 it works fine.

    Visit this site: (you will have to do it twice because you need to login first.)

    http://ronnieswietek.com/flashden/newsletter/newsletter.php?do=preview&id=2


    u: admin
    p: testadmin

    I put a blue background on the div so you can understand what I am talking about. If you look at it in firefox, the blue covers the whole newsletter, text and images, but if you look at it in IE, it only does a small portion of it...Can anyone figure out this mystery???

    CSS for that section:
    Code:
    #newsletter_subject
    {
    	padding: 5px;
    	font-size: 18px;
    	color: #ffffff;
    	background-color:#999999;
    }
    
    #newsletter_preview
    {
    	overflow: auto;
    	background-color:#000066;
    }
    
    #recipients
    {
    	padding: 5px;
    	font-size: 18px;
    	color: #ffffff;
    	background-color:#999999;
    }
    and then the corresponding html:

    Code:
    <div id="newsletter_subject">flashden newsletter!</div>
    <br>
    <div id="newsletter_preview"><font size="6"><span style="font-weight: bold; color: rgb(153, 255, 153); font-family: georgia;">flashden <span style="text-decoration: line-through;">is</span> <span style="color: rgb(204, 0, 0); background-color: rgb(0, 0, 0);">awesome</span> <span style="font-family: impact; font-style: italic; text-decoration: underline; color: rgb(153, 255, 0); background-color: rgb(0, 51, 204);">I</span>!</span></font><br>
      <br>
      <img style="width: 202px; height: 261px;" alt="" src="http://flashden.net/new/site_flashden.net/interface/logo_top.gif" align="left"><br>
    </div>
    <br>
    <div id="recipients">This Newsletter WILL be sent to the following users:</div>
    etc.....

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,866
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Could you please save the document viewed from FF to a test page(html +css) and upload it?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Jul 2008
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Not sure if this is what you meant, but I saved it from FF and attached it. Remember you wont see it in Firefox though. This is only happening in IE 6 :[
    Attached Files Attached Files
    Last edited by rondog; 07-16-2008 at 07:13 PM.

  • #4
    New Coder
    Join Date
    Jul 2008
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Any chance you looked at it?

  • #5
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    You must've fixed it because it looks the same in both FF3 and IE6. (XP).
    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •