Page and background not centering

I am a beginner CSS coder, so I don't know that I did something very stupid:

I have a div wrapper, which is wide 850px. I set the margins to: 0 auto;

It looks good on a Mac in Firefox or Explorer, but seen on IE 5 or 6 on a PC, the background image is disabled and the site is embedded left - not centered.

My header div is 800px wide and centered, and my main contained dive is 800px centered, so the background image of the wrapper appear on the sides and top evenly.

Here's the url: http://www.hudsontrailers.com

Here's the css:

{body
background-color: #003300;
Police-family: Palantino "Times New Roman", Times, serif;
do-size: 1em;
text-align: left;
}

{#wrapper}
background-image: url (.. / images/bkgnd.jpg);
background-attachment: fixed;
Width: 850px;
height;
margin: 25px auto;
Padding: 25px 0;
}

#header {}
background-color: #003300;
border-top: medium solid #FFFFFF;
border-right: medium solid #FFFFFF;
border-left: medium solid #FFFFFF;
Width: 800px;
margin: 0 auto;
padding: 0;

}
#main {}
Clear: both;
background-image: url (.. / images/images/main_bkgnd.jpg);
Width: 800px;
Auto margin: 0;
padding: 0;
border-left: medium solid #FFFFFF;
border-right: medium solid #FFFFFF;
border-bottom: medium solid #FFFFFF;
}

Any help would be greatly appreciated.

Problem solved...

Added:

position: absolute;
left: 50%;
margin left:-425px;

to the div wrapper... all goes well now on IE 5 and 6.

Discovered that I should not include your suggestion to:

Body {text-align: center ;}}
#wrapper {text-align: left ;}}

Thanks a lot for your help!

Tags: Dreamweaver

Similar Questions

  • Connection problem: trying to connect to my computer at the title of the administrator, but after I put my login in it goes to check on the page and will not let me connect

    Try to connect to my computer as the administrator, but after I put my login in it goes to check on the page and will not let me connect. The regular connection for the computer works fine.  Any ideas?

    Try a system restore to a Date before the problem began:

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal 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.

    http://www.windowsvistauserguide.com/system_restore.htm

    Read the above for a very good graph shows how backward more than 5 days in the System Restore Points by checking the correct box.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    It is the instance of Vista installation.

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

    Adjust settings, manage user accounts.

    Try the Forum above to repost, if necessary.

    See you soon.

    Mick Murphy - Microsoft partner

  • I just bought a Canon 7 d, Mark II, new DellXPS and 5.2 of Lightroom.  The Lighthouse is not open the 7DMark II, but opens the older 7 d that I imported.  I checked the update of the home page and do not see one for the 7 5 d Mark II.  Please say what t

    I just bought a Canon 7 d, Mark II, new DellXPS and 5.2 of Lightroom.  The Lighthouse is not open the 7DMark II, but opens the older 7 d that I imported.  I checked the update of the home page and do not see one for the 7 5 d Mark II.  Please that's where - otherwise what.  I'm "waiting until what his doing."  Thank you.

    Upgrade to the current version, which is Lightroom 5.7.1. You can do it from the Lightroom Help menu and choose updates.

  • Pages and Keynote not updated every day their iOS may 10

    I manually chose to update Pages and Keynote in the iOS App Store on my iPhone. Now, (1) the icons are grayed out, (2) the apps does not open (3) apps will not delete and (4) applications are still needing to be updated... sort of (the shows the App Store Pages and Keynotes under "Updates on hold", but he seems to think that the updates have completed because it shows "Open" next to every app-screenshots below). I am running the latest version of iOS.

    What can I do to get apps working again?

    XSer,

    Follow the steps listed in: restart your iPhone, iPad or iPod touch - Apple Support

  • Win 10 update placed on the updates page, and does not update us '.

    We have a HP while a win 7 64-bit home premium.  We do not want to win 10 and hid all the updates that relate to what we know.  Now, to win 10 placed itself on the update page and wants to be installed.  It will not install to us of new updates of win 7.  What can we do?  Don't really like how microsoft has tried to impose it on everyone.  Please give us an answer.  Thanks Mammy37

    I had the same problem and used http://blog.ultimateoutsider.com/2015/08/using-gwx-stopper-to-permanently-remove.html

    I tried to hide the upgrade, but it came back in return. Finally forced to use the above with 'success' on the computers that I don't want to upgrade to Windows 10.

  • How to search for CompanyName, title of the post, the Web page and the Notes of BalckBerry Contact?

    Hi all

    I do not know how to recover CompnayName, job title, Web page and Notes

    contact BlackBerry.

    I retrieve the name, birthday, number of telephone and address. But I can't retrieve these values.

    Please help me

    Thanks in Advacne.

    Did you check out this article.

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800363/How_To _...

    It has BlackBerryContact.ORG, BlackBerryContact.TITLE mentioned in the example.

  • I work in forms in Adobe Acrobat Pro - My Add a text field and add the jump buttons checkbox in the page and do not place I wish it. How should I do?

    I'm working on a scanned page that I insert form fields. I used this exact page before with no problems, but now when I go to add a text field in the box, it jumps all over the page and not have a place where I want to. How can I solve this problem. I tried to open a blank version of the page and they all do the same thing.

    Go to view show/hide - leaders & Guides and uncheck the snap to grid

    option.

    Wednesday, June 11, 2014, at 8:42, surfer hawaii [email protected]>

  • I'm trying to translate an English page and can not find the command. Anyone know where it is?

    I try to access a Web site for more information and the link takes me to a page in a pictographic language (Japanese, Chinese, Korean). I can't find out how to ask Google or Firefox to translate the page in English. Someone knows how to do this? Thank you!

    Firefox does not have a built-in language translator, unfortunately. There are to many Add-ons that can connect to sites/services of translation of other companies, or possibly to make a translation in place. I have not tried these myself:

  • I tried to replace the start page in Firefox with my own choice of several times home page and will not be defined - I get the circle with the slash through it, when I try to drag the icon of the Web page at 'home '.

    I use Windows 7 Professional and have tried all the tips troubleshooting recommended for this problem. I don't have the new version of Firefox installed, because he had all kinds of problems, so I went back to the version that I had--I believe it's 3.6.24. Since then, I have not been able to define a home page. Any help out there? Thank you!

    Try to drag the tab or the favicon of the site on the Home button if currently drag you selected text.

    If this does not work with dragging the icon and then copy the URL to the Clipboard and paste it via Options window in the area of the home page.

    • Tools > Options > general > startup: Homepage

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • I'm doing a home page and may not know how.

    I have a homepage, but it was lost when I upgraded to Firefox 4.0. I can't find anything that tells how to do it again.

    You DO not pages with browsers. Display you them. If you try to set your default home page click on TOOLS - OPTIONS - GENERAL and enter the URL of the page that you want to use as default homepage (homepage), and then click OK.

  • circle of the clock is in the middle of the page and will not go

    The circle of the clock (not the whole) appeared in the middle of my screen and I can't get rid of it or move it. He stay ontop of all pages which makes it difficult to read the docs. does anyone have a solution to this problem

    Hello

    You mean the clock gadget? Looks like you have accidentally swipes on the desktop. If you click on it (close all open windows to simplify the operation), you should get the option to close/change/move icons it at the top right. retrieve the icon move and drag it to the sidebar.

    Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org

  • Smartphone app displays a blank Page and does not load

    My Webworks app installs without problem on the smarthpone.

    When I try to launch it by clicking on its icon, a blank page appears, and it just sits there.

    Nothing else happens.  I only have a web page in the program and it is called index.html.

    It's the first application for me, so maybe it's that I don't get something good in the config file. If someone could help me on this I would really appreciate it.

    Here's what I have in this file:


    http://www.w3.org/ns/widgets ".
    "xmlns:RIM ="http://www.blackberry.com/ns/widgets"
    version = "2.0" rim: header = "Streamer" >

    http://www.XXXXXXX.googlesites.com/"email ="[email protected]"> PL

    Streamer

    A streaming radio

    <>committees mode = "auto" / >


    onLocalPageLoad = "false" >




    Copyright (c) 2012
    THE SOFTWARE IS PROVIDED "AS WHAT ', WITHOUT WARRANTY OF ANY KIND,.
    EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE WARRANTIES OF
    MERCHANTABILITY, FITNESS HAS A PARTICULAR PURPOSE AND
    ABSENCE OF COUNTERFEIT. IN ANY CASE, THE AUTHORS OR COPYRIGHT HOLDERS
    BE RESPONSIBLE FOR ANY CLAIM, DAMAGE OR OTHER RESPONSIBILITY, THAT IN A
    ACTION OF CONTRACT, INSULT OR OTHERWISE, ARISING FROM, OUT WHERE IN
    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER TRANSACTIONS IN THE
    SOFTWARE.

    I finally managed to do come. Don't know what the problem was, however.

  • Application Icon page and splash not changed

    Hi all

    I am using 2.2 MAF

    I tried to change the page icon and splash application but it does not work and you still see a default icons iOS Simulator

    I changed all the icons to images of applications like the image below

    Screen Shot 2015-10-19 at 8.55.29 PM.png

    Thank you

    Thank you shafi548

    the problem is in the size of the icons, just I fixed sizes and it works fine

    Thanks again

  • Firefox not displaying only not the formatting of the page and do not play videos

    HI, I had this problem with Firefox for the past two days. It does not display the context and formatting of Web sites like Reddit, Mozilla and sometimes YouTube. He said several times that Web sites like youtube have an untrusted connection, and shockwave flash crashes. I tried to uninstall, clean and reinstall Firefox, I tried to fix it too... I have updated java, Flash and shockwave. Did a full scan of my computer with my Antivirus and Malwarebytes.

    None of these problems are on Chrome or Edge.

    The application databases

    Name: Firefox
    Version: 42.0
    Build ID: 20151029151421
    Update channel: output
    User Agent: Mozilla/5.0 (Windows NT 10.0;) WOW64; RV:42.0) Gecko/20100101 Firefox/42.0
    Windows multiprocessing: 0/1 (default: false)
    Safe mode: false

    Reports of incidents for the last 3 days

    Report ID: bp-b252c610-e860-4800-bb0e-4ef672151122
    Sent: 3 hours ago

    Report ID: bp-cdc8cb59-3c52-45b0-be02-7fb2e2151121
    Sent: 2 days ago

    All Crash reports (including 12 pending hangs in the given time interval)

    Extensions

    Graphics

    Description of the adapter: Intel(r) HD Graphics 530
    Adapter (GPU #2) Description: NVIDIA GeForce GTX 960 M
    Drivers: igdumdim64 igd10iumd64 igd10iumd64 igd12umd64 igdumdim32 igd10iumd32 igd10iumd32 igd12umd32
    Drivers (GPU #2): nvd3dumx, nvwgf2umx, nvwgf2umx, nvwgf2umx, nvd3dum, nvwgf2um, nvwgf2um, nvwgf2um
    RAM card: unknown
    RAM (#2 GPU) card: 4095
    Asynchronous Pan/Zoom: no
    Device ID: 0x191b
    Device ID (GPU #2): 0x139b
    DirectWrite Enabled: false (10.0.10240.16430)
    Driver date: 24/08/2015
    Driver (GPU #2) date: 13/11/2015
    Driver version: 10.18.15.4279
    (GPU #2) driver version: 10.18.13.5900
    GPU #2 Active: false
    GPU accelerated Windows: 0/1 Basic (OMTC)
    SubSys ID: 10391025
    SubSys ID (GPU #2): 10391025
    Supports decoding H264 Hardware: false
    Vendor ID: 0 x 8086
    Vendor (GPU #2) ID: 0x10de
    WebGL Renderer: Google Inc. - ANGLE (Intel(r) HD Graphics 530 Direct3D11 vs_5_0 ps_5_0)
    windowLayerManagerRemote: true
    AzureCanvasBackend: skiing
    AzureContentBackend: Cairo
    AzureFallbackCanvasBackend: Cairo
    AzureSkiaAccelerated: 0

    Important change preferences

    Browser.cache.Disk.Capacity: 358400
    Browser.cache.Disk.filesystem_reported: 1
    Browser.cache.Disk.smart_size.first_run: false
    Browser.cache.Disk.smart_size.use_old_max: false
    Browser.cache.frecency_experiment: 2
    browser.download.importedFromSqlite: true
    browser.download.useDownloadDir: false
    browser.places.smartBookmarksVersion: 7
    browser.sessionstore.upgradeBackup.latestBuildID: 20151029151421
    Browser.Startup.homepage_override.buildid: 20151029151421
    Browser.Startup.homepage_override.mstone: 42.0
    DOM.apps.Reset - permissions: true
    dom.mozApps.used: true
    extensions.lastAppVersion: 42.0
    font.internaluseonly.Changed: false
    GFX. Direct2D.disabled: true
    GFX. Direct3D.last_used_feature_level_idx: 0
    GFX. Driver - init.appVersion: 42.0
    GFX. Driver - init.deviceID: 0x191b
    GFX. Driver - init.driverVersion: 10.18.15.4279
    GFX. Driver - init.feature - d2d: true
    GFX. Driver - init.feature - d3d11: true
    GFX. Driver - init.status: 2
    layers. Acceleration.Disabled: true
    Media.GMP - th - adobe.abi: x 86-msvc
    Media.GMP - th - adobe.enabled: false
    Media.GMP - th - adobe.lastUpdate: 1448119635
    Media.GMP - th - adobe.version: 15
    Media.GMP - gmpopenh264.abi: x 86-msvc
    Media.GMP - gmpopenh264.enabled: false
    Media.GMP - gmpopenh264.lastUpdate: 1448117718
    Media.GMP - gmpopenh264.version: 1.5.1
    Media.GMP - manager .buildID: 20151029151421
    Media.GMP - manager .lastCheck: 1448223560
    Media.Hardware - video-decoding successful: false
    network.cookie.prefsMigrated: true
    Network.Predictor.cleaned - up: true
    places.database.lastMaintenance: 1448151756
    places. History.expiration.transient_current_max_pages: 104858
    plugin.disable_full_page_plugin_for_types: application/pdf,application/vnd.fdf
    plugin.importedState: true
    plugin. State.Java: 2
    plugin. State.np_wtapp: 0
    plugin. State.np32dsw: 2
    plugin. State.npctrl: 2
    plugin. State.npdeployjava: 1
    plugin. State.npfoxitphantompdfplugin: 0
    plugin. State.npintelwebapiipt: 0
    plugin. State.npintelwebapiupdater: 0
    plugin. State.npitunes: 0
    plugin. State.NPSPWRAP: 0
    privacy.sanitize.migrateFx3Prefs: true
    Security.default_personal_cert: automatic selection of
    Security.disable_button.openCertManager: false
    Security.disable_button.openDeviceManager: false
    Security. OCSP.enabled: 0
    Storage.vacuum.Last.index: 0
    Storage.vacuum.Last.places.sqlite: 1448151756

    Important preferences locked

    JavaScript

    Incremental GC: true

    Accessibility

    Enabled: false
    Prevent accessibility: 0

    Versions of the library

    NSPR
    The expected minimum version: 4.10.10
    Version: 4.10.10

    NSS
    The expected minimum version: 3.19.4 based ECC
    Version: 3.19.4 based ECC

    NSSSMIME
    The expected minimum version: 3.19.4 based ECC
    Version: 3.19.4 based ECC

    NSSSSL
    The expected minimum version: 3.19.4 based ECC
    Version: 3.19.4 based ECC

    NSSUTIL
    The expected minimum version: 3.19.4
    Version: 3.19.4

    Experimental features

    You can check for problems with the current versions of the plugin Shockwave Flash and try this:

    See also:

  • Since the upgrade to 3.6.13, I can more open tabs using the extension, by right-clicking on the page and then not always. I had to go to Chrome that I can't get firefox to work.

    Firefox worked fine. I used it for years. When I finished the recent update 3.6.13, the new tab button/extension bit + box work quitting smoking. I can click on and nothing happens. I right click, get the drop down menu but nothing works. I can't open a blank tab or windwo as when I want to go somewhere again without closing windows I opened. The only way I can access a new tab is if I go to my favorites and open one then use this screen to go where I wanted to go. I had to switch to Google Chrome to perform tasks, line I need do it online, but it doesn't let me do a lot of what I want.

    The Ask toolbar is initially in the version of Firefox 3.6.13. Obviously something in this extension is not compatible with a Firefox security patch. Disable this extension or uninstall it.

Maybe you are looking for