100% height DIV in Safari

This seems to be something that others have taken note of,
but I have not seen a straightforward solution to. I have heard
that 100% height is not a W3 convention, but firefox and netscape
are displaying it properly (have not tested in IE yet since I am on
a Mac). So what do I do to make this work? I am trying to do a left
nav bar that is always 100% of the height of the page (not just the
content within it!).
Thanks!

It's not possible to reliably force an element to the full
height of the
page. I believe Osgood suggested that you try a "faux column"
approach....
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
==================
"mkonomos" <[email protected]> wrote in
message
news:er2436$b3$[email protected]..
> Is this being ignored because no one knows the answer,
no one understands
> the question, or this is too basic?

Similar Messages

  • 100% height divs

    Hi! I'm trying to combine edge animate content with a very simple reflow layout of 100% width divs.
    The idea is to create a slideshow that will scroll each Edge Animate component fullscreen.
    I was wondering if there's a way to achieve a 100% height div in edge reflow.
    Thanks in advance

    Liquid layouts stretch to 100% of browser WIDTH.
    http://alt-web.com/CSS2-Liquid-Page.html
    Height should be determined by content. Thus your layout
    needs to be
    flexible to handle long pages and short pages.
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "c-fqgy" <[email protected]> wrote in
    message
    news:gcmapc$9qs$[email protected]..
    > I've been working on getting my webpage content area to
    be 100% of the
    browsers
    > size. I also want the div that is contained in that area
    to expand to 100%
    of
    > the browsers size.
    >
    > I've been looking around on the web trying to follow
    what others have
    showed
    > working examples of but so far none of them have been
    working for me. I
    was
    > hoping I could get some assistance for why it isn't
    working. Perhaps I
    haven?t
    > fully understood what they are explaining to me?
    >
    > Example Page:
    >
    http://www.webmasterworld.com/forum83/200.htm
    >
    > So far what I understand is that DIV's need a parent
    container to base
    their
    > size off of. ie the body. You also have to tell that
    parent container to
    be a
    > height of 100% so the div has something to work from.
    >
    > My parent however is a cell and I've tried attaching an
    ID=length to it
    and
    > other parts of my document including the original way
    explained in the
    example,
    > with body but I'm getting no changes. Which has left me
    stumped.
    >
    > My page is located:
    >
    http://www3.telus.net/public/surekiss/signature.htm
    >
    > Please ignore the bottom scroll bar. I didn't make the
    frame that is in
    the
    > DIV so it is too big to fit in its new containing area.
    >
    > Thank you for any help you can offer,
    >
    > Jenna
    >

  • 100% Height div in IE6, Safari

    I am trying to figure out how to have a basic 2-column layout
    with <div>'s that stretch to 100% of the height of the
    browser. It works in NN8, FF, Opera, IE7. It does not work in IE6
    or Safari.
    Previous tips I receivced about this issue involve crazy .js
    hacks, CSS hacks where you repeat background images, and other
    complex/ inefficient solutions. Is this really necessary? Hasn't
    anyone figured out a more straightforward way to trick the
    <div> to be 100% of the height of these browsers?
    Really, all I need is for a left column to be 100% height.
    Thanks!

    Does this link help you at all?
    http://www.reinspire.net/blog/2005/10/11/css_vertical_stretch/
    Regards
    Jos
    "mkonomos" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am trying to figure out how to have a basic 2-column
    layout with <div>'s
    >that
    > stretch to 100% of the height of the browser. It works
    in NN8, FF, Opera,
    > IE7.
    > It does not work in IE6 or Safari.
    >
    > Previous tips I receivced about this issue involve crazy
    .js hacks, CSS
    > hacks
    > where you repeat background images, and other complex/
    inefficient
    > solutions.
    > Is this really necessary? Hasn't anyone figured out a
    more
    > straightforward way
    > to trick the <div> to be 100% of the height of
    these browsers?
    >
    > Really, all I need is for a left column to be 100%
    height.
    >
    > Thanks!
    >
    >
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1" />
    > <title>Untitled Document</title>
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    >
    >
    > <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1" />
    > <title>Untitled Document</title>
    > <link href="css/mcg_cvcoe_research.css"
    rel="stylesheet" type="text/css"
    > />
    > <style type="text/css">
    > #wrapper {
    > position: absolute;
    > width: 100%;
    > left: 0px;
    > top: 0px;
    > margin-top: 0px;
    > margin-right: 0px;
    > margin-bottom: 0px;
    > margin-left: 0px;
    > bottom: 0px;
    > height: 100%;
    > }
    > #top_banner {
    > background-color: #003399;
    > background-position: left top;
    > height: 110px;
    > width: 100%;
    > visibility: visible;
    > position: relative;
    > background-image: url(../images/cvcoe_banner.jpg);
    > background-repeat: no-repeat;
    > margin-top: 0px;
    > margin-left: 0px;
    > margin-right: 0px;
    > }
    > #blue_bar_under_banner {
    > background-color: #000033;
    > position: relative;
    > visibility: visible;
    > width: 100%;
    > margin-top: 0px;
    > margin-left: 0px;
    > margin-right: 0px;
    > margin-bottom: 0px;
    > height: 10px;
    > }
    > #global_links_wrapper {
    > background-color: #82A8D9;
    > z-index: 2;
    > }
    > #bottom_half_wrapper {
    > float: left;
    > height: 100%;
    > width: 100%;
    > position: relative;
    > visibility: visible;
    > left: 0px;
    > top: 0px;
    > bottom: 0px;
    > }
    > #left_nav_bar {
    > background-color: #335CAC;
    > position: relative;
    > visibility: visible;
    > width: 10em;
    > margin-left: 0px;
    > margin-top: 0px;
    > float: left;
    > margin-bottom: 0px;
    > padding-top: 10px;
    > display: inline;
    > clear: none;
    > bottom: 0px;
    > height: 100%;
    > }
    > #right_container {
    > position: relative;
    > visibility: visible;
    > height: 100%;
    > margin-top: 0px;
    > margin-left: 10em;
    > clear: none;
    > display: block; background-color:#66FF00;
    > }
    > #page_title {
    > position: relative;
    > visibility: visible;
    > height: 3em;
    > top: 0px;
    > margin-left: 1.87em;
    > margin-top: 0px;
    > background-color:#FFCCCC;
    > width: 95%;
    > }
    > #main_image_container {
    > position: relative;
    > visibility: visible;
    > height: 160px;
    > width: 600px;
    > top: 0em;
    > background-color: #CC99CC;
    > margin: 0px;
    > float: left;
    > bottom: 0em;
    > margin-left: 1.87em;
    > }
    > #text_bar_under_main_image {
    > background-color: #CC9933;
    > position: relative;
    > visibility: visible;
    > height: 2.75em;
    > left: 1.87em;
    > top: 0em;
    > float: left;
    > background-color:#CC9933;
    > margin-left: 1.87em;
    > margin: 0px;
    > width: 95%;
    > }
    > #main_text_content {
    > position: relative;
    > visibility: visible;
    > height: auto;
    > width: 75%;
    > left: 1.87em;
    > top: 0em;
    > float: left;
    > margin-top: 1em; background-color:#00CC99;
    > }
    > #footer_container {
    > border-top-width: 2px;
    > border-top-style: solid;
    > border-top-color: #990000;
    > position: relative;
    > visibility: visible;
    > height: 1em;
    > margin-left: 0em;
    > top: 0em;
    > left: 0em;
    > float: left;
    > padding-left: 1.87em;
    > padding-top: 1em;
    > background-color: #999933;
    > width: 95%;
    > }
    > </style>
    >
    >
    > </head>
    >
    >
    > <body>
    > <div id="wrapper">
    > <div id="top_banner">
    > </div> <!--closes the top_banner-->
    > <div id="blue_bar_under_banner"></div>
    > <div id="global_links_wrapper">Content for id
    "global_links_wrapper"
    > Goes
    > Here</div>
    >
    > <div id="bottom_half_wrapper">
    > <div id="left_nav_bar">Content for id
    "left_nav_bar" Goes Here</div>
    > <div id="right_container">
    > <div id="page_title">Content for id "page_title"
    Goes Here</div>
    > <div id="main_image_container">Content for id
    "main_image_container"
    > Goes
    > Here</div>
    > <div id="text_bar_under_main_image">Content for id
    > "text_bar_under_main_image" Goes Here</div>
    > <div id="main_text_content">Content for id
    "main_text_content" Goes
    > Here</div>
    > <div id="footer_container">Content for id
    "footer_container" Goes
    > Here</div>
    > </div>
    > <!--closes the right_container-->
    > </div>
    > <!--closes the bottom_half_wrapper-->
    > </div>
    > <!--closes the wrapper-->
    > </body>
    > </html>
    >

  • 100% height not working in Internet Explorer

    I'm using the following CSS code to have a verticle div tag
    stretch down the left side:
    }#leftbar {
    background-color: #2E4A72;
    height: 100%;
    width: 180px;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #FFFFFF;
    position: absolute;
    z-index: 1;
    overflow: hidden;
    top: 0px;
    visibility: visible;
    This works in Firefox and Safari, but not in IE.
    Please give me some GREAT advice, since I'm definitely not
    great at CSS. Thank you

    > which is where trickery using java comes in
    Javascript, please.
    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
    ==================
    "andy_forbes" <[email protected]> wrote in
    message
    news:eiaero$mel$[email protected]..
    > hi take a look at this article mate should help you as
    it did me :
    >
    http://www.projectseven.com/tutorials/css/pvii_columns/index.htm
    > IE does not do 100% heights, which is where trickery
    using java comes in.
    > Also
    > you can use borders of the center div rather than
    margins if you want a
    > specific colour to stretch with the content. So you
    would take off the
    > margins
    > widths and replace with border widths as this hasd the
    same effect and you
    > can
    > then apply colours and they will stretch with the main
    content as they are
    > attached....am I making any sense for you?
    > Andy
    >

  • Force HTML5 Video 100% Height and Width ?

    So stage is 100% height and width
    the video div is also a 100% height and width
    However the background video had spaces to the left and right where it isn't filling the div is there away around this to force it to fit a 100% width and height always leaving no gaps?

    Hi there,
    You mean stretch the aspect ratio of a video element to whatever size the container is? No, the video will resize to fit in the browser while still retaining its aspect ratio - this is actually desirable in most cases.
    It is possible to do what you want using the object-fit css property, but it's currently only supported in the latest versions of Chrome and Opera browsers:
    http://caniuse.com/#search=object-fit
    hth,
    Joe

  • 100% height, safe to use?

    Is "height:100%" on divs or tables pretty much safe to use at this point?
    I know it wasn't, a few years ago... and required a bunch of hacks to work universally.

    JTANNA wrote:
    No because my ESP is down today because we are still in a holiday mode (I am based in chilly London).  I spent just 5 minutes on that code and now I have spent another 3 minutes to modify it slightly so use this CSS:
        height: 100%;
    body, html {
        height: 100%;
    body {
        width: 100%;
        margin: auto;
        text-align: center;
    #wrapper {
        width: 980px;
        height: 100%;
        position: relative;
        display: table;
        margin: 0 auto;
        text-align: left;
        overflow: scroll;
    #left {
        display: table-cell;
        width: 300px;
        background-color: gray;
        vertical-align: middle;
    #images {
        display: table-cell;
        background-color: silver;
        max-width: 680px;
        text-align: left;
        vertical-align: middle;
    Having observed the code more closely, I see that this does not align the text with the image if there is more than one image. It treats Text#1, Image#1, Text#2 and Image#2 as 4 distinct elements. In other words, if the amount of text on the first row is minimal, the text on the next row will be too high in relation to the image on that row.
    The only solution I see to this problem, is taking id="left" out of the flow via absolute postitioning, and using it only as a visual aid (to see the white column), and then superimposing stacked divs that would each contain 1 text and 1 image.
    i.e.:
    <div id="wrapper">
      <div id="left></div>  <-- just a 100% tall white div, for appearance
      <div>
        <div>Text goes here.</div>
        <img src="image">
      </div>
      <div>
        <div>Text goes here.</div>
        <img src="image">
      </div>
    </div>
    So the text will always be correctly paired with its related image.
    Feel free to correct me if I err, here.

  • How do I repeat image 100% height in a box within the template

    I have built a new template that already has a background image behind the content area.  This background image is 100% width and height.  Now I have made the header area, the content area and the footer area.  What I am needing some help with is:  I want to have a box behind the content area that continues into the footer.  In that box I want a repeated background pattern that continues regardless of the amount of content in the content area.  I know how to do this using tables and code, but I can't seem to figure it out in MUSE.  I have added the box, added the repeated verticle image, but it won't expand downward 100% height.  It just stops at the height of the box that was built in MUSE and then the repeated background stops too...  Can someone explain to me how to do this properly?  It's all I have left and then this site template is complete.
    Tom

    Can you elaborate please.  I have built a template (or master page) with this box in it and it starts just below the line of the header and extends to the bottom of the page. It has a repeated verticle image inside it.  What happens though is that I build a page and assign the master to it, add a content box into the page for text and images.  If the content extends downward past the original size of the master page box height, the box will not extend itself with the height needed for the content.  IE:  if the box is 600px high in the master and then the content is 1000 px high, the box will not expand to the 1000 px height and instead stop at the 600 px height.
    Is there a tutorial with this in it somewhere?  I have build numerous MUSE sites both small and large and have yet to do this repeatable background pattern behind just the content area separate from the background image itself.
    Thanks for your help.
    Tom

  • How to find out which plugin is missing ( embed width="100%" height="100%" messagecallback="parent.frames.MANIPULATIONS.AppendMessage" spinfps="15" spiny="30")?

    How to find out which plugin is missing fro mthe website: http://web.it.nctu.edu.tw/~twli/interactive/scr_tutf.htm?
    After looking at one similar question found in mozilla support and answered by jscher2000 (https://support.mozilla.org/en-US/questions/957655), I have found out I have to look for either &lt;object or &lt;embed. What I found is : &lt;embed width="100%" height="100%" messagecallback="parent.frames.MANIPULATIONS.AppendMessage" spinfps="15" spiny="30"
    What do I have to do now?

    This big1.mol (and possibly big2.mol) file is loaded in the embed plugin object that is opened in a iframe, so you can right-click the plugin area to check the embed code.
    *http://web.it.nctu.edu.tw/%7Etwli/interactive/big1.mol
    *http://web.it.nctu.edu.tw/%7Etwli/interactive/big2.mol

  • How to make an Image in Adobe Muse  100% height ?

    100% width, it's ok; but I don't find how to make a 100% height image (wich follows my browser height)?
    I work with adobe Muse CC 2014
    thanks !

    You can use the image as browser fill and then set the position of image such that it remains to its position. This can be used as a workaround for using image as browser height.
    Thanks,
    Sanjit

  • Create an image with 100% height?

    Hi,
    I am working on a project and require an image to stretch to
    the full height of the table cell.
    The width will be fixed at 40 pixels, but I require the
    height to always be 100% of the cell.
    I have tried simply adding the height tag as 100%, but this
    proves inconsistent in various browsers.Is there a way in which I
    can achieve this, so it will work consistently on all browsers and
    platforms?
    Many thanks

    Make it a background image and let it tile to fill the space.
    Or just use
    an HTML color background.
    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
    ==================
    "TangentGraphic" <[email protected]> wrote
    in message
    news:euftp1$d1s$[email protected]..
    > Sorry in delayed response - Adobe server down...
    >
    > The image is a flat coloured gif - image distorsion is
    not an issue. Are
    > you aware of my best way to achieve its 100% height?
    >
    > Thanks

  • Help sizing panelTabbed components - how do I get it to 100% height

    firefox 2.0.0.4
    Is there any trick to getting a panelTabbed component to size itself (height and width) smartly? By default it always seems to be approx 200 pixels by 200 pixels, even if its children are bigger and even if I add my panelTabbed to a panelStretchLayout.
    When I try to force the height of my panelTabbed to 100%, I get wierd results. For instance, the entire panelTabbed component disappears (I can't find it in my browser, almost as if the height gets set to zero).
    When I look at the FusionOrderDemo home.jspx example, it looks like the author is hardcoding the panelTabs as a fixed height in pixels.
    Has anyone figured out any tricks for getting panelTabbed componets to use a % of the screen?
    I want to have a way that my panelTabbed component takes up as much space as my browser allows.
    Thanks,
    dave

    This is the code for the page:
    <af:form>
    <af:panelGroupLayout inlineStyle="position:absolute">
    <af:table value="#{bindings.EmployeeView1.collectionModel}" var="row"
    rows="#{bindings.EmployeeView1.rangeSize}"
    first="#{bindings.EmployeeView1.rangeStart}"
    emptyText="#{bindings.EmployeeView1.viewable ? 'No rows yet.' : 'Access Denied.'}"
    fetchSize="#{bindings.EmployeeView1.rangeSize}"
    inlineStyle="width:100%; height:100%;">
    <af:column sortProperty="EmpId" sortable="false"
    headerText="#{bindings.EmployeeView1.hints.EmpId.label}">
    <af:outputText value="#{row.EmpId}">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.EmployeeView1.hints.EmpId.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="FName" sortable="false"
    headerText="#{bindings.EmployeeView1.hints.FName.label}">
    <af:outputText value="#{row.FName}"/>
    </af:column>
    <af:column sortProperty="LName" sortable="false"
    headerText="#{bindings.EmployeeView1.hints.LName.label}">
    <af:outputText value="#{row.LName}"/>
    </af:column>
    </af:table>
    </af:panelGroupLayout>
    </af:form>
    Well this is not the scenario I’m looking for, what I need to do is to place a table inside of a panel group and that panel group to be inside a panel splitter, actually the table shows up fine, but I just need to remove the box that surround it i.e the table size to fit with the surrounding box. So when I set the table width & height to 100% the table rows are not shown.

  • 100% height table with bg image

    I need to have a table that is centred and fills 100% height only in the browser. In it will be a background image. Can anyone tell me how to do this? I need to do it as soon as possible as the client has just changed their mind after I completed the job.

    Code below, taken from link below, if youre inclined to want to read about how to do it:
    http://apptools.com/examples/tableheight.php
    CODE:
    <!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>Untitled Document</title>
    <style type="text/css">
      html, body, #wrapper {
          height:100%;
          margin: 0;
          padding: 0;
          border: none;
          text-align: center;
       #wrapper {
          margin: 0 auto;
          text-align: left;
          vertical-align: middle;
          width: 400px;
    </style>
    </head>
    <body>
    <table id="wrapper" border="0" cellspacing="0" cellpadding="0">
          <tr>
             <td>This is centered</td>
          </tr>
       </table>
    </body>
    </html>

  • 100% Height with Parallax Scrolling?

    I have an anchor point style parallax scrolling, I was wondering if I could have 100% height of my slideshow or image background when i maximize my screen, as you can see their is a white space below it that I do not like
    http://i.imgur.com/AryW4v1.jpg

    Hi,
    As of now, Muse does not offer the option of 100% height objects. You can use the fullscreen slideshow widget if you want the image slideshow across your complete page.
    Also, Please post this as a feature request at Ideas for features in Adobe Muse
    Hope this helps
    Regards,
    Rohit Nair

  • How can I create banners with 100% height?

    I want the homepage to load with 100% height and there buttons that anchor to sections further down the website that I also want to be 100% height when scrolled to.

    3rd post on same question by same user :
    Re: how can I Create function with an  out Parameter
    how can I Create function with an  out Parameter

  • 100% percent width AND 100% height rectangles.

    Muse should be able to have a rectangle with an image in it scaled to 100% width and height so if my browser goes full screen, the rectangles adjust to it.
    No I am not talking about a Pinned rectangle sidebar menu. I am talking about rectangles on the page that contain images with a 100% width.
    Muse should be able to have MULTIPLE 100% height rectangles, so as you scroll, each section with a 100% width and height rectangle adjusts to your browser size.
    To see the desired effect, check out this site.  
    http://www.schlage.com/en/home/keyless-deadbolt-locks/touch.html

    Thats right ...
    there is no provision of defining percentage of ALV grid.
    it takes the size of contianer automatically....
    Though you can try dynamic screen generation. but i am not sure if it allows you to determine user's screen resolution and size.
    As all the processing is done on Applicaition serer this doesnt makes any sense.
    So u have to stick to old style programming and Static ALV grid size
    Hope this helps you.

Maybe you are looking for

  • Adobe Bridge CS6 5.0.2 corrupt

    Hi, I'm using PS CS6 and Bridge somehow got corrupted. Every time I would open it the images would pixelate and the program would crash, it was unusable. I uninstalled it and now I am unable to reinstall. When trying to install CS6 5.0.2 as an  updat

  • Apple power mac g3 upgrade

    I have a power mac g3 blue and white and I was wondering if I can upgrade the ram more than 1gb and upgrade the hard drive to more than 128gb. Basically upgrade the whole unit. Thanks

  • Where does iweb store its gallery information?

    In which file does iWeb store the information which allows it to construct a gallery page? I have a site with a Gallery page, which I publish to a local folder, then upload to an ftp server for a live website (www.ayrmodelboatclub.org) When I update

  • Changing the value of the field in message

    hi i have a input message to XI like this <records>        <data_records> 1 to unbound             field1             field2             field3 the target structure is as below <records>        <data_records> 1 to unbound             field0          

  • Can someone definitively confirm the backing on the Playbook, if it's rubber/latex free?

    Hello, Have sent this in an email to RIM support, but thought I'd ask the board as well. Basically have family with SEVERE rubber/latex allergy.  I just bought a playbook and noticed the backing smells a LOT like rubber, but I find it hard to believe