Height designation affects footer & background

I'm having problems getting the footer #address to align
correctly. I have #horizontalContainer which is positioned above
#address. It contains everything except the #address. It also has a
repeating background image of the gradient and a white background
color.
If I designate the height for #horizontalContainer at 1000
pixels, the #address sits below it correctly in IE but too far
below in everything else. See below.
If I designate the height for #horizontalContainer at 100%,
the #address is in the correct place, however the background image
and color of #horizontalContainer do not show up and the grey
background of the body comes through. See below.
Any thoughts?
1000 pixel height.
100% height.
My CSS is attached.

Thanks djinn for your help. I applied your code to my css
however I'm still getting the grey background.
Here's my CSS: The html follows. I'm open to any coding
advice!
body {
font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
margin: 0px;
padding: 0px;
background-color: #CCCCCC;
font-size: 62.5% /* 16px × 62.5% = 10px */;
html, body { min-height:101%; margin-bottom:1px; }
p { font-size: 1.2em; color: #000000; line-height: 1.6em; }
p span { margin-left: 75px; }
a:link, a:visited { font-size: 1.2em; color: #000000;
text-decoration: underline; }
a:hover, a:active { font-size: 1.2em; color: #ac2a2b;
text-decoration: underline; }
h1 {
color:#AC2a2B;
font-size: 1.8em;
font-weight: bold;
h2 { color:#000000; font-size: 1.6em; font-weight: bold;
line-height: 1.2em; }
h3 { color:#000000; font-size: 1.2em; font-weight: bold;
line-height: 1.2em; }
h4 { color:#000000; font-size: 0.8em; }
img.floatLeft {
float: left;
margin: 10px;
img.floatRight {
float: right;
margin: 10px;
#horizontalContainer {
background-image: url(jwrImages/gradient.png);
background-repeat: repeat-y;
margin-top: 10px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
background-color: #FFFFFF;
width: 760px;
z-index: 1;
position: relative;
#header {
width: 760px;
z-index: 2;
top: 2px;
background-image: url(jwrImages/header.gif);
background-repeat: no-repeat;
padding-top: 30px;
#header span {
margin-left: 100px;
#rightContainer {
float: right;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
position: relative;
z-index: 5;
width: 480px;
padding-top: 30px;
padding-right: 20px;
#navHor {
width: 760px;
z-index: 5;
background-color: #999999;
border-bottom-width: 3px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #000000;
border-bottom-color: #000000;
left: 0px;
border-top-width: 1px;
position: relative;
#navHor a:link, a:visited { font-size: 1.2em; color: #000000;
text-decoration: none; }
#navHor a:hover, a:active { font-size: 1.2em; color: #ac2a2b;
text-decoration: none; }
#navLeft {
width: 255px;
float: left;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
height: 451px;
z-index: 4;
position: relative;
background-image: url(jwrImages/abstractSub.png);
background-repeat: no-repeat;
padding-top: 15px;
background-color: #FFFFFF;
#navLeft a:link, a:visited { font-size: 1.2em; color:
#000000; text-decoration: none; }
#navLeft a:hover, a:active { font-size: 1.2em; color:
#ac2a2b; text-decoration: none; }
ul#navLeft {
width: 80px;
position: absolute;
z-index: 3;
left: 45px;
top: 0px;
background-color: #FFFFFF;
height: 200px;
ul#navLeft li {
text-align: right;
text-decoration: none;
list-style: none;
height: 45px;
ul#navLeft li a {
text-decoration: none;
display: block;
ul#navLeft li {
background-color: DDDDc2;
text-decoration: none;
border-bottom-width: 4px;
border-bottom-style: solid;
border-bottom-color: #6F6659;
#youarehere {
background-color:#FFFFFF;
padding-right: 5px;
#address {
width: 760px;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #000000;
font-size: 1em;
padding-bottom: 2px;
background-color: #999999;
border-top-width: 4px;
border-top-style: solid;
border-top-color: #000000;
position: relative;
margin-right: auto;
margin-left: auto;
clear: both;
text-align: center;
#address span { margin-left: 25px; }
And here's the html:
<!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=ISO-8859-1" />
<title>JWR, Inc., Parts</title>
<link href="jwrSub.css" rel="stylesheet" type="text/css"
/>
</head>
<body>
<div id="horizontalContainer">
<div id="header">
<div align="right"><img src="jwrImages/trucks.jpg"
alt="JWR truck fleet" width="365" height="102" /></div>
</div>
<div id="navHor">
<p align="center"><a
href="jwrIndex.html">Home</a><span><a
href="contacts.html">Contact</a></span><span><a
href="equipment.html">Equipment
Sales</a></span><span><a
href="news.html">News</a></span><span><a
href="employment.html">Employment</a></span></p>
</div>
<div id="navLeft">
<!--Start vertical navigation -->
<ul style="list-style-type: none; margin: 0;">
<li style="margin-right: 55px"><div
id="youarehere"><p align="right"><a
href="about.html">About JWR</a></p>
</div>
</li>
<li style="margin-right: 85px">
<p align="right"><a href="recycling.html">Your
Recycling<br />
Solutions</a></p>
</li>
<li style="margin-right: 95px">
<p align="right"><a href="waste.html">Waste
Solutions</a></p>
</li>
<li style="margin-right: 105px">
<p align="right"><a href="product.html">Product
Specific Solutions</a></p>
</li>
<li style="margin-right: 110px">
<p align="right"><a
href="industry.html">Industry Specific
Solutions</a></p>
</li>
<li style="margin-right: 110px">
<p align="right"><a href="service.html">Service
&amp; <br />
Installation</a></p>
</li>
<li style="margin-right: 110px">
<p align="right"><a href="used.html">Used
Equipment</a></p>
</li>
<li style="margin-right: 110px">
<p align="right"><a
href="parts.html">Parts</a></p>
</li>
</ul>
</div>
<!--Close #navLeft End verticle navigation -->
<div id="rightContainer">
<img src="jwrImages/welding.jpg" alt="JWR Inc., welding"
width="186" height="335" class="floatRight" />
<h1>A long and reliable history</h1>
<p>JWR is located in Johnson Creek, Wisconsin.
JWR&rsquo;s roots go back to 1972 when
&ldquo;Jim&rsquo;s Welding &amp; Repair&rdquo;
started as a small welding and repair shop. At that time repairs
were made for local farmers and small fabrication jobs were
performed. </p>
<p>Throughout the years the business took on many
other facets including sandblasting, painting, truck and hoist
repair, container repair and finally compactor installation and
maintenance for local accounts. Jim&rsquo;s Welding &amp;
Repair evolved into JWR as we know it today. </p>
<h1>Our company today </h1>
<p>JWR has since grown into a company with national
presence servicing over 6000 compactors nationwide and performing
over 500 installations on a yearly basis.
JWR provides equipment and solutions for the waste and
recycling industry. In addition to our corporate facility based out
of Johnson Creek WI, we have a service location in Minneapolis, MN,
an experienced sales staff, a full team of professional service
technicians, installers and office personnel.</p>
<p align="center"><img
src="jwrImages/companyToday.jpg" alt="JWR Inc., today" width="460"
height="209" /></p>
<p align="center"> </p>
</div>
<!--close #horizontalContainer -->
</div>
<div id="address">
<p>322 N. Watertown Street, P.O. Box 356, Johnson
Creek, WI 53038 &#8226; 888-699-2848 &#8226; FAX:
920-699-2847</p>
</div>
</body>
</html>

Similar Messages

  • New App Launcher Suite Bar in 365: what CSS styles affect the background color?

    There is a new suite bar in O365. What CSS styles affect the background color of the bar, app launcher button and the Office 365 text in SharePoint Online? I want to hide Office 365 text and add my logo there.

    Hi,
    Per my understanding, you might want to change the style of the suite bar and replace the “Office 365” text with your custom logo image.
    In Office 365 admin page, we can customize the theme of the suite bar for the whole :
    However, as there is no such option can replace the “Office 365” text with a custom icon there, a workaround is that we can use some custom JavaScript to modify the
    corresponding HTML source code to display the icon dynamically after the page loaded.
    After applying the code snippet below into the master page:
    <script type="text/javascript">
    _spBodyOnLoadFunctionNames.push("ready");
    function ready() {
    var logo = document.querySelector("#O365_MainLink_Logo");
    var s = '<img style="max-height: 27px" alt="logo" src="/_layouts/15/images/siteIcon.png?rev=38">';
    logo.innerHTML = s;
    </script>
    Every time when users open a page in this site, this custom code will be executed, the “Office 365” text will be replaced by a custom icon:
    More information about how to add custom code into master page(similar in SharePoint 2013):
    http://techtrainingnotes.blogspot.com/2012/05/adding-javascript-and-css-to-sharepoint.html
    What’s more, if doing in this way, we can only replace the “Office 365” text with a custom icon in Office 365 SharePoint Online sites, not the whole Office 365, this
    is a fact that you might want to know. For about how to replace that text for the whole organization, I suggest you open another thread in Office 365 forum, you will get more help and confirmed answers there.
    http://community.office365.com/en-us/forums/default.aspx
    Best regards      
    Patrick Liang
    TechNet Community Support

  • Footer background image stretching width of screen

    I want to stretch my footer image the full width of the screen to mirror my header. It's easy for the header, as you simply designate this the body background image. The footer is different owing to differing page lengths. Is the only way to do this to take the footer div out of the container div?

    Hi pziecina,
    Actually, I found a simpler solution by creating a wrapper div for the footer outside the container div. I cannot be bothered to utilize CS3 yet and I absolutely hate conditional comments for IE...
    This tutorial explains how to do it:
    http://www.sohtanaka.com/web-design/achieving-liquid-backgrounds-with-fixed-content/

  • How do I create Equal Height Columns with my Background Images?

    Hi there,
    here is my page http://www.allthingsprintuk.co.uk/ATPHome.html
    My problem is that the side bar HTML list is coming off the page in IE. & also the html  in the header can look awful due to browser settings.
    My question is how do I create Equal Height Columns with my Background Images so that they fit with the HTML text? Is there a good link you can point me to, or a tutorial?
    The only way I can see by doing it is slicing my images up into 3 (top middle & bottom) & then setting the middle to repeat y????
    Or does anyone know of a way to create rounded corners WITH drop shadows in CSS that will work on all browsers?
    Thanks in advance
    Louisa

    Try these http://www.pixelan.com/

  • What CSS styles affect the background color of new suite bar?

    There is a new suite bar in O365. What CSS styles affect the background color of the bar, app launcher button and the Office 365 text in SharePoint Online? I want to hide Office 365 text and add my logo there.

    Hi,
    What new suite bar did you refer to?
    Please check if this image below is what you referred to:
    If yes, please note in this forum we mainly discuss questions and feedbacks about the Office client products, as your question is not about our products, I suggest you post the question in Office 365 Community Forum to get support:
    http://community.office365.com/en-us/f/default.aspx
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    If I misunderstood anything, feel free to let me know.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Have numerous labels with designed borders as background to add name/ subject etc. "New" Pages only loads the names and seems to destroy all the designs when page is opened. Not happy!

    Have numerous (Avery A4 page format) pages of labels with designed borders as background  to add name/ subject (English - Mathematics etc)
    "New" Pages only loads the names and seems to destroy all background border designs when page is opened.
    The borders of each label show in thumbprint but when opened the border has gone. When the page is closed the borders no longer show in the thumbpint.
    When earlier version of Pages is selected to open the labels it says latest version of Pages is needed!
    What a mess up, it seems to be all too clever!!
    Not happy!

    That is what the App Store reviews and ratings are for.
    Let other potential "upgraders" know.
    Meanwhile use Pages '09 which should still be in your Applications/iWork folder.
    Peter

  • [svn] 3263: Fix a bug in LayoutItemUIC.as where explicit width/ height was affecting ILayoutItem::minSize property.

    Revision: 3263
    Author: [email protected]
    Date: 2008-09-18 16:40:14 -0700 (Thu, 18 Sep 2008)
    Log Message:
    Fix a bug in LayoutItemUIC.as where explicit width/height was affecting ILayoutItem::minSize property. It should not.
    Reviewed by Glenn
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/LayoutItemUIC.as

    error dateField not selecion date 27/11/2002 ?
    This is bug flex 3 ?
    thanks

  • 100% height and have footer stretch across design

    I'm trying to get the left nav to always stretch the full
    height of the entire design. I googled it and searched this forum
    and found that I should add the property to the body and container
    in addition to the individual div and that is what I've done, with
    no success.
    Second thing is I'd like the footer to stretch completely
    across the design (going underneath the left nav). I feel like I'm
    missing something obvious here...
    http://paddocksinc.com/sales.html

    On Fri, 8 Aug 2008 23:33:47 +0000 (UTC), "SisAndi"
    <[email protected]> wrote:
    >I'm trying to get the left nav to always stretch the full
    height of the entire
    >design. I googled it and searched this forum and found
    that I should add the
    >property to the body and container in addition to the
    individual div and that
    >is what I've done, with no success.
    >
    > Second thing is I'd like the footer to stretch
    completely across the design
    >(going underneath the left nav). I feel like I'm missing
    something obvious
    >here...
    >
    >
    http://paddocksinc.com/sales.html
    A few things that "may" affect the way page displays.
    Firstly - you have got a mixed DOCTYPE / code.
    You have part of a html 4.01 doctype and part of it is XHTML
    and you mix html and xhtml code in the file.
    Decide which you want to use, and use Dw File | Convert to
    rectify it.
    You have two <body> tags
    <div id="container"> on line 26 seems not to have a
    closing tag.
    a few other things which the validator will reveal
    http://validator.w3.org/check?uri=http%3A%2F%2Fpaddocksinc.com%2Fsales.html&charset=(detec t+automatically)&doctype=Inline&group=0&verbose=1&user-agent=W3C_Validator%2F1.591
    The left Nav problem - do you just want the grey box to
    extend down to
    same level as main area - put it into a div and control with
    background colour.
    maybe the div id="container"> issue is causing this ?
    re footer,
    take it out of the div it is in, and move into new wrapper
    div (
    id="container" possibly
    ~Malcolm~*...
    ~*

  • Why does my footer background colour change when adding a float to a DIV element?

    Bear with me as I am a student learning dreamweaver....
    I am trying to insert a series of 4 DIVs into a footer area with a black background. WHen I insert a float to constrain them to a horizontal position, the black background disappears and the body background shows through. A strip of the footer displays on top of the area where the DIVs are placed. The float works but the problem is with the background colour. It's almost as if the divs have been pushed down below the footer area. I have tried placing my cursor in several locations before inserting the float but it doesn't change anything.
    Can anyone help?

    It all depends on the code you're working with.   In the following example, I applied overflow:hidden to the <footer> element. 
    Copy & paste this code into a new, blank HTML page to see how it works.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 Layout</title>
    <style type="text/css">
    body {
        font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
        background-color: #CCC;
        padding: 0;
        color: #000;
        width: 1000px;
        margin: 45px auto;
    header {width: 100%; display:block; background: #A5C9C9; min-height: 100px}
    section {width: 100%; display:block; background:#FFF; min-height: 300px}
    footer {width: 100%; display:block; background: #FF9; overflow:hidden;}
    aside {width: 22%; float:left; display:block; margin-right: 4%; background:#D8E9B6; min-height: 200px;}
    aside:last-child {margin-right:0}
    </style>
    </head>
    </body>
    <header>
    <h1>Content for header goes here</h1>
    </header>
    <section>Content for section goes here</section>
    <footer>
        <aside>aside 1</aside>
        <aside>aside 2</aside>
        <aside>aside 3</aside>
        <aside>aside 4</aside>
    </footer>
    </body>
    </html>
    Nancy O.

  • Add filename and path to Designer form footer.

    I am somewhat of a novice at creating forms in Livecycle designer and need help adding a filename and path to the footer of a form after clicking on the "save as' button.  I have not found any answers anyplace so help would be greatly appreciated ASAP. Thank you!!

    Create a field on your masterpage. Get rid of the caption, appearance=none and set as Protected. Also set your width to expand to fit. In the layout:ready event of your field, add this JavaScript:
    this.rawValue=event.target.path
    That should do it.
    Kyle

  • How to design a "white" background in "black and white" ad on pink newsprint?

    Long-time Indesigner here, but I have never had this dilemma before. Am designing a "black and white" newpaper ad for a major paper that has a pink section, i.e. it prints on pink newsprint. So I know this is black ink only, hence the "black and white"...but when the "white of regular newsprint is pink, I am getting stumped. I see in their rate card ads with a white background and black ink on top of the pink newsprint, which is what I want to do. The ad has facial tones of a major recording artist, and I do not want the highlights of her face going pink. So how to I ad a "white" layer underneath this ad? Deadline is now, so please reply ASAP. I have inquiries into the paper but it is the weekend and nobody is getting back to me.

    Have they got a rate card: Check it! It may list a "white knockout advert" rate. I think:
    that to overprint adverts onto pink is limiting i think its a separation (unless they only want/cater for 1 colour (black) ads) unlike yellow pages where the the standard directory colours are blue, green, red and black (err... obv because of the yellow paper...) yellow pages also offer white knockout adverts (then yellow available) and CMYK adverts.
    So: you got to make sure that the advert is designed per spec: as you may know designing for newsprint is a lot more technical than gloss mags/sheet fed etc. You can always see in a newspaper who (designer) got it wrong.
    All the info should be on the rate card: just check the CI too: as white knockout may be a lot more expensive.
    G

  • Cant Get In Design Exported .FLA Background Transparent

    I made a small document with In Design to use as a gallery navigation page for my website.
    I put the document together without a background.  When I export the file as .FLA and view it the background color is light gray.
    I checked the transparent box on the export screen.
    I have also tried applying my template from Dreamweaver to the exported file and I get my webpage look, but with a gray box behind the In Design content.  I would like to have my wepage's background show beneath the In Design content.
    What am I doing wrong, or what do I need to make the background of the In Design Content transparent?
    Thanks
    Jayson

    ID generates an HTML holder for your swf, which effects the way it is displayed, and it sounds like you might need to change the window mode setting inside the html. Try changing 'wmode', 'window',   to   'wmode', 'transparent',   Here's a screen capture of the code which is at the bottom of the html:
    http://www.zenodesign.com/scripts/windowmode.png

  • Separate Header Footer Backgrounds

    Is there a way possible to specify different backgrounds for the header and footer in iWeb. As of now it seems you can only specify the page and browser backgounds. Any work around to specify different repeating backgrounds in a header and footer?
    Thanks for any help.

    There is a workaround. Create a rectangular shape and move it into the header or footer area. Then move it back or front as needed. Remember you can also create TEXT in the footer area if you create a TEXT and then press CMD while holding the TEXT with the mouse and moving it across the line that divides main body from footer. These two actions allow you to customize the footer area... caveat: you will need to do CMD-C and CMD-V to paste same change on every page of your site as this modifies just the page you are working on, not all the footers at once.
    Hope this helps,

  • Design view footer

    Drmwvr8 seems to be putting my footer under and off to the
    right of my header area but before the contents div. It has css for
    clear both and works fine in all browsers. Is there a way of
    getting design view to placs divs in their document order?

    Show us the code. Design view may be doing exactly what you
    are telling it
    to do.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "ROGM" <[email protected]> wrote in message
    news:eat360$ipm$[email protected]..
    > Drmwvr8 seems to be putting my footer under and off to
    the right of my
    > header
    > area but before the contents div. It has css for clear
    both and works fine
    > in
    > all browsers. Is there a way of getting design view to
    placs divs in their
    > document order?
    >

  • Adding filename and path to Adobe Designer form footer

    We are developing a form and Document Control required the form have a field on the form footer to show the live "Path & filename".
    I need what is shown in the properties under "File" to show up in the footer. I have been unable to locate the correct syntax to type in the footer.
    Can you tell me how this can be accomplished?

    Create a field on your masterpage. Get rid of the caption, appearance=none and set as Protected. Also set your width to expand to fit. In the layout:ready event of your field, add this JavaScript:
    this.rawValue=event.target.path
    That should do it.
    Kyle

Maybe you are looking for

  • Migartion from CM 4.2(1) to CM5.1.2

    Hello, From the cco i have found that its not possible to migrate a callmanager 4.2.1 with a data migration tool to callmanager 5.1.2b. Can any ony confirm this. Many thanks

  • Playlists out of wack

    So many of my playlists are out of order on my phone. Its so annoying. I listent to a lot of mixed CD's. They are all organized in order and play fine on my computer but are all out of wack on my phone. Anyone know what the deal is? Match on the ipho

  • What is the equivalent of word on an iPad?

    I'm looking to do schoolwork on my ipad ( I have a removable keyboard for it ) and was wondering if I am able to load microsoft word onto it, or something very similiar to it? Are they any good apps? Thanks

  • Need to change numerous bookmarks page sizes

    Someone created numerous bookmarks and when you click on the bookmark the page size jumps to 200%, but the rest of the pages show as 100%. Is there a easy way to change the sizes of the bookmarks to 100%? The only option I can find is clicking on eac

  • CRM Middleware Generation Errors

    Hello Experts, There are few errors within transaction SMWP: 1. One error on ATTACHMNT_WR object with description "Generation error REPL_TEMPLATE_DEPENDENCY" 2. There are few other errors with message "Generation error REPL_TEMPLATE_SUBCHECK" 3. Ther