Page is more focused in Internet Explorer after adding the div around the page

I am teaching Dreamweaver.

Here's the context: I modified the page properties to focus successfully. Then I wrap a div autour p [era with a CSS that gives the upper inner margin of 30 px. That's when IE shows the paginated centered for a 1/2 second then it becomes left-aligned. If I refresh the page, it centered. FF and Chrome have also no problem. Everthing is also good in DW preview, he'll just left aligned when I download.

My first page is OK, but the other three Center in Internet Explorer.  www.silverlightprod.com

Here is the code for one of the pages that will not focus: (thank you)

< html >
< head >
contactus < title > < /title >
< meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 ">"
< script type = "text/javascript" >
function MM_swapImgRestore() //v3.0 {}
var i, x = offline. MM_sr; for (i = 0; a & & I <.) 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 is d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i <.) 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]) & & copyrights) 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 >
< style type = "text/css" >
{#contactus}
background-color: #666;
padding-top: 30px;
height: 100%;
Width: 100%;
}
{body
background-color: #666;
}
< / style >
< / head >
< body bgcolor = "#666666" leftmargin = "0" topmargin = "0" marginWidth = "0" marginheight = "0" onLoad = "MM_preloadImages (" images/homeBtn2.gif','images/docBtn2.gif','images/videoBtn2.gif ',' images/contactBtn2.gif ' ")" >
<! - except for the Web Slice (contactus.psd) components - >
< div id = "contactus" >

< table width = "1027" height = "576" border = "0" align = "center" cellpadding = "0" cellspacing = "0" id = "Table_01" >
< b >
< td width = "274" rowspan = "4" >
< img src = "images/slpLogo.jpg" alt = "logo" width = '274' height = '97' border = '0' > < table > "
< td colspan = "5" >
< img src = "images/topBlackBar.gif" width = "753" height = "34" alt ="" > < table > "
< /tr >
< b >
< td colspan = "2" >
< img src = "images/topBlackBar - 03.gif" width = "322" height = "1" alt = "" > < table >
< td width = "245" rowspan = "2" > < a href = "slpWebVideoMarketing.html" Mm_swapimgrestore"onMouseOver =" MM_swapImage ('Image13' ", ' images/videoBtn2.gif', 1)" > < img src = images/videoBtn.gif"" name = "Image13" width = "245" height = "37" border = "0" > < /a > < table >
< td width = "122" rowspan = "2" > < a href = "slpContactus.html" Mm_swapimgrestore"onMouseOver =" MM_swapImage ('Image14', ", ' images/contactBtn2.gif', 1)" > < img src = images/contactBtn.gif"" name = "Image14" width = "122" height = "37" border = "0" > < /a > < table >
< td width = "68" rowspan = "3" >
< img src = "images/slpContactus_06.gif" width = "64" height = "63" alt ="" > < table > "
< /tr >
< b >
"< td width ="103"> < a href ="index.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image11'", ' images/homeBtn2.gif', 1) "> < img src =" images/homeBtn.gif "name ="Image11"width ="103"height ="36"border ="0"> < /a > < table >
"< td width ="219"> < a href ="slpFHD.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image12',", ' images/docBtn2.gif', 1) "> < img src =" images/docBtn.gif ' name = 'Image12' width = '219' height = '36' border = '0' > < /a > < table >
< /tr >
< b >
< td colspan = "4" >
< img src = "images/underNavBlackBar.gif" width = "689" height = "26" alt ="" > < table > "
< /tr >
< b >
< td colspan = "6" >
"< img src =" images/contactus.jpg"alt =" "width ="1027"height ="75"border = '0' > < table >
< /tr >
< b >
< td colspan = "6" > < form name = "form1" method = "post" action = "FormToEmail.php" >
< table width = "100%" border = "0" align = "center" cellpadding = "5" cellspacing = "0" bgcolor = "#FFFFFF" >
< b >
< td > < table >
< td > < table >
< td > < table >
< /tr >
< b >
< td width = "25%" > < table >
< td width = "14%" > name < table >
< td width = "61%" > < input type = "text" name = "first" id = 'first' > < table >
< /tr >
< b >
< td > < table >
Last name < td > < table >
< td > < input type = "text" name = "last" id = "last" > < table >
< /tr >
< b >
< td > < table >
Email < td > < table >
< td > < input type = "text" name = "email" id = "email" > < table >
< /tr >
< b >
< td > < table >
Phone < td > < table >
< td > < input type = "text" name = 'phone' id = 'phone' > < table >
< /tr >
< b >
< td > < table >
Comments < td > < table >
< td > < textarea name = "comments" id = cols 'comments' = "45" rows = "5" > < / textarea > < table >
< /tr >
< b >
< td > < table >
< td > < table >
< td > < input type = "submit" name = "Submit" id = "Submit" value = "Submit" > < table >
< /tr >
< b >
< td > < table >
< td > < table >
< td > < table >
< /tr >
< b >
< td > < table >
< td > < table >
< td > < table >
< /tr >
< b >
< td > < table >
< td > < table >
< td > < table >
< /tr >
< b >
< td > < table >
< td > < table >
< td > < table >
< /tr >
< b >
< td > < table >
< td > < table >
< td > < table >
< /tr >
< /table >
< / form > < table >
< /tr >
< b >
"" < td colspan = "6" bgcolor = "#88B5CA" > < a href = "mailto:[email protected]" > < img src = "images/calltoday.gif" width = "1027" height = "101" alt = "" > < /a > < table >
< /tr >
< /table >

< / div >
<!--end Save for Web Slice components-->
< / body >
< / html >

Take a look at this piece of code, especially the part highlighted

topmargin LeftMargin = "0" = "0" marginWidth = "0" marginheight = "0" onLoad = "MM_preloadImages (" images/homeBtn2.gif','images/docBtn2.gif ',' images/videoBtn2.gif','images/contactBtn2.gif'")" > "

Personally, I would delete all margins and the bgcololor of the body tag. The background color has already been made with your CSS as follows

{body
background-color: #666;
}

GRAMPS

Tags: Dreamweaver

Similar Questions

  • Firefox uses the page host internet explorer after restarting the PC, even if I change again, it passes every time

    I use a laptop for my work. I have internet explore what is necessary for our things work related and internet intranet explore uses the intranet homepage of our work. I also use firefox and want to use a different home page (IE Bing, google, whatever...). So things work related I use IE, for web browsing of non-working, I use firefox. Recently whenever I reboot my PC and launch firefox, firefox uses my Explorer (working on the intranet) home page internet. I then easily reset on my preference (bing.com) and as long as the PC is on, if I close and Open firefox it keeps bing.com as my home page. I could do this 20 x and it will keep the bing.com homepage. However when I shut down and restart the PC, firefox goes back to the use of the IE homepage (on the intranet of the work). Is there a permanent way to fix this. Our IT Department has been no help. Started a week before what is happening they upgraded our computers to internet explore 11. I tried to reset Firefox but that does not solve the problem.

    Hi hunted, something is change or replace your prefs.js file.

    Maybe you can thwart it by creating a user.js file. This file is read at startup of Firefox and replace prefs.js. Basically, it only needs a single line, if you could open prefs.js in a text editor after you have corrected to the homepage preference, use Save as to create user.js and then remove all the lines and save/close.

    More information on user.js: http://kb.mozillazine.org/User.js_file

  • Unable to access Internet Explorer after installing the Service Pack 3. Get the error of "Data Protection".

    Service Pack 3 problems

    Recently downloaded service pack 3 and cannot get into Internet Explorer 8 as 'Data Protection' will not allow.  Anyone know how to fix this?

    Hi Courtney,

    ·         Are you referring to Data Execution Prevention (DEP)?

    If so, check if turn off DEP support. To do this, follow these steps.

    a. click Start, click run, type sysdm.cpland then click OK.

    b. on the tab Advanced , under performance, click settings.

    c. on the Data Execution Prevention tab, use one of the following procedures:

    ·         Select the check box next to the program that you want to turn off DEP for and then click OK.

    ·         If the program is not in the list, click Add. Navigate to the folder Program Files , search for the executable file of the program (it will have the .exe extension) and then click Open.

    For more information on DEP, see the following article.

    A detailed description of the feature Data Execution Prevention (DEP) in Windows XP Service Pack 2, Microsoft Windows XP Tablet PC Edition 2005, and Windows Server 2003

  • Can't access Internet Explore after installing the updates of Windows 8

    We are also having the same problem with the installation of these most recent updates; even if the updates are installed, we are unable to access the Internet Explorer. (Click on 'Internet' and the screen flashes back on the desktop.  It is possible that we are not quite versed in troubleshooting. that, perhaps there is another reason the inability to access the Internet.  If so, we welcome any help and suggestions to fix our problem.  Thanks, * address email is removed from the privacy *.

    Hi Marie Thérèse: It turns out that the problem with our provider ISP share the connection between the telephone lines and network service: we called our provider ISP on this issue after you reset Internet Explorer as well as restore to our file system.  The problem has been resolved.  As a matter of interest for others who may have a similar problem with Internet Explorer, we suggest that he contact their ISP provider to determine if the problem can be solved.  Please contact me.  * E-mail address is removed from the privacy *

  • Internet Explore cannot display the page

    Hi all

    I m new to this and I need a little help that one when I connect to a Web page, he says internet explore cannot display the page. Any ideas how I can fix this problem? Be grateful for any help.
    Thank you all.

    First question;
    Haven't you set up the modem or the router correctly?

    Maybe your connection to the ISP (Internet service provider) was not set properly and so you are not able to connect to internet!

    Have you tried to connect to the internet with other computers?

    Reading your post I n t think that there is something wrong with the laptop

  • Problem with loading of internet Explorer after windows update on Vista

    I am constantly find the latest update of Windows lets me be connected to the internet but does not allow me to open Web pages, turning the Internet Explorer cannot display the Web page message.  I can go back to before the update but it is only a temporary solution as the update downloads daily

    How to fix Internet Explorer on Vista crash

    http://www.Vistax64.com/tutorials/114310-Internet-Explorer-reset.html>

    Internet Explorer Add-ons: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/Internet-Explorer-Add-ons-frequently-asked-questions >

  • I use to be able to access farmville 2 on my laptop with no problems. However for the last week I get, it's the Internet Explore cannot display the Web page.

    I ran the scan of the internet Explorer and it says to make sure that the ssl 2 and 3 more tls is checked and they are but still no luck. Does anyone have a solution to this problem

    Hi Robert,.

    1. This does happen with all the other sites?

    2 have had any changes made to the computer before the show?

    Please follow the steps from the link and check that it works very well.

    See the link.

    "Internet Explorer cannot display the webpage" error in Internet Explorer

    http://support.Microsoft.com/kb/956196/en-us

    NOTE: The Reset Internet Explorer Settings feature might reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    For all windows questions do not hesitate to contact us and we will be happy to help you.

  • my computer is connected to the internet but internet Explorer displays the message "internet explore cannot open the search page.

    my computer is connected to the internet but internet Explorer displays the message "internet explore cannot open the search page.

    Hello

    1. are you able to use with other applications that connect to the Internet?

    2. when exactly you get this error message?

    3. should we come up with any specific Web site?

    4. what version of Internet Explore do you use?

    5. don't you make changes to the computer until the problem occurred?

    6. the problem occurs in safe mode with networking?

    I suggest you follow the methods listed in order of appearance in the following Microsoft KB article:

    How to optimize Internet Explorer:

    http://support.Microsoft.com/kb/936213/no

    Important: Reset Internet Explorer to its default configuration. This step will disable also any add-ons, plug-ins or toolbars that are installed. Although this solution is fast, it also means that, if you want to use one of these modules in the future, they must be reinstalled.

    For your reference: Internet Explorer could not open the Search Page.  http://support.Microsoft.com/kb/219004

    Hope this information is useful.

  • having a wireless connection can only connect at home, at work, he says internet explore cannot display the Web page

    I have a laptop when I use the wireless at home I have no problem, but when I use the internet at work I can not connect it says Internet Explore cannot display the Web page so I have no internet access

    Can you help me

    Try to run diagnose connection problem, if it is in the work, you will probably need to configure some additional things such as VPN or Proxy, try to contact your IT Department and ask them.

  • Impossible to go online using Internet Explore after installing updates

    Title: I use Windows Vista Home Ed and after installing Windows updates 08/22/2012 (7 in total) I can't access any site on Internet Explorer without using the system restore

    I use Windows Vista Home Ed and after installing Windows updates 08/22/2012 (7 in total) I can't access a website on Internet Explorer. I need to restore my computer to the 21/08/2012 and then, all right, but I don't want to have to do that every day. Any ideas?

    The Windows updates were installed automatically and there was 7, so I can't identify which could be the cause of the problem. I also have access to internet via Sky which is my broadband provider. I use Internet Explorer 9.

    Hello

    -You have Windows Vista SP1 or SP2 installed on your computer?
    -What is the error message accurate/complete that you receive when you try to go online using Internet Explorer after you install the updates?
    -Is the issue not limited only with Internet Explorer or other web browsers?
    -What software Antivirus installed on your computer?
     
    Method 1: I suggest to follow the steps from the link below and check if the problem persists.
    Can't access some Web sites in Internet Explorer
    Warning: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings
     
    Method 2: If the problem persists, I suggest you to see link below and check if it helps.
    "Internet Explorer cannot display the webpage" error in Internet Explorer
    For reference:
    Tips for solving problems when Internet Explorer hangs or stops working
     
    Method 3: I also suggest that you install the updates in Mode safe mode with Networking if it is wired connection.
    Startup options (including safe mode)
     
    For reference:
     
    Hope this information helps.
  • Internet Explore cannot display the Web page when you try to test bt broadband speedtest

    still not able to test my speed on bt broadband speedtest after going through the procedure that it is to the top of the internet Explorer cannot display this webpage that this also happens on other sites that I could access before, IAM

    Hi p Brody,

    ·         What version of IE are you using?

    ·         How long have you been faced with this problem?

    ·         Did you do changes on the computer before the show?

    I suggest you follow the article and check if it helps.

    "Internet Explorer cannot display the webpage" error when you view a Web site in Internet Explorer

    http://support.Microsoft.com/kb/956196

    I hope this helps.

  • Internet Explorer cannot display the Web page - trying to restore as soon as possible a system restore point

    I get Internet Explorer cannot display the webpage message on my cell phone.

    I can get my desktop to connect to the internet, so it is not an ISP issue.  The laptop can see the router so it's not the question.

    I ran the network diagnostic and that did nothing.  I call my ISP helpdesk and they said it was a known issue with Vista after last update.  Therefore, they suggested that I tried to do a system restore to an earlier point.

    I tried to do this, but the system comes back and says that he did not work properly and gives an error unspecified as to why it did not work.

    Was the ISP Helpdesk right what I try next?

    Thank you

    Mark

    Problems with system restore:

    http://Service1.Symantec.com/support/sharedtech.nsf/pfdocs/2005113009323013

    1. If you use Norton (Etc), disable it before using System Restore. info at the link above.

    2. try SR in safe mode:

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    3 Malware will stop at the system restore:

    If necessary, do all the workSafe Mode with network.

     

    To get intoSafe Mode with network, press F8 at the Power On / boot and use key arrow upward to get intoSafeMode with networking from the list of options, and then press ENTER.

    http://www.Malwarebytes.org/MBAM.php

    Malwarebytes is as its name suggests, a Malware Remover!

    Download the free Version from the link above.

    Download, install, upgrade and scan once a fortnight.

    See you soon.

    Mick Murphy - Microsoft partner

  • Internet Explore cannot display the page Web/http Protocol

    I HAV windows vista home basic 32 bit.i spin ie8/sp2.i'm not having a problem connecting 2 internet. However the sum of the sites that I visit regularly, I can't no longer view.i will give right to a page that says internet explore cannot display the webpage.when I click on button problem diagnose it says something about a protocal.again http this product only on a few sites.is it is possible that something I downloaded changed my settings? I HAV uninstall programs that I downloaded such as the toolbar.but of myspace toolbar and yahoo, that has not fixed my problem.please help.

    It comes with Vista, upgrade install and activate Forum.

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/threads

    They will help you with your question IE in Forum Internet Explorer above.

    See you soon. Mick Murphy - Microsoft partner

  • to access https URLs EBS R12.1.3 leads to "Internet Explorer cannot display the webpage"


    Hi all

    DB: 11.2.0.3.0

    EBS:12.1.3

    O / S:Solaris 64-bit SPARC

    IE browser: 9.0

    Description of the problem

    Cloned target database TEST1 TEST2 source RMAN full backup database. But the access to the url https EBS R12.1.3 leads to "Internet Explorer cannot display the webpage"?

    AutoConfig results on DB and Apps Tier and also ran ojspcompile, but still the same issue.

    $ perl ojspCompile.pl - compile - hunting Pei 2

    set of log file: / t000/test1/inst/apps/TEST1_Hostname/logs/appl/rgf/ojsp/ojsp

    from... (by him compiling all)

    using 10i internal ojsp worm: 10

    synchronization of dependency:

    deplist loading... 8095

    enumeration of JSP pages... 8095

    update dependency... 0

    initialization of compilation:

    eliminating the children... 6024 (-2071)

    translation and compilation:

    translate JSP pages... 6024/6024 in 7m50s

    the jsp compilation... 6024/6024 in 35m17s

    Finished!

    Bounced A services after always the same question. Could someone please share the fix if encountered such a problem before.

    Thanks for your time,

    user10088255

    Problem is solved.

  • HP Photo essential 3.5 work anymore and say internet explore checks to the solution.

    Original title: HP Photo essential 3.5

    When I open photo 3.5 essential, once a minute or so, it stops to work and say internet Explorer checks for the solution. So basically, when I go there to do she anything close.

    Hello
    UN-install no matter what program won't uninstall the settings and data of that particular program.
    UN-installing Hp Photo essential 3.5 will not uninstall the photos corresponding to this.
    Note: For more details, you can contact HP.
    For issues with Windows Live Photo Gallery you can post here: http://answers.microsoft.com/en-us/windowslive/forum/gallery

Maybe you are looking for

  • How can I block quick filter Bar permanently?

    I can uncheck quick filter in the view bar, but he's back on the next start upward. I do not use it, and it takes up to messagespace on the screen. I'm NOT using CCleaner.

  • Wireless and Windows 8.1 (H520)

    (Lenovo H520) I just upgraded to 8.1 Windows and the loss of the wireless network. I downloaded & installed the driver software 64-bit, but still nothing. Any suggestion would be appreciated.

  • Windows does not load after the recent update

    Hi ormondroydste, Thanks for posting. You can change the registry without Vista installation disc. What happens when you try to use the Startup Repair tool and system restore?Are receive you error messages and you can post on this forum?Your backup s

  • HP support assistant updates failling

    HPSA was on "auto" for so long I just fgorgot on this subject. But I noticed recently that the final analysis was conducted in February! So, I tried to run a "health analysis. But, all of the updates fail. Anyone have any suggestions?

  • stuck in the disk drive

    * - Original title - DVD windows media player Media Player is blocked with a CD player. How can I release it?