Can't get parent div to expand vertically.

I know the right column floats and I tried a few things I found online but can't get it!
http://thecottagesongoldenpond.com/mc_family.html
AND I'm making all pages from my initial template, so I will need to add "the missing code" to that template - each page may require taller or shorter page..

So for your footer do a clear:
#footer {
          clear: both;  
          background-color: #7D6A8A;
          text-align: center;
          height: 100px;
          width: auto;
          color: #FFFFFF;
          font-size: 13px;
          padding-top: 10px;
          font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
Or you can make a line break do that:
</map>
</div>
<br class="clearfloat />
</div>
and your CSS for the clearfloat class:
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
          clear:both;
          height:0;
          font-size: 1px;
          line-height: 0px;

Similar Messages

  • Can't get my divs side by side and tried everything

    i am new to DW and am really struggling
    i am simply trying to get my DIVs side by side by floating left and floating right inside a wrapper DIV
    thye just always end up one ontop of the other
    here's the html can someone have a look for me i have been struggling with this for days and rebuilt the site 3 times.
    <!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>suffolk international film festval</title>
    <link rel="stylesheet" type="text/css" href="default.css"/>
    <style type="text/css">
    #wrapper {
              background-color: #000;
              height: auto;
              width: 960px;
              margin-right: auto;
              margin-left: auto;
    #wrapper #nav {
              background-color: #000;
              float: right;
              height: 20px;
              width: auto;
    #wrapper #pics banner {
              height: 85px;
              width: 960px;
    #wrapper #main wrapper {
              background-color: #000;
              height: 600px;
              width: 960px;
              border: 2px dotted #C00;
    #wrapper #main wrapper #main left {
              background-color: #565656;
              float: left;
              height: 390px;
              width: 440px;
    #wrapper #main wrapper #main right wrapper {
              background-color: #565656;
              float: right;
              height: auto;
              width: 100;
              border-top-width: 2px;
              border-right-width: 2px;
              border-bottom-width: 2px;
              border-left-width: 2px;
              border-top-style: dotted;
              border-right-style: dotted;
              border-bottom-style: dotted;
              border-left-style: dotted;
    </style>
    <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>
    </head>
    <body onload="MM_preloadImages('images/nav-bar-over_01.gif','images/nav-bar-over_02.gif','image s/nav-bar-over_03.gif','images/nav-bar-over_04.gif','images/nav-bar-over_05.gif','images/n av-bar-over_06.gif','images/nav-bar-over_07.gif')">
    <div id="wrapper">
              <div id="banner"><img src="images/banner_01.gif" width="960" height="116" alt="banner" /></div>
        <div id="nav"><a href="index test.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/nav-bar-over_01.gif',1)"><img src="images/nav-bar_01.gif" alt="home" name="home" width="81" height="20" border="0" id="home" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about us','','images/nav-bar-over_02.gif',1)"><img src="images/nav-bar_02.gif" name="about us" width="79" height="20" border="0" id="about us" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contact','','images/nav-bar-over_03.gif',1)"><img src="images/nav-bar_03.gif" name="contact" width="80" height="20" border="0" id="contact" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('attend','','images/nav-bar-over_04.gif',1)"><img src="images/nav-bar_04.gif" name="attend" width="81" height="20" border="0" id="attend" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('films','','images/nav-bar-over_05.gif',1)"><img src="images/nav-bar_05.gif" name="films" width="79" height="20" border="0" id="films" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('supporters','','images/nav-bar-over_06.gif',1)"><img src="images/nav-bar_06.gif" name="supporters" width="80" height="20" border="0" id="supporters" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('team','','images/nav-bar-over_07.gif',1)"><img src="images/nav-bar_07.gif" name="team" width="80" height="20" border="0" id="team" /></a></div>
      <div id="pics banner"><img src="images/pics-banner.jpg" width="960" height="85" alt="banner2" /></div>
        <div id="main wrapper">
                  <div id="main left"></div>
            <div id="main right wrapper">
                      <div id="top">
                    <p>test</p>
                </div>
                <div id="bottom">
              </div>
            </div>
    </div>
        </div>
    </body>
    </html>

    It is important to keep things as simple as possible and not to introduce elements for the sake of it. As a case in mind is the #wrapper element. There are already two wrapper elements called html and body that we can use.
    To ensure that you do not run into problems in the future, use a CLASS instead of an ID. They both perform the same function with the exception that an ID is unique in each document.
    Copy and paste the following into a new document and view the result in your favourite browser.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <style>
    * { /* USE A RESET INSTEAD - http://meyerweb.com/eric/tools/css/reset/*/
        padding: 0;
        margin: 0;
    *, *:before, *:after { /* http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
      -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    p, h1, h2, h3, h4 {
        padding: 1em 20px;
    html {
        background: #FFF;
        height: 100%;
    body {
        background: #CCC;
        margin: auto;
        width: 960px;
    .header {
        background: #060;
        color: #CCC;
    .nav {
        background: #000;
        color: #CCC;
    .aside {
        float: left;
        width: 30%;
    .article {
        background: #FFC;
        float: left;
        width: 70%;
    .article .feature {
        background: #F30;
        float: left;
        height: 150px;
        margin: 1.65%;
        width: 30%;
    .footer {
        background: #060;
        clear: both;
        color: #CCC;
    </style>
    </head>
    <body>
      <div class="header">
        <h1>HEADER</h1>
      </div>
      <div class="nav">
        <p>Navigation</p>
      </div>
      <div class="aside">
        <h3>Side Bar</h3>
      </div>
      <div class="article">
        <h2>Main Article</h2>
        <div class="feature">
            <h4>Feature 1</h4>
        </div>
        <div class="feature">
            <h4>Feature 2</h4>
        </div>
        <div class="feature">
            <h4>Feature 3</h4>
        </div>
      </div>
      <div class="footer">
        <p>Footer</p>
      </div>
    </body>
    </html>

  • Javascript can't get parent frame's dom

    the code like this:
    <pre><nowiki>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    </head>
    <input type="hidden" name="username" id="username" value="" />
    <frameset id="MainFrame" cols="0,0,*" border="0" frameSpacing="0" frameborder="no">
    <frame id="left" name="left" src="left.php" noresize scrolling="no" style="padding-left:20px;">
    <frame id="action" name="action" src="right.php" noresize scrolling="no">
    </frameset>
    </html>
    </nowiki></pre>
    does firefox will omit the code:
    <pre><nowiki><input type="hidden" name="username" id="username" value="" /></nowiki></pre>
    so when i in left.php or right.php can't get the input value?

    A good place to ask questions and advice about web development is at the MozillaZine Web Development/Standards Evangelism forum.
    The helpers at that forum are more knowledgeable about web development issues.
    You need to register at the MozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=25

  • Can't get Parent class

    I have created three classes.
    JMainFrame : JFrame
    JMainFramesDlg: JDialog
    JMainFramesDlg1:JDialogJMainFrame opens JMainFramesDlg, after that I press a "Edit" button on the JMainFramesDlg and it opens JMainFramesDlg1
    if (jdlgEdit == null) {
    jdlgEdit = new JMainFramesDlg1(); }
    jdlgEdit.setVisible(true);Now, I am in this child Dialog (Edit) and made some edition, changes and press OK, how can I from JMainFramesDlg1 get the instance of JMainFramesDlg and JMainFrame, I want to make some changes in this windows, if some changes in Edit Dialog took place.

    Do you have a small sample for that? How can I get the feedback from the Dialog window?
    Well, you're extending Dialog, so you can do it any way you like.
    I'd quite often use one of three techniques:
    1. for simple data, use a getter (eg "public String getPassword()") which shows the dialog modally, and then returns the value stored in a text field in it
    2. for more complex data, use a method like "public void requestInput()" which shows the dialog modally then populates fields with the input data, which can be retrieved via methods like "public String getItemName()" or "public int getQuantity()"
    3. pass in an object to the dialog, and have the dialog display and operate on it directly - eg pass it a "User" object and have the dialog present text fields which allow direct editing of "name" or "password" or whatever - then all you need is "new UserEditorDialog(myUser).show()" and you're done

  • Div wont expand vertically to fill page

    This page has a Spry Collapsible Panel on top, then a Spry Tabbed Panel with a second Tabbed Panel inside it.
    http://96.0.181.107/stylingproblem/user01.html
    Trying unsuccessfully to put a border around the panels.
    If you click the tab "Category 1B", you can see the border acting properly.
    How do I get the "Category 1A" tab border to show correctly?
    You might notice I've been commenting galore in the html. I've been moving </div>'s trying to figure it out but just get dramatically bad results.
    Also, would like to know how to move the line on the right and/or above the tabs to below them, so it looks like the tabs sit atop each individual content container
    Thanks for advice

    quote:
    Originally posted by:
    Newsgroup User
    hppsc1610 wrote:
    > Hi,
    >
    > I'm trying to create a page with a fixed width and three
    columns.
    > The columns are divs sitting within a wrapper which has
    a set width and
    > margin-left/right:auto set.
    >
    > Now, to get the columns to sit side by side I've had to
    apply 'float left' to
    > them - this works but it means the containing wrapper no
    longer expands as the
    > columns stretch vertically (because they are out of the
    flow) which means the
    > wrappers background color doesn't show.
    >
    > Question is - how do I get this layout ?
    >
    > Thanks for the help,
    >
    > MAc
    >
    Insert
    <br style="clear: both;">
    after the last floated <divs> closing tag
    (</div>)
    Beauty - works a treat - thank you v much.
    Mac

  • Can't get line items on same vertical plane

    I am having some trouble getting elements to line up on the
    same vertical plane. I am not sure if I am even going about it
    correctly. Take this page for example:
    http://visualidentity.iu.edu/media/standards.shtml
    I want to acheive something similar to the top of the page
    where it has visual identity on the left and then a search box on
    the right. However, whenever I do it, the visual identity part is
    always a little higher than than the search box. What I did was
    make a div called "header" then 2 divs inside header called
    "sitename" and "search". I floated sitename to the left and search
    to the right but it seems the text in the sitename div is slightly
    higher than the text in search. Is this the correct way to do this
    or is there another way? Also,should I set a static height on the
    header div and then "auto" widths on the sitename and search divs?
    Also, how in dreamweaver do I enter a search box? Do I do
    Insert-->form-->form and then modify the code?
    thank you.

    Try adding a margin or some padding to the search div. That
    should expand the layer enough to make it the same height as your
    other layer.
    As far as a search box is concerned you do exactly what you
    already have. You could insert a text box as that is the same as a
    search box. So you wouldn't need to code that if you didn't want
    to.

  • Can't get my div to center in Firefox

    Hi People,
    I am having trouble getting my content div to center in
    Firefox with the browser width. It works fine in IE, but it seems
    not to work so good in Firefox (stays to the left) and I am hoping
    that someone out there can offer a solution.
    I have attached the CSS code:
    The "text-align" and "vertical-align" are out of desperation.
    Thanks in advance!

    .oO(digistudios)
    > I am having trouble getting my content div to center in
    Firefox with the
    >browser width. It works fine in IE, but it seems not to
    work so good in Firefox
    This usually means that you have a bug in the code. It should
    be the
    other way round.
    >(stays to the left) and I am hoping that someone out
    there can offer a solution.
    >
    > I have attached the CSS code:
    >
    > The "text-align" and "vertical-align" are out of
    desperation.
    >
    > Thanks in advance!
    >
    Some notes first:
    > #content {
    > height: 1200px;
    > width: 1321px;
    Who is supposed to have such a huge browser viewport? And why
    a fixed
    size? Is there any text content in that container? If yes,
    check what
    will happen with an increased font size.
    > margin-right: auto;
    > margin-left: auto;
    Shorter: margin: 0 auto;
    > border: 0;
    Should not be necessary.
    > background-image:
    url(eugene_web_images/background2.jpg);
    > background-repeat: no-repeat;
    Shorter: background: url(...) no-repeat;
    > text-align: center;
    > vertical-align: middle;
    Remove these.
    Actually the above is (more or less) correct. If the
    container still
    doesn't center in FF, then there's a bug somewhere else in
    the CSS. It
    always helps a lot to not just post a little code snippet,
    but a URL.
    Micha

  • Can't get Parental Controls Preference Pane to load

    On a fairly vanilla iMac (Core 2 Duo, 2 GHz) running Mac OS X 10.5.4 I get the infinite colored pinwheel when trying to get into the Parental Controls pane of System Preferences.
    This has been going on for several 10.5.x releases now, I can't remember exactly when it started.
    I've tried repairing permissions and installing the latest combo updater (everything is up-to-date).
    The error I see in the console is:
    System Preferences[713] * -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)
    Any and all suggestions are welcome.
    Thanks in advance.

    Thanks - that's nice and clear - so only works if I set-up my children with separate log-on and restrict what they can view in their itunes view?
    Is there any way of achiving the same with one single account?

  • Since uploading the last update I can't get maximized images to expand

    Logging on to any item on auction site www.bruun-rasmussen.dk For example this item http://www.bruun-rasmussen.dk/today-search.do?pg=1&iid=300443983&did=1003143&mode=detail
    Then clicking the fullscreen images button, the images no longer expand.

    The people trying to help are just other users like yourself & respond as they can & have the knowledge. I saw your post yesterday, but I was traveling & couldn't answer.
    It is not at all clear what you have tried. Launch Pages on your iPad & tap the "+" to get the options to add documents then tap the iTunes icon. If you have added any Pages documents to iTunes you can then tap on it in the next screen to add it to Pages.

  • I upgraded Firefox, and now there is a blue band on my screen above the window, and I'm not getting the full use of the screen in viewing web pages. How can I get the window to expand to fill the screen as it did before?

    There is a horizontal band or gap above the Firefox window at the top of the screen, where you can see the Windows desktop behind the Firefox window. On the left side of this band are the window tabs, and the menu bar, and another bar with the names of the open windows. I would like to have the Firefox window expand to fill the entire screen, like it did before the upgrade. Thanks.

    Do you mean running Firefox in full screen mode?
    *https://support.mozilla.org/kb/how-to-use-full-screen
    If you are in full screen mode then you can hover the mouse to the top to make the Navigation Toolbar and Tab bar appear.<br />
    You can click the Maximize button at the top right to leave full screen mode or right click empty space on a toolbar and use "Exit Full Screen Mode" or press F11.
    *https://support.mozilla.org/kb/how-to-use-full-screen
    You can also run Firefox in a maximized window to have easier access to the Menu bar and Navigation Toolbar.

  • HT204291 When viewing a slideshow i can't get portrait pcs to appear vertical.

    When viewing a slideshow on apple tv my portrait oriented pictures show up landscape on tv. This does not happen when viewing on ipad where they rotate to correct orientation. If mirroring pic one at a time they are also fine. Problem only happens when using slideshow. Does anyone know if i have missed a setting and how i can correct?

    I have the same problem. Did you get an answer from anyone?

  • How can I get the window to expand when the TOC is shown?

    Hello all,
    We have changed our javascript call to open WebHelp in a narrow window. By design and by default, the TOC does not initially show.
    When the "Show TOC" button is clicked, we wish for the window to expand to accomodate the navigation pane. As it is, the two pains will share the narrow window, making things unuable until the user manually resizes the window. Not exactly user-friendly.
    By default, the Help window opens at 290 X 745.
    When the nav pane is expanded, we'd like the window size to become 570 X 745 to accomodate the added width of the TOC.
    Thanks in advance for the advice!

    Do you mean running Firefox in full screen mode?
    *https://support.mozilla.org/kb/how-to-use-full-screen
    If you are in full screen mode then you can hover the mouse to the top to make the Navigation Toolbar and Tab bar appear.<br />
    You can click the Maximize button at the top right to leave full screen mode or right click empty space on a toolbar and use "Exit Full Screen Mode" or press F11.
    *https://support.mozilla.org/kb/how-to-use-full-screen
    You can also run Firefox in a maximized window to have easier access to the Menu bar and Navigation Toolbar.

  • In Dreamweaver CS4, can't get sidebar background to expand to 100%

    I'm using the standard Dreamweaver-CS4-generated template for a fixed-width 2-column page (i.e., left menu column and main column) with a header and footer. This is the "2 column fixed, right sidebar, header and  footer."
    I'd like to have an overall body background (x,y repeated - that seems easy to do) and a left menu column repeated (x,y repeated ).  Alas, the comments that are generated with the template imply that you just can't do that.  I've tried all sorts of height=100% conbinations, but they don't seem to work.
    Any ideas?

    Unlike table columns, CSS columns don't communicate with each other.  The height of a division is determined by how much content is inside it.  And that value may be longer or shorter than adjacent columns.
    TO CREATE EQUAL HEIGHT CSS COLUMNS:
    Option 1. Start with an Equal Height CSS Layout
    http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser-css-no-hacks
    Option 2. Faux Columns (repeating background image).  The easiest method.
    http://forums.adobe.com/message/2653416#2653416
    Option 3. JavaScript -- may not work in all layouts.
    http://www.projectseven.com/tutorials/css/pvii_columns/index.htm
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How can I get rid of a green vertical line (edge of text box) when I export as jpeg?

    It just won't go away. Can you help?

    Please repost in the Adobe application you are using. This forum is for general design questions.

  • Can't get footer div to show

    If anyone would like to help me here, I'd greatly appreciate
    it. I have given a single background image to a div surrounding my
    main content in a "faux column" layout. Problem is, my footer isn't
    showing up, even though I close the div tag before the footer div
    begins. I gave the footer a super high z index, but it does no
    good... Aaaaarrrrgggghhhhh!

    On Sun, 10 Feb 2008 17:35:49 +0000 (UTC), "Paevo Kelley"
    <[email protected]> wrote:
    >Sorry, in my rage I forgot the url...
    >
    >
    http://www.nonpareil-design.com/
    Come on - you say site is all to W3C - but it fails their
    test on a
    most basic level.
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.nonpareil-design.com%2F&charset=%28dete ct+automatically%29&doctype=Inline&ss=1&group=0&verbose=1#line-123
    character "#" is not allowed in the value of attribute "id" .
    <div id="#
    # <div id="#sidebar2 ul">
    # <ul>
    # <li>All design according to W3C
    requirements</li>
    ~Malcolm N....
    ~

Maybe you are looking for

  • Can't download cd to itunes.

    it just spits it back out after about a minute. I just want to download it onto itunes to put on my phone.

  • How to create an entry hub to all task flows

    I have created a bunch of bounded task flows and want to create a" home" page from which I can access all of the bounded task flows. How can I do this? Thank you.

  • Clarisworks 2.0

    I have some files written in Clarisworks 2.0 around 1995. I now have a new iMac with Tiger and Appleworks 6. When I click on these files they won't open, I get an error message. Is there any way to save them? Plus, can I convert a large number of fil

  • IE float bug

    A container div that is 500px wide. Two "column" div 250px wide. Float the left column (float left), and put a left margin on the right column of 250. If you look at this in Firefox (pc or mac) or Safari, it all looks good, two columns inside a conta

  • Noob question on spanning pix for larger prints

    Howdy! I've got a lot of RAW photo's, 18 MP and higher, that I'd like to print LARGER than what my printer supports. I've got a Pro9000 MKII printer, but can't, for the life of me, figure out how to take an existing picture, "break it up into four or