CSS background & border graphic confusion

I'm helping this lady with a few things on her site but don't know how to fix the purple gradient background (http://mabelspralines.com/images/subBGProd.png) to show behind the Products table (table BG stays white) here
http://mabelspralines.com/_productsFINAL.html   new
to look like it does here:
http://mabelspralines.com/products.html     previous
CSS: http://mabelspralines.com/styles/global.css
Also the original site had this gold shaded border not just at the top like it is now, but down the sides of the content div and the bottom as part of the footer. Here are the images:
http://mabelspralines.com/images/vertbg.jpg
http://mabelspralines.com/images/bottbg.jpg
I tried a few things, but can't seem to make it display like the original designer intended - one wrong CSS adjustment and the whole thing goes haywire.
Also, why is there a 1/2" space above the header on each page?
Thanks for pointing me in the right direction!

I try to keep things simple.
Take the footer for instance. At the moment you have
<div class="footer">
     <ul class="list" id="ftnav">
          <li class="list"><a href="index.html">home</a> |</li>
          <li class="list"><a href="about.html">about</a> |</li>
          <li class="list"><a href="products.html">products</a> |</li>
          <li class="list"><a href="events.html">events</a> |</li>
          <li class="list"><a href="testimonials.html">testimonials</a> |</li>
          <li class="list"><a href="contact.html">contact </a></li>
     </ul>
     <p>&copy; 2009 Mabel's Gourmet Pralines. All rights reserved. Site by SOF Designs</p>       
</div>
The above should look like
<div class="footer">
     <ul>
         <li><a href="index.html">home</a> |</li>
         <li><a href="about.html">about</a> |</li>
         <li><a href="products.html">products</a> |</li>
         <li><a href="events.html">events</a> |</li>
         <li><a href="testimonials.html">testimonials</a> |</li>
         <l><a href="contact.html">contact </a></li>
     </ul>
     <p>&copy; 2009 Mabel's Gourmet Pralines. All rights reserved. Site by SOF Designs</p>       
</div>
This reduces the number of keystrokes during development and makes it a lot easier to read. Also a CLASS does everything that an ID does with the exception of uniqueness. Hence I always use a CLASS except where an ID is required for exact identification. The latter is often used in JS and DOM manipulation.
The style rules for the proposed footer looks like
.footer {
    background: url(http://mabelspralines.com/images/bottbg.jpg) no-repeat;
    height: 40px;
    padding: 15px;
.footer ul {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    padding: 0px;
    list-style-type: none;
    margin-left: 238px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
.footer li {
    display: inline;
When using images as in
<img src="http://mabelspralines.com/images/home1.jpg" alt="Home" width="82" height="25" border="0" id="home_bt" />
The red coloured part should be included in the CSS, again reducing keystrokes and making it easier to change the values. But why use (different) images for the menu buttons. If you cannot find a CSS alternative you can use the same image for the menu buttons and use text for the label. This has an added advantage in that your anchor elements are not empty which is frowned upon. Instead of using mouse events, use CSS to replace the image as in
a
a:hover
a:focus
At this stage I will not give you examples for a better functioning menu, I shall leave it up to you to find out. If you run into trouble, please come back here.
Have a look at what Nancy does with CSS menu's http://alt-web.com/DEMOS/demos.shtml

Similar Messages

  • CSS background cover vertically?

    i want to do a site with a large background image, but when the browser its to small the image repeat itself.
    does anybody have a nice idea of how to fix it?
    should i use a color gradient to mix them?
    or set the size or the proportion of the image to something?
    is there a css background property to cover vertically?

    I don't like to use extra large images for backgrounds as they take up too much bandwidth which creates slower loading pages.  Also, you can't predict how small or large your end user's viewport is so your image may not display appropriately on many web devices (mobile phone, tablet, laptop, ultra-wide).
    The best backgrounds for web pages are small seamless tiles or gradient slices that repeat horizontally and vertically to fill the browser's viewport, regardless of size.
    body {
    background-image: url(BG-image,jpg;
    To repeat an image vertically
    body {
    background-image: url(BG-image,jpg;
    background-repeat: y;
    To repeat an image horizontally
    body {
    background-image: url(BG-image,jpg;
    background-repeat: x;
    More on backgrounds:
    http://alt-web.com/Backgrounds.shtml
    http://w3schools.com/css/css_background.asp
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Css Background Gradient

    i have a css background gradient... but when i scroll, the gradient stick in the loading height.
    what can i do to have the gradient correct always?
    html {
        height:100%;
    body {
        height:100%;
        font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
        background: -moz-linear-gradient(top, rgba(84,84,84,0.9) 0%, rgba(0,0,0,0.9) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(84,84,84,0.9)), color-stop(100%, rgba(0,0,0,0.9)));
        background: -webkit-linear-gradient(top, rgba(84,84,84,0.9) 0%, rgba(0,0,0,0.9) 100%);
        background: -o-linear-gradient(top, rgba(84,84,84,0.9) 0%, rgba(0,0,0,0.9) 100%);
        background: -ms-linear-gradient(top, rgba(84,84,84,0.9) 0%, rgba(0,0,0,0.9) 100%);
        background: linear-gradient(top, rgba(84,84,84,0.9) 0%, rgba(0,0,0,0.9) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6545454', endColorstr='#e6000000', GradientType=0 );
        margin: 0;
        padding: 0;
        color: #000;

    Don't know about the Javascript - you basically would need to create a listener that would detect when the window size changed and the reapply the CSS gradients. One issue with that approach is that it can become a bit of a resource hog.
    For approach #2 check out: http://www.designbyfire.com/ - scroll and look at the bottom of his text content - he's using a transparent png graphic to create a kind of fade gradient effect (it's very subtle). Take a look at the source to see how he did it. Also this might be helpful:
    http://www.1stwebdesigner.com/inspiration/beautiful-gradient-effects-on-web-design-researc h-part-2/ - a bunch of sites that use this technique for background gradients.
    But basically create a gradient graphic in Photoshop (you only need a small sliver graphic as we can repeat it across the x-axis). Then in your CSS do something like this:
    body{
    background:#ccc url("path/to/gradientImage.jpg") bottom repeat-x;
    Change the background color (#ccc) to match the top of your gradient image color. "bottom" tells the browser to attatch the graphic to the bottom of the body tag, "repeat-x" tells the browser to repeat it across the x-axis (horizontal). If you've done it right, your background image will blend into the background color creating a nice gradient effect.

  • White background around graphics shows as a blue tint ...

    The white background around graphics that contain a drop shadow,shows as a blue tinted region only when printing as a pdf/pdf-x file to color laser printers. Ink jet printers print the page correctly. Since I work in a pc environment, I save pages files as pdf or pdf-x onto a flash drive. When I open the file on a pc in acrobat reader, it shows the white background. The color laser is an HP Color Laserjet 2550PS. I'd like to include the drop shadows and print to the laser, since the inkjets are being phased out.
    Any suggestions about the cause or solution to this problem?

    Lightroom CC - blue box in develop module

  • Spry Sliding Panel bugs with Flash SWF, iFrames, CSS background images

    Greetings,
    I'm working on a site right now that is build with Spry 1.6
    Sliding Panels. On the home panel I have integrated a looping SWF,
    and scrolling iFrames on the Overview panel. After extensive
    research on these forums, I'm still scratching my head at a few
    bugs listed below:
    • Firefox (MAC v2.0.0.14)
    - The SWF on the home panel doesn't hide properly when
    sliding to a different panel. I have set 'wmode opaque' parameters
    to the flash file, but this seems to have not resolved the issue.
    - Additionally, I've noticed that sometimes the SWF will not
    finish sliding into the correct position when clicking to the home
    panel (the SWF will stop sliding several pixels left of the
    original positioning).
    - The SWF (which happens to be a loop animation) resets every
    time the home panel is visited. In my testing, this does not happen
    in any other browser.
    - On the Overview panel, scrolling iFrames are used on the
    "Staff Profiles". These iFrames don't hide properly when clicking
    through other panels, as the scroll bars are still viewable.
    - Overall, the sliding animation is a bit choppy compared to
    all other browsers. I can live with this, but I wonder if I have
    improper code somewhere?
    • Opera (MAC v9.27)
    - Same issue as above concerning the fact that the SWF
    appears outside of the sliding panel view port.
    • IE 6
    - CSS background images flash during the sliding panel
    animation.
    * Site page links *
    Main URL
    Home
    Page iFrame
    Overview
    Page iFrame
    * CSS *
    Main
    site-wide CSS
    Sliding
    Panels CSS
    * Scripts *
    Sliding
    Panels Sript
    Any suggestions, pointers would be much appreciated!
    Cheers,
    Chris

    Greetings,
    I'm working on a site right now that is build with Spry 1.6
    Sliding Panels. On the home panel I have integrated a looping SWF,
    and scrolling iFrames on the Overview panel. After extensive
    research on these forums, I'm still scratching my head at a few
    bugs listed below:
    • Firefox (MAC v2.0.0.14)
    - The SWF on the home panel doesn't hide properly when
    sliding to a different panel. I have set 'wmode opaque' parameters
    to the flash file, but this seems to have not resolved the issue.
    - Additionally, I've noticed that sometimes the SWF will not
    finish sliding into the correct position when clicking to the home
    panel (the SWF will stop sliding several pixels left of the
    original positioning).
    - The SWF (which happens to be a loop animation) resets every
    time the home panel is visited. In my testing, this does not happen
    in any other browser.
    - On the Overview panel, scrolling iFrames are used on the
    "Staff Profiles". These iFrames don't hide properly when clicking
    through other panels, as the scroll bars are still viewable.
    - Overall, the sliding animation is a bit choppy compared to
    all other browsers. I can live with this, but I wonder if I have
    improper code somewhere?
    • Opera (MAC v9.27)
    - Same issue as above concerning the fact that the SWF
    appears outside of the sliding panel view port.
    • IE 6
    - CSS background images flash during the sliding panel
    animation.
    * Site page links *
    Main URL
    Home
    Page iFrame
    Overview
    Page iFrame
    * CSS *
    Main
    site-wide CSS
    Sliding
    Panels CSS
    * Scripts *
    Sliding
    Panels Sript
    Any suggestions, pointers would be much appreciated!
    Cheers,
    Chris

  • CSS rounded border issue

    I've got a CSS rounded border issue. Safari (4.0.3) is drawing a slight white artifact on the rounded corners. Look at the comparison between the Safari screenshot and the Firefox (3.5.x) screenshot (look at the border on the Watch button):
    http://www.prototypos.com/screenshots/safariroundedborder.png
    http://www.prototypos.com/screenshots/firefoxroundedborder.png
    Do folks on the Apple Safari dev team read this site? If so, I'd appreciate it if they take a look at this issue.
    thanks, Chuck
    Message was edited by: Dr. Chuck
    Message was edited by: Dr. Chuck

    Are you doing this with CSS3 ? If your using CSS 3 you know it hasn't really been fully implemented in all browsers, (even if they say so). Even tho CSS 3 is out and running, I myself tend to shy away from stuff like round corners.
    No Apple won't see this.

  • Firefox don't load CSS Background at all on any Websites.

    Hey All
    I am running Firefox12 on Windows 7 ( 64 bit )
    Firefox does not load ANY css bg images, css background colors and text colors. Layout is all completely normal, but all colour and background stuff doesn't work (links are all blue, pages all white, etc.). at all on any sites.
    I've tried disabling all add-ons and restarting firefox and restarting the computer and clearing the cache and all that good stuff.
    Settings are not blocking images and are surely loading all image content automatically and all.
    Also Checked
    Firefox > Preferences > Content : Fonts & Colors: Colors > [[X]"Allow pages to choose their own colors, instead of my selections above"
    So that's not it
    I also use Firebug, but clearing the console does nothing. Neither does uninstalling Firebug. I noticed that in the Firefox Error Console I receive warnings for these issues. For example on this page I see numerous warning like:
    Look below for Few Screenshots of Error Console

    Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Accessibility settings.
    *Tools > Options > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
    *http://kb.mozillazine.org/Website_colors_are_wrong
    *http://kb.mozillazine.org/Websites_look_wrong

  • CSS Background Shifts Down

    So, i am working on my school's website in my Web Development Course, and everything seems to be going fine. I have enctountered a problem, i have a divider holding a table that is our navigation bar, and below it the content of the site. When it is in the design/code view, it looks fine as displayed in Figure 1
    then when it is previewed in any browser, or in live view, it moves it down like 10ish pixels...there is no margins on any of the div either.
    and here is the code for you to look at.
    <!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=utf-8" />
    <title>Belmont High School - Home</title>
    <style type="text/css">
    <!--
    body {
    font: 100% Verdana, Arial, Helvetica, sans-serif;
    background: #666666;
    margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
    padding: 0;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    color: #000000;
    .oneColFixCtr #container #content #center {
    float: left;
    height: 520px;
    width: 400px;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    text-align: center;
    background-image: url(images/center.png);
    background-repeat: no-repeat;
    background-position: center top;
    .oneColFixCtr #container #content #right ul {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 11px;
    .oneColFixCtr #container #content #right {
    float: right;
    height: 520px;
    width: 200px;
    font-family: Tahoma, Geneva, sans-serif;
    background-repeat: no-repeat;
    background-position: center top;
    background-image: url(file:///U|/Fall-Spring2010_11/Web%20Design/BHS%20website%202011-2012/Homepage-%20Bing %20and%20Ryan/images/right.png);
    padding: 0px;
    margin: 0px;
    .oneColFixCtr #container #content .left {
    float: left;
    height: 520px;
    width: 200px;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 16px;
    background-repeat: no-repeat;
    background-position: center top;
    text-align: left;
    background-image: url(file:///U|/Fall-Spring2010_11/Web%20Design/BHS%20website%202011-2012/Homepage-%20Bing %20and%20Ryan/images/left.png);
    .oneColFixCtr #container {
    width: 800px; /* the auto margins (in conjunction with a width) center the page */
    border: 1px solid #000000;
    text-align: left; /* this overrides the text-align: center on the body element. */
    height: 1020px;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    background-color: #830A16;
    .oneColFixCtr #container #bubble {
    height: 300px;
    background-repeat: no-repeat;
    background-position: left top;
    text-align: center;
    font-family: "Times New Roman", Times, serif;
    padding: 0px;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: 0;
    border-right-style: 0;
    border-bottom-style: 0;
    border-left-style: 0;
    font-size: 17px;
    font-style: normal;
    background-image: url(images/bubble.png);
    margin-top: 5px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    .oneColFixCtr #navigation {
    height: 30px;
    .oneColFixCtr #container #content {
    height: 820px;
    width: 800px;
    -->
    </style>
    <script src="/Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_nbGroup(event, grpName) { //v6.0
      var i,img,nbArr,args=MM_nbGroup.arguments;
      if (event == "init" && args.length > 2) {
        if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
          img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
          if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
          nbArr[nbArr.length] = img;
          for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
            if (!img.MM_up) img.MM_up = img.src;
            img.src = img.MM_dn = args[i+1];
            nbArr[nbArr.length] = img;
      } else if (event == "over") {
        document.MM_nbOver = nbArr = new Array();
        for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
          nbArr[nbArr.length] = img;
      } else if (event == "out" ) {
        for (i=0; i < document.MM_nbOver.length; i++) {
          img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
      } else if (event == "down") {
        nbArr = document[grpName];
        if (nbArr)
          for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
        document[grpName] = nbArr = new Array();
        for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
          nbArr[nbArr.length] = img;
    //-->
    </script>
    </head>
    <body class="oneColFixCtr" onload="MM_preloadImages('file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage- Bing and Ryan/images/Home_DOWN.png','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage- Bing and Ryan/images/home_OVER.png','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage- Bing and Ryan/images/aboutus_DOWN.png','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage- Bing and Ryan/images/aboutus_OVER.png','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage- Bing and Ryan/images/departments_DOWN.png','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage- Bing and Ryan/images/departments_OVER.png','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage- Bing and Ryan/images/sports_DOWN.png','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage- Bing and Ryan/images/sports_OVER.png','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage- Bing and Ryan/images/guidance_DOWN.png','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage- Bing and Ryan/images/guidance_OVER.png')">
    <div id="container">
    <div class="header" id="header">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="148" id="bhs_header" title="Belmont High School Slideshow">
        <param name="movie" value="movie/header_slideshow.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="6.0.65.0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
        <param name="expressinstall" value="/Scripts/expressInstall.swf" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="movie/header_slideshow.swf" width="800" height="148">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="6.0.65.0" />
          <param name="expressinstall" value="/Scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    </div>
    <!--endheadercontainer-->
    <div id="navigation">
      <table border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td><a href="index.html" target="_top" onclick="MM_nbGroup('down','group1','home','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage/images/Home_DOWN.png',1)" onmouseover="MM_nbGroup('over','home','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage/images/home_OVER.png','',1)" onmouseout="MM_nbGroup('out')"><img src="images/home_UP.png" alt="Home" name="home" width="80" height="30" border="0" id="home" onload="" /></a></td>
          <td><a href="index_aboutus.html" target="_top" onclick="MM_nbGroup('down','group1','aboutus','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage/images/aboutus_UP.png',1)" onmouseover="MM_nbGroup('over','aboutus','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage/images/aboutus_OVER.png','',1)" onmouseout="MM_nbGroup('out')"><img src="images/aboutus_DOWN.png" alt="About Us" name="aboutus" width="80" height="30" border="0" id="aboutus" onload="" /></a></td>
          <td><a href="javascript:;" target="_top" onclick="MM_nbGroup('down','group1','depts','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage/images/departments_DOWN.png',1)" onmouseover="MM_nbGroup('over','depts','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage/images/departments_OVER.png','',1)" onmouseout="MM_nbGroup('out')"><img src="images/departments_UP.png" alt="Departments" name="depts" width="80" height="30" border="0" id="depts" onload="" /></a></td>
          <td><a href="javascript:;" target="_top" onclick="MM_nbGroup('down','group1','sports','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage/images/sports_DOWN.png',1)" onmouseover="MM_nbGroup('over','sports','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage/images/sports_OVER.png','',1)" onmouseout="MM_nbGroup('out')"><img src="images/sports_UP.png" alt="Sports" name="sports" width="80" height="30" border="0" id="sports" onload="" /></a></td>
          <td><a href="javascript:;" target="_top" onclick="MM_nbGroup('down','group1','resources','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage/images/resources_DOWN.png',1)" onmouseover="MM_nbGroup('over','resources','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage/images/resources_OVER.png','',1)" onmouseout="MM_nbGroup('out')"><img src="images/resources_UP.png" alt="Resources" name="resources" width="80" height="30" border="0" id="resources" onload="" /></a></td>
          <td><a href="javascript:;" target="_top" onclick="MM_nbGroup('down','group1','guidance','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage/images/guidance_DOWN.png',1)" onmouseover="MM_nbGroup('over','guidance','file:///U|/Fall-Spring2010_11/Web Design/BHS website 2011-2012/Homepage/images/guidance_OVER.png','',1)" onmouseout="MM_nbGroup('out')"><img src="images/guidance_UP.png" alt="Guidance" name="guidance" width="80" height="30" border="0" id="guidance" onload="" /></a></td>
        </tr>
      </table>
    </div>
    <!--end#navigationcontainer-->
    <div class="bubble" id="bubble">
      <p>Mission Statement</p>
      <i><p><font size="3">The mission of Belmont High School is to develop contributing
    <br>members of society who are communicators and life long learners.</br></font></p></i>
      <p>Statement Of Purpose</p>
      <i>
      <p><font size="3">Belmont High School establishes a learning environment which promotes intellectual and creative growth and social, emotional and physical development. The professional staff, with the support of the residents of the Shaker Regional School District, recognizes and accepts the responsibility to foster academic excellence in all areas of curriculum and to develop young adults who possess skills, knowledge, and social responsibility. Belmont High School realizes that learning is lifelong and that our goals include present day and lifelong learning opportunities.</font></p>
      <p><a href="http://www.maps.google.com" target="_blank">Directions</a>
        </p>
      </i></div>
    <!-- end #bubble-->
    <div class="content" id="content">
      <div class="left">
      <table width="200" height="421" border="0">
      <tr>
        <td width="65" height="21" align="right" scope="col">Quick</td>
        <td width="125" scope="col">Links</td>
      </tr>
      <tr>
        <td height="42"> </td>
        <td>Teacher Pages</td>
      </tr>
      <tr>
        <td height="42"> </td>
        <td>Student Handbook</td>
      </tr>
      <tr>
        <td height="42"> </td>
        <td><p>Plato (Summer Recovery Program)</td>
      </tr>
      <tr>
        <td height="42"> </td>
        <td> </td>
      </tr>
      <tr>
        <td height="42"> </td>
        <td> </td>
      </tr>
      <tr>
        <td height="42"> </td>
        <td> </td>
      </tr>
      <tr>
        <td height="42"> </td>
        <td> </td>
      </tr>
      <tr>
        <td height="42"> </td>
        <td> </td>
      </tr>
      <tr>
        <td height="42"> </td>
        <td> </td>
      </tr>
      </table>
      </div>
      <div class="center" id="center">
        Welcome to Belmont High School!
        <p>We take pride in our school and our community. This site is your online resource for information about us as well as recent news and upcoming events. </p>
        <p>Located in Belmont, New Hampshire, Belmont High School was built in 1998 and services approximately 467 students.<br />
        </p>
    <p>The student body is made up of students from the towns of Belmont and Canterbury.
    The high school is part of the Shaker Regional School District.</p>
        <font color="#999999"><p>THE CAKE IS A LIE!!!</p></font><img src="images/serving-the-communities.png" width="350" height="30" alt="Serving The Communities Of Belmont And Canterbury" /><br> </br>
        <br> </br>
        This site was created by the students in Mr. Fricks Website Development Course
      </div>
    <!-- end #center -->
      <div class="right" id="right">
    <table width="201" border="0">
      <tr>
        <th width="10" scope="col"> </th>
        <td width="181" scope="col">Announcements:</td>
      </tr>
    </table>
    <ul>
    On Saturday, May 14th from 9am-12:30pm at Bedford High School auditorium there will be a NH MILITARY SERVICE ACADEMY DAY.</ul>
    <ul>Year books are now on sale for $35.00 reserve your copy today.</ul>
    <ul>Senior Breakfast 6/3</ul>
    <ul>Congratulations to Mr. Hill for receiving the 2010 NH JumpStart Teaching Award</ul>
    <ul>The BHS Robotics team qualified for the 2011 VEX Robotics World Championship</ul>
    <ul>Congratulations to Mr. Acquilano " Class M Athletic Director of the Year".</ul>
    <ul>Congratulations to Mr. Wormald on being selected as one of the five finalist for the 2010 Great American Teacher of the Year</ul>
      </div>
    <!-- end #right -->
    </div>
    <!--end #content -->
    </div>
    <!-- end #container -->
    <script type="text/javascript">
    <!--
    swfobject.registerObject("bhs_header");
    //-->
    </script>
    </body>
    </html>

    Browsers add their own default margins and padding to markup elements.  You may want to use a Reset CSS.  Or add a universal selector rule to the top of your CSS code:
    * {margin: 0; padding: 0}
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Trouble with css background

    Hey guys, I am having trouble with some code. I have nested divs inside of a container dive for the body copy, but I am having trouble with the background of the container div going behind the nested divs. I only have this issue with the background when I go to float the nested divs.
    Below is a copy of my html and a copy of my linked css style sheet.
    <!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=utf-8" />
    <title>Welcome to Optimus Lens</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <style type="text/css">
    #sector {
         background-repeat: no-repeat;
         background-position: left;
         width: 869px;
         margin-top: -51px;
         margin-right: auto;
         margin-bottom: 0;
         margin-left: auto;
    #oag {
         width: 574px;
         margin-left: 23px;
         float: left;
         /* [disabled]position: relative; */
    #small_col {
         width: 279px;
         margin-right: 23px;
         float: right;
         /* [disabled]position: static; */
    </style>
    </head>
    <body onload="MM_preloadImages('images/home_over.jpg','images/our_mission_over.jpg','images/products_over.jpg','images/news_over.jpg','images/order_over.jpg','images/contact_over.jpg')">
    <div id="CONTAINER">
           <div id="header"><img src="images/header_top.png" width="916" height="39" />
           <img src="images/header_logo.jpg" width="916" height="95" />
          <img src="images/header_image.jpg" width="916" height="266" />
           <img src="images/header_bar.jpg" width="916" height="9" />
    </div>
          <div id="menuContainer">
         <!-- NAVIGATION -->
                    <ul>
                    <li>
                    <img src="images/fold_left_top.png" width="22" height="35" /><img src="images/menu_left.jpg" width="197" height="35" />
                    </li>
                    <li>
                        <div class="menu n1"><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/home_over.jpg',1)"><img src="images/home_up.jpg" alt="home" name="home" width="66" height="35" border="0" id="home" /></a></div></li>
                    <li>
                      <div class="menu n2"><a href="mission.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Our Mission','','images/our_mission_over.jpg',1)"><img src="images/our_mission_up.jpg" alt="Our Mission" name="Our Mission" width="124" height="35" border="0" id="Our Mission" /></a></div></li>
                    <li>
                        <div class="menu n3"><a href="products.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Products','','images/products_over.jpg',1)"><img src="images/products_up.jpg" alt="products" name="Products" width="98" height="35" border="0" id="Products" /></a></div></li>
                    <li>
                        <div class="menu n4"><a href="news.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('News','','images/news_over.jpg',1)"><img src="images/news_up.jpg" alt="News" name="News" width="77" height="35" border="0" id="News" /></a></div></li>
                    <li>
                        <div class="menu n5"><a href="order.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Order','','images/order_over.jpg',1)"><img src="images/order_up.jpg" alt="Order" name="Order" width="77" height="35" border="0" id="Order" /></a></div></li>
                    <li>
                      <div class="menu n6"><a href="contact.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Contact','','images/contact_over.jpg',1)"><img src="images/contact_up.jpg" alt="Contact" name="Contact" width="80" height="35" border="0" id="Contact" /></a></div></li>
                    <li>
                      <img src="images/menu_right.jpg" width="197" height="35" /><img src="images/fold_right_top.png" width="22" height="35" /> </li>
                    </ul>
          </div>
           <div id="header_bottom"><img src="images/fold_left_bottom.png" width="22" height="38" /><img src="images/header_bottom.jpg" width="916" height="38" /><img src="images/fold_right_bottom.png" width="22" height="38" />
        </div>
         <div id="bodycopy">
           <div id="sector">
          <img src="images/home/sector_top.png" width="869" height="341" alt="sector frames" />
          </div>
           <p> </p>
           <div id="oag">
          <img src="images/home/oag_join.png" width="574" height="281" alt="save with oag" />
          <p> </p>
          <img src="images/home/bottom.png" width="574" height="132" />
          </div>
          <div id="small_col">
          <img src="images/home/optimize_small.png" width="279" height="132" />
          <p> </p>
          <img src="images/home/intuition_small.png" width="279" height="132" />
          <p> </p>
          <img src="images/home/intuition_small.png" width="279" height="132" />
          </div>
         </div>
        <div id="footer"><img src="images/footer.png" width="916" height="52" />
      </div>
    </div>
    </body>
    </html>body {
         margin: 0px;
         background-image: url(images/background_fade_04.jpg);
         background-repeat: repeat-x;
         background-position: top;
         background-color: #DCDCDC;
         font-family: Arial, Helvetica, sans-serif;
         font-size: 13px;
    #box1 {
         background-image: url(images/bodycopybox_01.png);
         background-repeat: no-repeat;
         background-position: left;
         height: 54px;
         width: 869px;
         margin-top: 0;
         margin-right: auto;
         margin-bottom: 0;
         margin-left: auto;
    #box2 {
         background-image: url(images/bodycopybox_02.png);
         background-repeat: repeat-y;
         background-position: left;
         width: 869px;
         margin-top: 0;
         margin-right: auto;
         margin-bottom: 0;
         margin-left: auto;
    .bodycopybox {
         padding-right: 40px;
         padding-left: 40px;
    .bodycopyboxheader {
         padding-right: 40px;
         padding-left: 40px;
         font-weight: bolder;
         font-family: Arial, Helvetica, sans-serif;
         font-size: 14px;
         color: #21368b;
    #box3 {
         background-image: url(images/bodycopybox_04.png);
         background-repeat: no-repeat;
         background-position: left;
         height: 31px;
         width: 869px;
         margin:0 auto;
    #box4 {
         background-image: url(images/bodycopybox_03.png);
         background-repeat: no-repeat;
         background-position: left;
         height: 31px;
         width: 869px;
         margin:0 auto;
    p {
         margin: 0px;
    #header_bottom {
         width: 960px;
         margin:0 auto;
    #CONTAINER {
         width: 100%;
         margin:0 auto;
    #header {
         width: 916px;
         margin:0 auto;
    #menuContainer {
         width: 960px;
         margin:0 auto;
         height: 35px;
    #menuContainer ul{
         list-style:none;
         height:35px;
         margin:0;
         padding:0;
    #menuContainer li{
         float:left;
         height:35px;
         margin:0;
         padding:0;
    #menuContainer li a{
         text-align:center;
         float:none;
         height:35px;
         margin:0;
         padding:0;
    div.menu{position:relative;}
    .n1{
         width:66px;
         float:left;
         display:inline-block;
         clear:both;
    .n2{
         width:124px;
         float:left;
         display:inline-block;
         clear:both;
    .n3{
         width:98px;
         float:left;
         display:inline-block;
         clear:both;
    .n4{
         width:77px;
         float:left;
         display:inline-block;
         clear:both;
    .n5{
         width:77px;
         float:left;
         display:inline-block;
         clear:both;
    .n6 {
         width:80px;
         float:left;
         display:inline-block;
         clear:both;
    #bodycopy {
         background-color: #FFFFFF;
         width: 916px;
         padding: 0px;
         margin-top: 0;
         margin-right: auto;
         margin-bottom: 0;
         margin-left: auto;
    #footer {
         width: 916px;
         margin:0 auto;
         padding: 0px;

    Try this:
    #CONTAINER {
    width: 900px;
    margin:0 auto;
    background: #FFF;
    overflow:hidden; /**float containment**/
    /**There is no need for #sector division, you can delete it.**/
    #oag {
    width: 574px;
    float: left;
    margin-left: 25px;
    #small_col {
    width: 279px;
    float: right;
    margin-right: 25px;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Trouble with CSS background scaling

    Hi,
    Please take a look at the following page I am working on at
    the moment
    http://www.dpweddingphotography.co.uk/test.html
    I am trying to acheive the look of
    http://tomwickyphotography.com/index2.php?v=v1
    Is this possible in Dreamweaver using CSS/Java? When I reduce
    my browsers window and make it really narrow, up pops the white
    blank space at the bottom of the page which I am trying to avoid.
    You can see on the other site that when it gets to a certain point
    it stops scaling down. The same with it vertically also.
    Now I know this other site is done in flash but can it be
    done in dreamweaver and if so how please?
    Thanks
    Here's the code I am using for testing:

    Im not really sure I understand your question, but if you
    were to make this
    graphic (ContactSheet-001.jpg ) a background image and set it
    to repeat,
    would that not solve the issue?
    "bensmithhull" <[email protected]> wrote in
    message
    news:gmvntr$icj$[email protected]..
    > Hi,
    >
    > Please take a look at the following page I am working on
    at the moment
    >
    http://www.dpweddingphotography.co.uk/test.html
    >
    > I am trying to acheive the look of
    >
    http://tomwickyphotography.com/index2.php?v=v1
    >
    > Is this possible in Dreamweaver using CSS/Java? When I
    reduce my browsers
    > window and make it really narrow, up pops the white
    blank space at the
    > bottom
    > of the page which I am trying to avoid. You can see on
    the other site that
    > when
    > it gets to a certain point it stops scaling down. The
    same with it
    > vertically
    > also.
    >
    > Now I know this other site is done in flash but can it
    be done in
    > dreamweaver
    > and if so how please?
    >
    > Thanks
    >
    > Here's the code I am using for testing:
    >
    >
    >
    > <html>
    > <head>
    > <title>BG</title>
    > <style type="text/css">
    > body {
    > /* for IE; otherwise, BG isn't fully stretched */
    > margin: 0px;
    > }
    >
    > #bg {
    > position: fixed;
    > margin: 0px;
    > border: 0px;
    > padding: 0px;
    > left: 0px;
    > top: 0px;
    > width: 100%;
    > height: 100%;
    > overflow: hidden;
    > z-index: 0;
    > }
    >
    > #bg img {
    > width: 100%;
    > }
    >
    >
    > #body {
    > position: absolute;
    > left: 0%;
    > top: 0%;
    > width: 100%;
    > height:100%;
    > padding: 0;
    > z-index: 10;
    > }
    >
    > li {
    > margin-bottom: 2em;
    > }
    > </style>
    > <!--[if IE]>
    > <style type="text/css">
    > body {
    > margin: 0px;
    > overflow: hidden;
    > }
    >
    > #body {
    > padding: 1em;
    > width: 100%;
    > height:100%;
    > overflow: auto;
    > }
    > </style>
    > <![endif]-->
    > </head>
    >
    > <body>
    > <!-- img must be encased in div to keep proper image
    aspect ratio -->
    > <div id="bg"><img
    src="images/ContactSheet-001.jpg"></div>
    >
    > <div id="body">Put the page's content
    here.</div>
    > </body>
    > </html>
    >

  • Css background-position problem

    Hello, I get a problem with this style:
    <style type="text/css" media="screen">
    html {
    margin: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
    body {
    background-color:#ffffff;
    background-image:url(images/myimage.jpg);
    background-position: center bottom;
    background-repeat:repeat-x;
    </style>
    In ie7 works fine, in firefox 2 the bottom position doesn't
    work...
    Any suggestion ?
    Thanks
    howdy

    Hello, this is the page, simply copy and paste.
    <!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=utf-8" />
    <title>test background</title>
    <style type="text/css" media="screen">
    html {
    margin: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
    body {
    background-color:#ffffff;
    background-image:url(
    http://img179.imageshack.us/img179/2401/backgroundkc8.jpg);
    background-position: center bottom;
    background-repeat:repeat-x;
    #layer1{
    text-align: center;
    width: 300px;
    margin-right: auto;
    margin-left: auto;
    border: 2px double #003333;
    </style>
    </head>
    <body>
    <div id="layer1">Lorem ipsum dolor sit amet,
    consectetuer adipiscing
    elit. Quisque cursus, justo a tincidunt volutpat, dui orci
    feugiat
    justo, at varius odio est quis turpis. Integer nisl enim,
    condimentum
    et, eleifend et, posuere quis, risus. Nam convallis. Integer
    diam dui,
    accumsan mattis, dignissim at, dictum rutrum, justo. Praesent
    lacinia.
    Cras a diam. Aenean quis elit. Duis mauris erat, aliquet nec,
    malesuada
    laoreet, aliquam sit amet, magna. Ut turpis metus,
    sollicitudin ac,
    fermentum non, pretium eu, augue. Nunc faucibus, leo eu
    pharetra
    ultrices, sem augue ultricies risus, at egestas velit lectus
    ac velit.
    Suspendisse pretium nibh dapibus turpis. Praesent felis mi,
    vestibulum
    eu, pellentesque et, consequat eu, ante. Nulla accumsan enim
    et pede.
    Suspendisse potenti.
    Donec eget nulla. Proin et est. Integer volutpat, dolor
    scelerisque
    bibendum egestas, lacus dui venenatis odio, vitae varius
    massa eros sit
    amet ligula. Curabitur tellus. Curabitur ultricies volutpat
    tellus. In
    sodales. Duis cursus mi eu dui placerat porta. Mauris laoreet
    turpis at
    nunc. Vivamus volutpat, metus dignissim accumsan hendrerit,
    turpis
    turpis aliquet nulla, non viverra dui dui quis quam. Mauris
    sem nunc,
    laoreet in, elementum vitae, tempor a, libero. Cras ac turpis
    sit amet
    risus cursus ultrices. Sed id quam.
    Nulla tortor ligula, adipiscing nec, ornare eu, gravida in,
    justo. Sed
    elementum vestibulum lectus. Mauris lectus mauris, convallis
    nec,
    posuere quis, lacinia at, felis. Vestibulum ante ipsum primis
    in
    faucibus orci luctus et ultrices posuere cubilia Curae;
    Aenean cursus
    quam eget dui. Maecenas sapien. Aenean pellentesque lobortis
    mi. Quisque
    tempor ipsum in libero. Pellentesque habitant morbi tristique
    senectus
    et netus et malesuada fames ac turpis egestas. Class aptent
    taciti
    sociosqu ad litora torquent per conubia nostra, per inceptos
    himenaeos.
    Quisque lacus tellus, ornare quis, euismod et, lacinia sed,
    justo. Proin
    auctor nisi sed tortor. Fusce in justo et nisl fermentum
    vehicula.
    Quisque urna felis, lacinia at, viverra in, fermentum ut,
    lacus. Duis
    tempus. Morbi bibendum libero vitae diam faucibus placerat.
    Praesent eu sapien. Sed ut velit quis magna lobortis
    malesuada.
    Phasellus dignissim risus ac est. Pellentesque semper sem.
    Donec porta
    nulla nec quam. Pellentesque aliquet risus id quam. Proin
    tincidunt erat
    nec nunc. Praesent euismod fringilla ipsum. Donec ornare.
    Vestibulum
    ante ipsum primis in faucibus orci luctus et ultrices posuere
    cubilia
    Curae; Sed leo.
    Proin non nisi non neque porta tempus. Proin varius velit eu
    sapien.
    Pellentesque pulvinar arcu id ante. Nunc eu diam. Phasellus
    euismod,
    felis in scelerisque pharetra, diam augue eleifend mi, a
    rutrum mauris
    arcu nec orci. Proin sed erat. Pellentesque et libero.
    Aliquam ante
    velit, ultrices ut, fermentum ac, cursus ut, est. Etiam vitae
    nisl ac
    metus cursus viverra. Proin non felis. Donec massa. Nullam
    quam lectus,
    pulvinar eget, condimentum at, tristique in, quam. Proin
    vehicula
    elementum diam. Proin sapien. Praesent suscipit, lorem at
    dapibus
    fringilla, orci elit facilisis lacus, at dictum augue velit
    quis enim.
    Mauris eu mauris. Aliquam rhoncus fermentum pede. Vestibulum
    gravida
    vulputate mauris.
    Pellentesque consectetuer. Cras tellus justo, iaculis vitae,
    semper at,
    scelerisque porta, tortor. Pellentesque at mi sed tellus
    pellentesque
    ultricies. In quis pede. Integer vel tortor at dui elementum
    suscipit.
    Praesent interdum posuere odio. Integer mollis mattis ipsum.
    Duis id
    metus ut nulla molestie sagittis. Suspendisse faucibus urna
    vel metus.
    Sed bibendum, dolor sit amet rhoncus rutrum, lorem turpis
    pharetra
    tortor, quis viverra neque lorem eget massa. Lorem ipsum
    dolor sit amet,
    consectetuer adipiscing elit. Suspendisse vestibulum arcu
    vitae odio.
    Fusce enim lacus, porttitor nec, scelerisque non, viverra eu,
    enim. Sed
    mauris. In hac habitasse platea dictumst. Duis porta mauris
    quis orci.
    Donec suscipit turpis eu dui egestas suscipit. Suspendisse
    potenti. Cum
    sociis natoque penatibus et magnis dis parturient montes,
    nascetur
    ridiculus mus. In hac habitasse platea dictumst.
    Cras in arcu a mi iaculis ultricies. Pellentesque sed lorem
    at sem
    euismod blandit. Nullam pede lacus, interdum eu, aliquam a,
    pretium vel,
    sem. Pellentesque fringilla leo feugiat nibh. Cras non enim.
    Donec
    luctus ante vel diam. Mauris volutpat sapien eget nunc. Donec
    nec lectus
    nec leo iaculis fringilla. Sed felis magna, cursus et,
    hendrerit sit
    amet, pretium at, sapien. Vivamus ornare neque facilisis
    arcu. Vivamus
    nisi leo, varius ac, sodales ut, dapibus eget, eros.
    </div>
    </body>
    </html>

  • Firefox doesn't seem to render CSS backgrounds when running in Windows 7 professional 64 bit. Neither does Waterfox

    I recently purchased a new computer running Windows 7 professional 64 bit with a Pentium G630 2.7 ghz processor and 4GB memory on an ASUS P8H61-MX with integrated Intel graphics. Firefox and also Waterfox does not appear to be rendering a lot of background web information. To my mind it seems not to be taking account of all CSS instructions which I establish by checking my own web sites where background colour and images are not being shown. I run another Windows 7 Professional system 32 bit which is OK as is Opera and Safari on this system which leads me to believe it is a browser problem with 64 bit OS but then it still happens with Waterfox.

    I use Firefox on a Windows 7 64bit sytem with no problems. It is probably more likely to relate to your Firefox settings, or some software extension you use.
    * see [[websites look wrong]]

  • CSS -- background color doesn't show with scroll bar

    I have a nav bar with a background-color that shows up fine if the image opens to the right size.  If, however, the window opens small and I have to use the scroll bar to move things over, the color for the nav bar isn't there.
    Any thoughts would be appreciated.
    Here's the code:
    HTML:
    <body>
        <div id="Global">
            <div id="navHeader">
                <div id="navBar">
                    <ul class="navStyle">
                        <li>Home</li>
                        <li>Chamber Info</li>
                        <li>Event Galleries</li>
                        <li>Contact Us</li>
                        <li>Join</li>
                    </ul>
                </div>
            </div>
        </div>
    </body>
    CSS:
    @charset "utf-8";
    /* CSS Document */
        padding:0 0;
        margin:0 0;
    body{
        background-color:#f1eee3;
    #Global{ margin:0 auto;}
    #navHeader{
        width:100%;
        height:40px;
        margin:0 auto;
        background-color:#bfbfbf;
    #navBar{
        margin: 0 auto;
        width:960px;
        text-align:center;}
    .navStyle{
        font-family:"Eras Medium ITC",Arial, Helvetica, sans-serif;
        font-size:18px;
        padding-top:10px;
    .navStyle li{
        display:inline;
        padding-left:20px;
        padding-right:20px;

    Does this help?
    #navHeader{
    width:100%;
    min-height:40px;
    _height:40px; /**for IE6 only**/
    margin:0 auto;
    background-color:#bfbfbf;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Printing CSS background image

    Hi:
    Working on a new site, using a Template Monster (no jokes
    please) that my client wants me to use. I am not thrilled using
    some else's setup, and it's no picnic to work with, but my graphic
    skills are not nearly as good as my technical, and the client wants
    something more artistic.
    I have a background image in the CSS that does not print --
    it's the client's photo, so it's important. So as an alternative, I
    took it out of the background and did an AP Div and was able to
    position it properly on screen, and it prints fine. However, in
    Safari and Google Chrome, the whole page is blown apart. In IE and
    FF, no problem.
    Is there an easy fix? I am going to restore the page tonight
    with the original bg image setup (which rendered in all my browsers
    but didn't print) and post it for help, but it's not ready now.
    Here's the link to the "printable" version.
    Thanks in advance for your help.
    Rgds, Ned

    The browser has a setting under tools advanced printing to
    check a box to
    print background colors and images if you want to print them.
    Dave
    "Nedward" <[email protected]> wrote in
    message
    news:gqgvc9$aib$[email protected]..
    > Hi:
    >
    > Working on a new site, using a Template Monster (no
    jokes please) that my
    > client wants me to use. I am not thrilled using some
    else's setup, and
    it's no
    > picnic to work with, but my graphic skills are not
    nearly as good as my
    > technical, and the client wants something more artistic.
    >
    > I have a background image in the CSS that does not print
    -- it's the
    client's
    > photo, so it's important. So as an alternative, I took
    it out of the
    > background and did an AP Div and was able to position it
    properly on
    screen,
    > and it prints fine. However, in Safari and Google
    Chrome, the whole page
    is
    > blown apart. In IE and FF, no problem.
    >
    > Is there an easy fix? I am going to restore the page
    tonight with the
    > original bg image setup (which rendered in all my
    browsers but didn't
    print)
    > and post it for help, but it's not ready now.
    >
    > Here's the link to the "printable" version.
    >
    > Thanks in advance for your help.
    >
    > Rgds, Ned
    >

  • CSS Background frustrations

    Hi Guys,
    I've come across an issue I regularly have and am determined
    to find out why
    and to solve it.
    Basically, the problem is applying background images to divs.
    Works fine in
    IE but never in FF.
    FireFox takes it's positioning from the top left hand corner
    of the browser
    window (or body tag) and *not* the div to which the style is
    applied.
    Why O Why does it do this. Have I missed something?
    Currently working on the following which demonstrates the
    issue:
    http://www.scstechsolutions.co.uk/06/blank.asp
    I have looked at the CSS Specs and taken a quick tour though
    the newsgroup
    and it would seem that this should work... Don't think it
    likes me :-(
    Many thanks
    Justin

    Good luck, Justin. The observation you made about the
    position of the
    background element when using fixed is exactly the reason why
    IE is the
    outlier, once again.
    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
    ==================
    "Justin Reid" <[email protected]>
    wrote in message
    news:[email protected]...
    > That did the job nicely thanks Murray, I didn't know
    that about
    > 'background-attachment:fixed'.
    > As for the background position, I was trying loads of
    things and just got
    > carried away...
    >
    > Many thanks for your help.
    >
    > Justin
    >
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >>> FireFox takes it's positioning from the top left
    hand corner of the
    >>> browser window (or body tag) and *not* the div
    to which the style is
    >>> applied.
    >>
    >> Using 'background-attachment:fixed' on any element
    other than the body
    >> tag is dangerous for this very reason. I'm not sure
    why you want to use
    >> it with this layout, though. And why you are using
    >> 'background-position:inherit' also seems a bit
    strange to me.
    >>
    >> Why doesn't something like this work?
    >>
    >> #container {
    >> width:760px;
    >> margin:0px auto;
    >> height:100%;
    >> background-color:#91948a;
    >> border-right:#75766f 1px solid;
    >> border-left:#75766f 1px solid;
    >> }
    >> #container #head {
    >> background-color: #75766f;
    >> border-bottom:#d4e112 solid 2px;
    >> }
    >>
    >> #content1a {
    >> width:739px;
    >> height:382px;
    >> margin:10px auto;/*just showing where the area is*/
    >> /*background-attachment: fixed;*/
    >> background-image: url(../images/container.gif);
    >> background-repeat: no-repeat;
    >> /*background-position:inherit;*/
    >> }
    >> #content2 {
    >> width:739px;
    >> height:382px;
    >> /*background-attachment: fixed;*/
    >> background-repeat: no-repeat;
    >> background-image: url(../images/crossed.jpg);
    >> }
    >>
    >>
    >> --
    >> 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
    >> ==================
    >>
    >>
    >> "Justin Reid"
    <[email protected]> wrote in message
    >> news:[email protected]...
    >>> Hi Guys,
    >>>
    >>> I've come across an issue I regularly have and
    am determined to find out
    >>> why and to solve it.
    >>>
    >>> Basically, the problem is applying background
    images to divs. Works fine
    >>> in IE but never in FF.
    >>> FireFox takes it's positioning from the top left
    hand corner of the
    >>> browser window (or body tag) and *not* the div
    to which the style is
    >>> applied.
    >>>
    >>> Why O Why does it do this. Have I missed
    something?
    >>>
    >>> Currently working on the following which
    demonstrates the issue:
    >>>
    http://www.scstechsolutions.co.uk/06/blank.asp
    >>>
    >>> I have looked at the CSS Specs and taken a quick
    tour though the
    >>> newsgroup and it would seem that this should
    work... Don't think it
    >>> likes me :-(
    >>>
    >>> Many thanks
    >>>
    >>> Justin
    >>>
    >>
    >>
    >
    >

Maybe you are looking for

  • Need help creating folders and files in Pathfinder

    Hi, I have tried the Pathfinder forum but it's a ghost town over there. I don't know if this is a PF or Finder issue yet. I've just installed Pathfinder 5.2.2 on an iMac running OS 10.5.8 at my new job. The problem is I can open files and folders fro

  • SFTP support in Flash Builder?

    Hi all, I wanted to ask whether there is SFTP support somewhere in the Flash Builder / Flex Builder or whether I can somehow add this (plugin?). I searched the internet and I didn't come up with much about it. (I just downloaded and installed Flash B

  • Missing .pdf print options

    Recently installed iWork on Leopard 10.5.1, (cannot install 10.5.2 as I am still dial-up-apparent conflicts yet ti be resolved by Apple). In the process I no longer have the 7 pdf options in the file print menu. I have only mail pdf, save to iphoto,

  • Ora 02290 when using qms_transaction_mgt and autonomous transactions

    Hi all, I'm using the qms procedures: qms_transaction_mgt for openeing and closing transactions. Somewhere in my procedure when the transaction is opened i call another procedure which contains a autonomous transaction. The next time qms_transaction_

  • Why does pan and zoom create a gap in the video?

    I am using pan and zoom to move around still pictures with Premiere Elements 10.0. When I create the frames and pans in the picture and return to the timeline, PE has inserted a blank gap after the next cut in the video. The pictures are on a separat