I built a website and it doesn't display correctly

The image that I insterted at the top extends beyond the box.
www.diamond-pestcontrol.com.
I want the site to resize for the viewer so it's viewable on a small laptop, tablet, wide screen, phone etc.
I can't figure out how to do that let along how to get that top of the page to stay within the below borders.
Any help would be greatly appreciated.
I am using Adobe Dreamweaver CS5

PART #1 Change what you have now in your HTML to this:
<div class="header">
<img src="Diamond Pest Control Graphic 27.gif" alt="banner">
<!-- end .header --></div>
<div class="content">
<h1>Thanks for visiting Diamond Pest Control</h1>
PART #2
Change this in your CSS:
body {
    font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
    background: #4E5869;
    margin: auto;
    margin:0 auto;
    padding: 0;
    color:#000;
    color: #FFF;
    background-color: #000000;
    height: 0px;
div align="center"></div>
.container {
    width: 80%;
    max-width: 1260px;/* a max-width may be desirable to keep this layout from getting too wide on a large monitor. This keeps line length more readable. IE6 does not respect this declaration. */
    min-width: 780px;/* a min-width may be desirable to keep this layout from getting too narrow. This keeps line length more readable in the side columns. IE6 does not respect this declaration. */
    background: #FFF;
    margin: auto; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
    margin: 0 auto;
    color:#000;
ADD THIS TO YOUR CSS:
#header img {
     width:100%;
     vertical-align:baseline;
EDIT:  Forgot to add black color to #container CSS.
Nancy O.
Message was edited by: Nancy O. 

Similar Messages

  • Firefox Doesn't display correctly and is very laggy on sites with CloudFlare DDoS Protection

    Since 35.0 and above i have been getting weird behaviour on sites with CloudFlare DDoS protection.
    When i open the site in a new window, it takes a really long time and sometimes doesn't display at all and gives me a blank page. and now it just starts to say "New Tab" and i can't hit refresh.
    When the site actually loads after 20 something attempts, the site is laggy, any action takes upwards of 20 seconds.
    Whenever i try to open something, i get a blank page with the URL at tabs. Whenever i try to like or post anything, it delays by 15-20 seconds.
    Site i am trying to use with much failure. http://hypixel.net/
    Anyone else having this issue?

    ''Gnospen [[#answer-693501|said]]''
    <blockquote>
    maybe it would help if you open "troubleshooting information" (under help)
    and copy it to clipboard and paste it here
    </blockquote>
    "application": {
    "name": "Firefox",
    "version": "35.0.1",
    "userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0",
    "supportURL": "https://support.mozilla.org/1/firefox/35.0.1/WINNT/en-US/",
    "numTotalWindows": 1,
    "numRemoteWindows": 0
    "crashes": {
    "submitted": [
    "id": "bp-267af71f-8bf3-46cc-883e-ff65e2150222",
    "date": 1424594056152,
    "pending": false
    "pending": 1
    "modifiedPreferences": {
    "accessibility.typeaheadfind.flashBar": 0,
    "browser.cache.disk.smart_size.first_run": false,
    "browser.cache.disk.smart_size.use_old_max": false,
    "browser.cache.disk.capacity": 358400,
    "browser.cache.disk.smart_size_cached_value": 358400,
    "browser.cache.frecency_experiment": 4,
    "browser.fixup.domainwhitelist.googler": true,
    "browser.fixup.domainwhitelist.google": true,
    "browser.fixup.domainwhitelist.gmail": true,
    "browser.fixup.domainwhitelist.totaldramawiki": true,
    "browser.fixup.domainwhitelist.omegle": true,
    "browser.newtab.url": "http://mystart.incredibar.com/?a=6PRnKQcHXQ&i=26&did=10963&loc=skw",
    "browser.places.smartBookmarksVersion": 7,
    "browser.sessionstore.upgradeBackup.latestBuildID": "20150122214805",
    "browser.sessionstore.max_resumed_crashes": 100,
    "browser.sessionstore.enabled": true,
    "browser.startup.homepage_override.mstone": "35.0.1",
    "browser.startup.homepage": "http://mystart.incredibar.com/?a=6PRnKQcHXQ&i=26&did=10963&loc=skw|http://www.youtube.com/",
    "browser.startup.homepage_override.buildID": "20150122214805",
    "dom.max_chrome_script_run_time": 0,
    "dom.mozApps.used": true,
    "extensions.lastAppVersion": "35.0.1",
    "font.internaluseonly.changed": true,
    "gfx.direct3d.last_used_feature_level_idx": 0,
    "keyword.URL": "http://mystart.incredibar.com/?a=6PRnKQcHXQ&i=26&did=10963&loc=skw&search=",
    "media.gmp-gmpopenh264.lastUpdate": 1423171183,
    "media.gmp-gmpopenh264.version": "1.3",
    "media.gmp-manager.lastCheck": 1424516177,
    "network.cookie.prefsMigrated": true,
    "places.database.lastMaintenance": 1424565640,
    "places.history.expiration.transient_current_max_pages": 104858,
    "plugin.disable_full_page_plugin_for_types": "application/pdf",
    "plugin.state.nppdf": 2,
    "plugin.importedState": true,
    "privacy.sanitize.timeSpan": 0,
    "privacy.cpd.cookies": false,
    "privacy.sanitize.migrateFx3Prefs": true,
    "privacy.cpd.sessions": false,
    "storage.vacuum.last.places.sqlite": 1424326926,
    "storage.vacuum.last.index": 1
    "lockedPreferences": {},
    "graphics": {
    "numTotalWindows": 1,
    "numAcceleratedWindows": 1,
    "windowLayerManagerType": "Direct3D 11",
    "windowLayerManagerRemote": true,
    "adapterDescription": "Intel(R) HD Graphics 4000",
    "adapterVendorID": "0x8086",
    "adapterDeviceID": "0x0166",
    "adapterSubsysID": "00000000",
    "adapterRAM": "Unknown",
    "adapterDrivers": "igdumd64 igd10umd64 igd10umd64 igdumd32 igd10umd32 igd10umd32",
    "driverVersion": "8.15.10.2712",
    "driverDate": "3-26-2012",
    "adapterDescription2": "",
    "adapterVendorID2": "",
    "adapterDeviceID2": "",
    "adapterSubsysID2": "",
    "adapterRAM2": "",
    "adapterDrivers2": "",
    "driverVersion2": "",
    "driverDate2": "",
    "isGPU2Active": false,
    "direct2DEnabled": true,
    "directWriteEnabled": true,
    "directWriteVersion": "6.2.9200.16571",
    "webglRenderer": "Google Inc. -- ANGLE (Intel(R) HD Graphics 4000 Direct3D9Ex vs_3_0 ps_3_0)",
    "info": {
    "AzureCanvasBackend": "direct2d",
    "AzureSkiaAccelerated": 0,
    "AzureFallbackCanvasBackend": "cairo",
    "AzureContentBackend": "direct2d"
    "javaScript": {
    "incrementalGCEnabled": true
    "accessibility": {
    "isActive": false,
    "forceDisabled": 0
    "libraryVersions": {
    "NSPR": {
    "minVersion": "4.10.7",
    "version": "4.10.7"
    "NSS": {
    "minVersion": "3.17.2 Basic ECC",
    "version": "3.17.2 Basic ECC"
    "NSSUTIL": {
    "minVersion": "3.17.2",
    "version": "3.17.2"
    "NSSSSL": {
    "minVersion": "3.17.2 Basic ECC",
    "version": "3.17.2 Basic ECC"
    "NSSSMIME": {
    "minVersion": "3.17.2 Basic ECC",
    "version": "3.17.2 Basic ECC"
    "userJS": {
    "exists": true
    "extensions": [
    "name": "Adblock Plus",
    "version": "2.6.7",
    "isActive": false,
    "id": "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}"
    "name": "FastFreeConverter",
    "version": "5.6",
    "isActive": false,
    "id": "extension@Fast_Free_Converter.com"
    "name": "Mozilla hotfix",
    "version": "2.0",
    "isActive": false,
    "id": "[email protected]"
    "name": "Updater By SweetPacks",
    "version": "2.0.0.609",
    "isActive": false,
    "id": "{8E9E3331-D360-4f87-8803-52DE43566502}"
    "experiments": []
    }

  • IMac running 10.8.6 doesn't display entire desktop?  Reset display to various options and it doesn't display the entire desktop.

    iMac running 10.8.6 doesn't display entire desktop?  Reset display to various options and it doesn't display the entire desktop.  (asking for a friend, not my iMac)

    I think you wanted to say 10.6.8. 10.8.6 does not exist.
    The first thing I think is that zoom may be enabled. On Mac OS X 10.6.8, a way to disable it is to hold the Control key and scroll down with the mouse or trackpad until you can see the whole display. Another way would be to disable zoom in System Preferences > Universal Access

  • WRT54G version 6 - router setup screen via Internet Explorer 7 doesn't display correctly

    Hi,
    I've just set up my WRT54G router.  I'm able to connect to the internet and I'm able to connect directly to the router via IE but the setup screen doesn't display correctly.  I've tried resetting the computer and updating the firmware but it still doesn't display correctly.  Almost all of the text is missing except for the Linksys logo and a few drop down menus.  Any help/suggestions would be great, thanks.

    Hi gang,
    There a number of things that you can do to solve this problem but most of them involve changing the rules that you have already configured in your ZoneAlarm profile. My preferred solution is to:
    -unplug your router from the WAN (why not?)
    -turn off zone alarm
    -access your router's administration page at http://192.168.1.1
    -find the admin page where you can switch admin access from http to https
    --- **save your changes !!**
    -reboot your router
    -plug the WAN cable back into your router
    -turn ZoneAlarm back on
    -access your admin page at https://192.168.1.1 ( note the 's')
    Bob is your sister's brother! Your admin page should work as it is supposed to. Your router and ZoneAlarm should be playing nicely together. You haven't borked your finely tuned zonealarm rules. You were going to bookmark your admin page anyway, and if you want to allow remote administration, you would want to use https anyway. Nothing is broken and you fixed two things. "Its a good thing."Message Edited by ubuibi on 12-27-200609:10 AM
    There are really only 10 kinds of people in the world;
    Those who understand binary and those who don't.
    ubuibi

  • [SOLVED] urxvt doesn't display correctly some special characters

    Hello everyone,
    I have a weird issue with urxvt. For some reason it doesn't display correctly some special character.
    Here is a comparison between xfce4-terminal and rxvt-unicode  (I used theses characters as exemple):
    xfce4-terminal :
    urxvt :
    And here is my .XDefaults file (without the color and the plugin part, since it's unrelevant):
    !Font
    URxvt.font: xft:PragmataPro:pixelsize=11:antialias=false
    !General
    URxvt.scrollBar: false
    URxvt*imLocale: fr_CH.UTF-8
    URxvt.saveLines: 5000
    URxvt.geometry: 95x26+50+50
    Has someone an idea what the problem could be?
    Thank's in advance.
    Last edited by mwm (2013-11-13 13:15:48)

    This is what I think is happpening.
    PragmataPro may not contain those glyphs.  It appears to have a wide array of glyphs but it is not unicode complete.
    Xfce-terminal is a vte terminal.  When a glyph cannot be found in the desired font, it will find the glyph in the 'closest' font.  Urxvt will only use the glyphs in the font or fonts specified.  If PragmataPro does not contain the glyphs, urxvt will display boxes.
    You can give urxvt a series of fonts to search. It will search for a glyph through the listed fonts in the order you specify.  Here's an example from my urxvt configs:
    urxvt*font: xft:DejaVu Sans Mono:style=Book:antialias=false:size=8, \
    xft:WenQuanYi Bitmap Song:size=8, \
    xft:FreeSerif:style=Regular, \
    xft:unifont:style=Medium:antialias=false
    I couldn't use FreeSerif or unifont as a main font, but for an occasional glyph, it works for me.  This file, http://www.cl.cam.ac.uk/~mgk25/ucs/exam … 8-demo.txt, can be displayed in urxvt correctly, with only a few unknow glyphs showing as boxes in the Amharic section.

  • Vim doesn't display correctly utf8 characters

    Hi,
    I don't use an utf8 locale, but some files (like latex sources of my reports) are in utf8 for compatibility with other pcs. Since a while, but i cannot recall exactly when (normally, I don't use vi for latex), it doesn't display correctly such files. Emacs does, kate does, but not vim. I tried to set encoding and file-encoding in vim, but it didn't fix the issue. Any clue? Is vim broken?
    Related question. It is safe to switch to utf8 locale (I mean, in rc.conf) months after the installation?
    domanov

    lang2 wrote::set enc=utf8
    It didn't work (as i said in my previous post).
    I changed from it_IT@EURO to it_IT.UTF8 in rc.conf, restarted and now vim is fine (the corresponding line in locale.gen was already uncommented and I rerun locale-gen just to be sure). Now man pages are really ugly, even worse if I erase the option -Tlatin1 from NROF line in man.conf (as suggested in the man.conf manual). Ok, let's deal with that, now.
    Do I risk to broke anything more important? Shall i convert to utf-8 all the text files in /home, /etc and so on??

  • Youtube doesn't display correctly since I installed latest version of firefox

    youtube doesn't display correctly anymore...adobe flash has been updated and java is enabled. This is what it looks like now...
    "Loading...
    Videos
    Music
    Shows
    Trailers
    Live
    All Categories
    Categories "

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Website doesn't display correctly, some areas cut off

    All pages of my website cut off some text at the top and bottom. This does not happen with any other web pages I browse! The site was created by our developer and based on a Themeforest theme (from Envato) called Franklin Crowdfunding. Interestingly, my wife's computer does not have this problem and also uses Firefox. So I compared add-ons, extensions, etc. with hers and disabled those on my machine only. Also reinstalled latest Java, Firefox, started in Safe Mode, disabled acceleration and everything else I could find in the troubleshooting section. Nothing has worked. BTW site displays correctly on ipad as well.
    I did notice that the first time I navigated to the page after reinstalling Firefox it worked fine. But after closing and restarting Firefox the problem reappeared.
    Website is www.accoladesintl.com ...red copy at top is partially cut off (bottom half, not top half) and bottom half of the contact info at bottom.
    This problem does not happen in IE. I would rather use your product than it or google, so please help me find the problem!

    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    You can remove all data stored in Firefox from a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History > Show All History" or "View > Sidebar > History") or via the about:permissions page.
    Using "Forget About This Site" will remove all data stored in Firefox from that domain like bookmarks, cookies, passwords, cache, history, and exceptions, so be cautious and if you have a password or other data from that domain that you do not want to lose then make sure to backup this data or make a note.
    You can't recover from this 'forget' unless you have a backup of the involved files.
    It doesn't have any lasting effect, so if you revisit such a 'forgotten' website then data from that website will be saved once again.

  • Installed Panther on Older iMac and Mail Doesn't Work Correctly

    I installed panther on my son's iMac recently. I created a subaccount for him from my verizon dsl account. I made sure all the info was the same on my mail preferences as in his but we can't send or received anything. I keep getting a message to put in the password for the account and I do and it doesn't let me in, just the same message comes up again. I put his account into my mac's Mail program and it works fine, but on his it doesn't. All the info is the same - I've checked and checked his password and it doesn't work. I even put my account info onto his computer and I have the same password problems. Anybody?

    thank you now everything works
    For people with the same problem:
    Outgoing server (SMTP): port 587 – you must also choose “TLS” for the option “Use the following types of encrypted connection”.

  • Horizontal Spry Menu doesn't display correctly in browser.  Displays correctly in live view and prev

    Hello,
    I am new to web building and am having trouble with my Spry menu.  It won't display correctly.
    www.denverphotographics.com
    Please Help!!
    Thanks,
    Rob

    #1 Upload your Spry Assets folder to your remote server.  The necessary CSS & JavaScript files are 404 not found.   That's why your menu looks un-styled.
    #2 Loud, gratuitous, unsolicited music on web sites is a very bad idea.  It forces a lot of people to click away from your site and never return.   It so happens I was listening to other media when I clicked on your site.  That cacophony of competing noise was not the least bit enjoyable.
    Nancy O.

  • Made site in Dreamweaver, doesn't display correctly using free hosts

    Hello everyone
    I'm just a beginner using DW and have a slightly older
    version - DW MX2004. I have built my site in DW, and wanted to try
    a free web hosting service until I see if I like having a website
    and will actually be good at keeping it updated before I find a
    paid service.
    The problem is that whenever I upload my files into the free
    webhosting service (I've tried several - Bravenet, Freehostia,
    110mb) the pages don't display any of the formatting shown in DW. I
    used a page design CSS sample to create the pages in DW, would that
    make a difference?
    Is it just that the free hosting services don't support DW?
    Am I missing a step in my design before I try and upload them?
    Any help gratefully received.
    Thanks.

    Are you using an external css file? If you are make sure to
    point it to the root directory by placing a "/" slash (minus the
    quotes. So for example if your path is
    href="css/style.css"
    change it to
    href="/css/style.css"
    I don't actually use any of dreamweaver templates or wizards,
    so I'm not sure how it creates the paths. Hope this helps.
    Note: As far as I know dreamweaver is just an editor
    (glorified notepad) and doesn't have any effect on your files and
    doesn't need any support on hosts. There may be some advanced
    features that require support but none that I am aware of.

  • Custom ErrorDocument doesn't display correctly

    I have created a custom ErrorDocument 401 to use in
    .htaccess. After the user cancels out of the login screen in
    Firefox or Opera, they are redirected to the authreqd.html file for
    the custom error message. However, when that page is diplayed in
    Firefox or Opera, none of the background images load. The Alt text,
    when available, is shown instead. Why would the images not load for
    this file when they work correctly for all other links.
    Interestingly, when you type in the URL and go directly to that
    page, it does display correctly.
    P.S. Safari doesn't load the custom error page at all. An
    incorrect username/password returns the login screen repeatedly,
    and cancelling returns you to the page you were previously on.
    Here is the custom error
    file

    There are tonnes of possibilities and many websites with suggestions. I tried all sorts of these option (clear cache, clear cookies, anti-virus changes, page style options etc) with no success until eventually I accidentally changed my character encoding autodetect (firefox 6) from "off" to "universal" and everything is fine.

  • How do I force a crop on a pic in a slideshow in aperture when it doesn't display correctly?

    The help menu shows an option to select full view but that option box isn't showing in the default settings in my program. I have checked for software updates.

    When Mirrored mode is selected, the external display always operates at the same resolution setting as the built-in screen. If the external display's native resolution is higher than the built-in screen's, it will nevertheless be limited to the built-in screen's maximum setting, and it will be blurry, as any LCD display is when used below its native resolution. This makes using a high-res external monitor or HDTV in Mirrored mode with a 15" or especially a 13" MBP a really bad idea.
    When Extended Desktop mode is selected, each display can be set independently to its native resolution, giving superior image quality and more screen real estate. ED mode is usually vastly preferable to Mirrored mode when screens with different native resolutions are used together.

  • Local Calculation (Summation) in query doesn't display correctly in web

    Hi All,
    I have been working on a complicated query where I have formulas that perform calculations.  I then Hide these formulas and use them in another formula for further calculations.  The new calculations I then use local summation to basically just add the columns values and come up with an overall result.  Works perfect and is displayed perfectly.
    Problem is now in the web.  Either using a Pie Chart or just simply an Analysis item, the values are not displayed correctly at all.  The Pie Chart only displays the first row of data (not the overall result...which is a local summation...which is what I would prefer) and suprised that the Analysis item doesn't basically display what the query does.  I'm guessing it has to do with this local calculation.
    Can someone explain this behavior?
    Thanks.

    Anyone any ideas?

  • Data Link Properties wizard doesn't display correctly.

    Hi, This is Dai.
    I'm using Oracle DB.
    When I try to create configuration of Identity Center and to config DB connection, Data Link Properties wizard doesn't display required DB provider.
    The document of "SAP NetWeaver Identity Management Identity Center Getting Started" discribes that I should choose "Oracle Provider for OLE DB", however, I can't see it in the providers list.
    The list of DB provider is below.
    Microsoft Jet 4.0 OLE DB Provider
    Microsoft OLE DB Provider for Indexing Service
    Microsoft OLE DB Provider for ODBC Drivers
    Microsoft OLE DB Provider for Oracle
    Microsoft OLE DB Provider for SQL Server
    Microsoft OLE DB Simple Provider
    MSDataShape
    OLE DB Provider for Microsoft Directory Service
    And I want to select "Oracle Provider for OLE DB". Are there any settings or configs before this configuration? If you have some information, please help me.
    Best Regards,
    Daisuke Ikari

    Thank you,  I installed 32 bit client. And it's working now
    But now after IC initial configuration there is one more error which says-
    "this identity center database is not migrated to 7.2" And when i refresh the node it also says -
    "this version of identity center requires that database update 1035 is installed. the latest update installed is 1025"
    I have also attached the screenshot for the same below, I also ran update-mxmc.cmd to update DB.But still same error.
    please help,
    Indira

Maybe you are looking for