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 7 of 7
  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    3
    Member #
    19054
    i added an editable region to my body but when i look at it in internet explorer it leaves a gap above and below it. what could it be?

  2.  

  3. #2
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,656
    Member #
    1234
    Liked
    137 times
    Got a link to the page in question?
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com

  4. #3
    Senior Member aeroweb99's Avatar
    Join Date
    Feb 2008
    Location
    Port Huron, Michigan
    Posts
    1,037
    Member #
    16468
    Liked
    1 times
    I just had the exact same problem yesterday! In your css, set the margins for the p tag, and h tags, and other common tags. This will get them consistent for all browsers. This will also solve other layout problems and differences between browsers. I automatically do it at the start of a website.

  5. #4
    Junior Member
    Join Date
    May 2009
    Posts
    3
    Member #
    19054
    here is my code for the template and what the page looks like

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>TND Sales -  Banana Boxes - Pallets - Truckloads</title>
    <!-- TemplateEndEditable -->
    <link href="../tndsales.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
    
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
    
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <link rel="shortcut icon" href="C:\Users\Devin\Desktop\TND\favicon.ico">
    </head>
    
    <body onload="MM_preloadImages('../slices/images/ro/images/Home.gif','../slices/images/ro/images/About.gif','../slices/images/ro/images/Services.gif','../slices/images/ro/images/Contact.gif')">
    <div id="wrapper">
      <div id="header"></div>
      <div id="nav">
        <div id="nav_left">
          <div id="nav_left1"></div>
          <div id="nav_left2_home"><a href="../index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Home','','../slices/images/ro/images/Home.gif',1)"><img src="../slices/images/Home.gif" name="Home" width="90" height="33" border="0" id="Home" /></a></div>
        </div>
        <div id="nav_right">
          <div id="nav_right1">
            <div id="about"><a href="../about.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('About','','../slices/images/ro/images/About.gif',1)"><img src="../slices/images/About.gif" name="About" width="92" height="33" border="0" id="About" /></a></div>
            <div id="services"><a href="../services.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Services','','../slices/images/ro/images/Services.gif',1)"><img src="../slices/images/Services.gif" name="Services" width="82" height="33" border="0" id="Services" /></a></div>
          </div>
          <div id="nav_right2">
            <div id="contact"><a href="../contact.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Contact','','../slices/images/ro/images/Contact.gif',1)"><img src="../slices/images/Contact.gif" name="Contact" width="93" height="33" border="0" id="Contact" /></a></div>
            <div id="nav_right2_space"></div>
          </div>
        </div>
      </div>
      <div id="body1"></div>
      <!-- TemplateBeginEditable name="EditRegion3" -->
      <div id="body2">Content for  id "body2" Goes Here</div>
      <!-- TemplateEndEditable -->
      <div id="body3"></div>
      <div id="footer"></div>
    </div>
    </body>
    </html>
    Attached Images Attached Images

  6. #5
    Junior Member
    Join Date
    May 2009
    Posts
    3
    Member #
    19054
    well the site is up now so you can look at it there. its bananaboxsales.com

  7. #6
    Senior Member
    Join Date
    Dec 2008
    Posts
    483
    Member #
    17875
    Liked
    1 times
    why wouldnt u post CSS too?

  8. #7
    Junior Member UnionSquare's Avatar
    Join Date
    Jun 2009
    Location
    Hickory, NC
    Posts
    3
    Member #
    19089
    You can fix this by moving the editable region tags to the inside of the "body2" div container.

    <div id="body2">
    <!-- InstanceBeginEditable name="EditRegion3" -->
    .......
    <!-- InstanceEndEditable -->
    </div>

    Best regards,
    USC


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 01:04 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com