CSS - wierd margin/border/background problem

referring URL: dev.qwerbles.com
Is the behavior described below correct/normal? It seems to
me that the
"with border" result should be what the user sees regardless
... given
the following:
markup:
<div id="header_wrap">...</div>
<div id="content_wrap">
<div id="content"><p>foo</p></div>
</div>
<div id="footer_wrap">...</div>
css:
div#header_wrap {
background: #5775A2;
div#content_wrap {
background: url(../images/main_bg.png) repeat-y;
div#footer_wrap {
background: #41536F;
As is (tested in FF3 & IE7), I see (from top to bottom):
- a block of color (#5775A2)
- 1em of white space (the default top-margin for <p>)
- text "foo" with a background image
- 1em of white space (the default bottom-margin for
<p>)
- a block of color (#41536F)
If I add this css (border: 1px solid)to the #content_wrap
rule then the
#content_wrap background stretches all the way from the
#header_wrap to
the #footer_wrap. In other words, the white space (caused by
the <p>
tags default margin) was filled in by the background image of
#content_wrap. Why doesn't the bg img fill in the white space
in both cases?
Alex

Alexander Ross wrote:
>
>> When you put a border on the content_wrap it
collapses the margin
>> which is still on the p tag.
>
>
> but <p> still has a 1em buffer (when the border is
set). I thought that
> if the margin was collapsed that the buffer should
disappear. No?
No, the border top and bottom on the content_wrap acts as a
barrier,
stopping it from collapsing. It there is no border then the
<p> margin
goes awol, outside of the content_wrap, causing the white
space top and
bottom of it.

Similar Messages

  • Setting the Border background color

    Post Author: gravy
    CA Forum: .NET
    Hi,
    Using the API I'm trying to set the Border background color to transparent but I can't. I want to set the background color to match what the designer does when you uncheck the Background option on the Border tab of a TextObjects properties.
    Can anyone help?

    What release are your using?
    do you want to set this dynamically, for one portlet or all. you may what to use
    'Themes'
    "Jorgeana" <[email protected]> wrote:
    >
    Does someone have a sample of setting the portlet border and background
    color ?
    I´m having problems using "setPortletBGColor" !! Tks

  • 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.

  • 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

  • CSS shorthand background problem

    Like many of you I'm sure, I prefer to write shorthand CSS.
    In
    Preferences I have shorthand checked for all five options and
    "When
    editing CSS rules" set to "According to settings above."
    However when I try to write a shorthand background rule it
    doesn't work.
    I prefer to write my background as:
    background: #fff url(../images/quoteleft.jpg) left top
    no-repeat;
    I should be able to type:
    background: c
    ...and have DW's color swatch functionality kick in, then
    url, then
    browse, etc. But the only options it gives me are:
    background-color
    background-attachment
    background-image
    background-position
    background-repeat
    inherit
    Does anyone know how to get DW's CSS shorthand working
    properly?

    Have you tried right clicking at that point?
    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
    ==================
    "ryansebiz" <[email protected]> wrote in
    message
    news:errb96$od$[email protected]..
    > Like many of you I'm sure, I prefer to write shorthand
    CSS. In Preferences
    > I have shorthand checked for all five options and "When
    editing CSS rules"
    > set to "According to settings above."
    >
    > However when I try to write a shorthand background rule
    it doesn't work. I
    > prefer to write my background as:
    >
    > background: #fff url(../images/quoteleft.jpg) left top
    no-repeat;
    >
    > I should be able to type:
    >
    > background: c
    >
    > ...and have DW's color swatch functionality kick in,
    then url, then
    > browse, etc. But the only options it gives me are:
    >
    > background-color
    > background-attachment
    > background-image
    > background-position
    > background-repeat
    > inherit
    >
    > Does anyone know how to get DW's CSS shorthand working
    properly?

  • CSS wierds - body background style getting over-ridden by "what?"

    Safari v4.0.4
    Up until this version I have not had to do much of any cross-browser testing with Safari (always with IE). Now I'm finding myself trying to figure out how Safari is behaving relative to FFox3.x (the standard I use for initial development)
    I have several issues that have got me confused but I'll start with this one:
    The background-color style on the body is being set on a linked style sheet.
    body {background-color: #000000;}
    but the body is not black..?
    After much hacking around, I finally found that the next style sheet (also linked) did not have any setting for the body background-color but that seem to kill the setting in the previous style sheet.. I added:
    body {background-color: #000000;}
    .. to that style sheet file and then the background worked.. I also found the an embedded style block also has the same effect. (over ridding the body background-color style) I would then added that line to the embedded style block and then it would work right.
    Examples:
    Fixed: http://dev7.esonicspider.net/facility_overview.html
    Not fixed: http://dev7.esonicspider.net/productalloverview.html
    Is this a known issue (searching did not indicate that..)
    This is a very large website and now I'm faced with adding this tag to every page.. Aaaarrrggggg..
    Is there a better way around this issue..?
    Thanks.. John..

    Found that
    @charset "UTF-8";
    in the style sheet was the main problem..

  • Spry horizontal menu: submenu background problem in IE7

    Hello,
    I am using the Spry horizontal menu in this website: http://www.isis-papyrus.com
    It works perfectly on all current version browsers, but in IE7 the white submenu background only shows behind the actual text for each link and not to the border of the submenu box.
    I modified the css to allow for dynamic sizing for each submenu (see below). 
    Any suggestions would be greatly appreciated.
    Best, Oliver
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 10px;
    cursor: default;
    width: auto;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: normal;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: auto;
    float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: auto;
    position: absolute;
    left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 100%;
    clear:left;
        float: none;
    background-color: transparent;
        color: #fff;
    white-space: nowrap;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: 100%;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #339999;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    background-color: #fff;
    padding: 0.4em 0.8em;
    color: #339999;
    text-decoration: none;
    white-space: nowrap;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    background-color: #fff;
    color: #339999;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    background-color: #339999;
    color: #fff;
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;

    Thank you so much for your quick answer Beth!
    You solved half my problem!
    I added the bg-color to the li and ul styles of the submenus (css below) and now the white background shows correctly in IE7.
    The only thing I still would like to resolve: The hover style for the menu items (inverse bg and text colors) only works for the actual text of the link and not for the entire width of the submenu box.
    Any suggestions?
    Thank you again.
    Best, Oliver
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 10px;
    cursor: default;
    width: auto;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: normal;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: auto;
    float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: auto;
    position: absolute;
    left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 100%;
    clear:left;
        float: none;
    background-color: #fff;
         color: #fff;
    white-space: nowrap;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: 100%;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #339999;
    background-color: #FFF;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    background-color: #fff;
    padding: 0.4em 0.8em;
    color: #339999;
    text-decoration: none;
    white-space: nowrap;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    background-color: #fff;
    color: #339999;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    background-color: #339999;
    color: #fff;
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;

  • Spry Menu Vertical - Border thickness problem in IE 7

    Hello,
    No. I'm not using the last 1.6.1 file, because I have change
    the css vertical menu to fit my design style.
    Errors that I get:
    They are all with IE 7 versions. In Firefox, everything is
    great.
    1) A weird refresh when I click on the submenu links.
    2) I can't get the horizontal border line between the menus
    to get 1px in IE 7.
    Here is the vertical menu css code:
    @charset "UTF-8";
    /* SpryMenuBarVertical.css - version 0.6 - Spry Pre-Release
    1.5 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights
    reserved. */
    LAYOUT INFORMATION: describes box model, positioning,
    z-order
    /* The outermost container of the Menu Bar, a fixed width box
    with no margin or padding */
    ul.MenuBarVertical
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: 10em;
    /* Set the active Menu Bar with this class, currently setting
    z-index to accomodate IE rendering bug:
    http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this
    container and are same fixed width as parent */
    ul.MenuBarVertical li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 10em;
    /* Submenus should appear slightly overlapping to the right
    (95%) and up (-5%) with a higher z-index, but they are initially
    off the left side of the screen (-1000em) */
    ul.MenuBarVertical ul
    margin: -5% 0 0 95%;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: absolute;
    z-index: 1020;
    cursor: default;
    width: 10em;
    left: -1000em;
    top: 0;
    /* Submenu that is showing with class designation
    MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen
    ul.MenuBarVertical ul.MenuBarSubmenuVisible
    left: 0;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarVertical ul li
    width: 10em;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Outermost menu container has borders on all sides */
    ul.MenuBarVertical
    border: 1px solid #000;
    /* Submenu containers have borders on all sides */
    ul.MenuBarVertical ul
    border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text
    decoration */
    ul.MenuBarVertical a
    display: block;
    cursor: pointer;
    background-color: #333333;
    padding: 0.6em 0.75em; /*primeiro pading vertical, segundo:
    horizontal*/
    color: #FFFFFF;
    text-decoration: none;
    font-family: sans-serif;
    text-align: center;
    border: 1px solid white;
    /* Menu items that have mouse over or focus have a blue
    background and white text */
    ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
    background-color: #8E001C;
    color: #FFF;
    /* Menu items that are open with submenus are set to
    MenuBarItemHover with a blue background and white text */
    ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical
    a.MenuBarItemSubmenuHover, ul.MenuBarVertical
    a.MenuBarSubmenuVisible
    background-color: #8E001C;
    color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a
    given menu item
    /* Menu items that have a submenu have the class designation
    MenuBarItemSubmenu and are set to use a background image positioned
    on the far left (95%) and centered vertically (50%) */
    ul.MenuBarVertical a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class
    designation MenuBarItemSubmenuHover and are set to use a "hover"
    background image positioned on the far left (95%) and centered
    vertically (50%) */
    ul.MenuBarVertical a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless
    you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form
    controls, we underlay each submenu with an iframe */
    ul.MenuBarVertical iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the
    slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarVertical li.MenuBarItemIE
    display: inline;
    float: left;
    background: #fff;
    How can I give the same effect that happens in firefox, also
    in IE 7 ?
    Please test the link in both: IE 7 and Firefox.
    http://www.hundehilfe-portugal.de/hund.html

    add this to the
    @media screen, projection section of the css.
    ul.MenuBarVertical li.MenuBarItemIE a and give it a fixed
    height. That should fix it.

  • Border Radius Problem

    I'm having trouble getting a border radius to work as I want. Please keep in mind my pages are works in progress. The corner radii of the footer div do not fill correctly when I apply a 1px border around the container div. There's a tiny bit of page background color that bleeds through at the lower rounded corners. Look here:
    http://www.kiefferfurniture.com/testcss.html
    If I remove the border from the container div and add it to the footer div, then it does render correctly. Look here:
    http://www.kiefferfurniture.com/testcss2.html
    Applying the border to both causes the border to appear as 2px wide where the divs overlap, and that is no good. How do I get a 1px border around everything so it looks and renders correctly?

    I'm not seeing a problem in FF12.  But older browsers need proprietary code. Note the syntax difference for  Mozilla (whacky).
    Also, older IE doesn't support border-radius.
    #footer  {
    background-color: #66A7C5;
    margin-top: 0px;
    border: 5px solid #284B4D; /**increased border width**/
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Spry vertical menu background problem in IE

    The background of the <li> items show as white on the spry menu items here. http://www.steveelson.com/index.html. Menu items are .pngs, but I've used the iepngfix.htc fix, but still have the problem in IE 8 and 9. So I assume it's a css problem, but can't figure it out.

    Save a copy of the css file as you have altered it, but under a new name. You might want to save a copy of your menu, too, so you'll have something to refer to. Then delete your menu widget and re-insert it.
    You will most likely be very surprised at how easy it is to style it up (referring from time to time to your saved, former stylesheet).
    If your page works without your menu, you should be successful inserting your menu to it.
    Beth

  • Background Problem in IE

    Hi Guys
    I've just uploaded a test page to see how it looks live and he background works well and expands to fill the screen... except for Internet Explorer! In Firefox, Chrome, Safari and Opera the background expands nicely to fill the screen but in IE (8 or 9) it doesn't resize at all. It's all a bit bizare because when I open the page to browser preview in Dreamweaver it resize's properly. Can anyone advise me what I am doing wrong or if there's a piece of code I am overlooking to make this happen in IE??? You can see the test page here: http://www.gbatdemo.co.uk/video.html.
    Regards,
    Graham

    Many thanks PZ.
    I will try the IE 7/ 8 solution you pointed me to. Regarding IE 9, it's bizare. It resizes properly when I preview in IE9 from Dreamweaver.Yet if you look at my uploaded link, http://www.gbatdemo.co.uk/video.html, it doesn't resize in IE9, yet it resizes perfectly in Firefox, Chrome, Safari & Opera. Any clues on where I've gone wrong in IE would be appreciated.
    In case it helps, my CSS Is:
    body {
    background-color: #000;
    background-image: url(../_images-static/background.jpg);
    -moz-background-size:: cover;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 0px;
    background-attachment: fixed;
    background-position: center top;

  • Tab menu background problem

    I am using the spry tabbed menu and currently I have the
    background image of the entire header section set to a repeating
    image. I left the tabbed menu div background color and image blank
    so that the header section will come thru. It works fine in IE 7
    but in FF the tabbed menu adds a white background... here is the
    link to the test page...
    http://afm.geofoam.com/homepage.asp
    Any suggestions?

    Hi,
    Try to add a fixed height for the header container. I added
    for this css rule: .thrColFixHdr #header the height:105px and seems
    to work also in FF.
    Please let us know if this fixes your problem
    Diana

  • Continued background problem

    First, let me thank the two gentlemen who took time to look
    at my previous post on this problem. As suggested, I renamed the
    background jpg taking out the space which had previously resulted
    in a 20% sign in the code. Dreamweaver automatically repointed the
    pages to the renamed jpg. But ------- no luck. Same problem.
    So, I decided to make another page with nothing on it but a
    short text in color and a standard colored background instead of a
    jpg image background. I was shocked to see that the page shows up
    on the net as plain white with black text.
    Here is the code for the trial page:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <style type="text/css">
    <!--
    body {
    background-color: #CCFF66;
    body,td,th {
    color: #3366FF;
    .style1 {font-size: 36px}
    -->
    </style></head>
    <body>
    <span class="style1">This is text.
    </span>
    </body>
    </html>
    Here is the url: www.lonestarfold.com - go to the shipping
    button. That takes you to the new trial page.
    Still puzzled in Texas. Any suggestions??

    I get a 403 error when trying to access your website...
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    Proud GAWDS Member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================
    "arstart" <[email protected]> wrote in
    message
    news:eb4l7q$er4$[email protected]..
    >
    > First, let me thank the two gentlemen who took time to
    look at my previous
    > post on this problem. As suggested, I renamed the
    background jpg taking
    > out
    > the space which had previously resulted in a 20% sign in
    the code.
    > Dreamweaver
    > automatically repointed the pages to the renamed jpg.
    But ------- no
    > luck.
    > Same problem.
    >
    > So, I decided to make another page with nothing on it
    but a short text in
    > color and a standard colored background instead of a jpg
    image background.
    > I
    > was shocked to see that the page shows up on the net as
    plain white with
    > black
    > text.
    >
    > Here is the code for the trial page:
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    > "
    http://www.w3.org/TR/html4/loose.dtd">
    > <html>
    > <head>
    > <title>Untitled Document</title>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    > <style type="text/css">
    > <!--
    > body {
    > background-color: #CCFF66;
    > }
    > body,td,th {
    > color: #3366FF;
    > }
    > .style1 {font-size: 36px}
    >
    > -->
    > </style></head>
    >
    > <body>
    > <span class="style1">This is text.
    > </span>
    > </body>
    > </html>
    >
    > Here is the url: www.lonestarfold.com - go to the
    shipping button. That
    > takes
    > you to the new trial page.
    >
    > Still puzzled in Texas. Any suggestions??
    >

  • Spry Menubar-background problem

    Hi,
    I have tried to search for this problem, and though I have
    found others with the same problem, there have been no answers
    (probably so obvious I missed it and they figured it out.) And I
    did update the Spry Menubar to the latest version.
    The Spry Horizontal menubar works fine on Firefox, but on IE
    7 the background is white as well as the submenus, not the intent.
    The alignment and size is fine, just the designed background colors
    don't work (on the menu itself, I want a transparent background, on
    the submenus it is #777079.)
    Website:
    September
    Entertainment Website
    Style Sheet spry:
    Spry
    CSS
    Thank you in advance for any help you can give me.
    Cheers,
    Janell

    Hi,
    Just found the problem for anyone that is having the same
    thing happen. It is the hack at the bottom of
    "SpryMenuBarHorizontal.css":
    BROWSER HACKS: the hacks below should not be changed unless
    you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form
    controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the
    slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: fff;
    Where it says: "background:fff;" change it to whatever you
    need, in my case, "background: transparent;"
    Voila!!
    Cheers,
    Janell

  • Load jpg background problems in Dreamweaver.

    Hi.
    I have a jpg background for my new website and ived inserted the foto into the page index.
    "<style type="text/css">
    <!--
    body {
        background-repeat: no-repeat;
        background-image: url(Background/background.jpg);
    -->
    </style>
    The size of the foto is 134  bytes and dimensions Height/Weight 2500 px with 2500 px.
    My problems is that everytime when i load the website it take like  beetwen about 2 seconds or 3 that you only can white,and then it loads 100 %.
    In the page i only have this background, nothing else.
    There is another way i can add the background into the page that when the page it loads,it loads fast?
    and the user dosnet have to see the white moment.
    Thank you very much.
    Paul

    The size of the foto is 134  bytes and dimensions Height/Weight 2500 px with 2500 px.
    Surely you don't mean that an image 2500px wide/high is only 134 bytes, do you?
    There is another way i can add the background into the page that when the page it loads,it loads fast?
    There is no free lunch.  A page containing a 150K image that is not already cached will load just like a page containing a 150K image.  Not much you can do about that.
    Why is your image so large?  You say it's a Photo?  Bad choice for a background image....

Maybe you are looking for

  • Importing a cassette tape into I tunes

    Can I import and save a cassette tape into itunes thanks

  • Running SDO_INTERSECTION with a Polygon with a hole

    Hello, I'm running into some issues when using SDO_INTERSECTION between two spatial tables. In my parcel table, I have polygons that will have a hole in them. When using SDO_INTERSECTION between the parcels and our land use layer to get area figures,

  • Desktop 10.1.2.3

    Hi everyone One of my clients recently reported that they had upgraded their Desktop to 10.1.2.3. They are now getting issues with workbooks that were saved to the database in that they will not open. Workbooks saved to the file system have no such i

  • Photo of the day feature

    Can you create a feature that allows the site owner to load up 30 images and they only change one every 24 hours so I can have a photo-of the day?

  • Can a a href act as a "submit" too?

    Hi all. I need my <a href> to act as a "submit" button too so when i press the link i will also send parameters to a Servlet. can i do it ? I wrote this in my Jsp but it dosn't work: <a href="<%=url%> name="submit" <%=name %"></a> Pls help...