100% vertical, but not horiz DIV Box?

Hopefully I can describe this well enough to be able to get
some help, fingers crossed!
You can see one of the websites using the layout I'm having
problems with here;
http://proceduresonline.com/bexley/chapters/values.html
(please bear in mind they aren't meant to be pretty or flashy
as they're simplified online manuals, essentially)
OK so,
The layout is a fixed size as the original layout, which
filled 100% of screens (as in it fitted automatically to your own
screensize) meant that people with large resolutions had far too
much text horizontally, making it hard to read, but people with
smaller resolutions were having trouble with elements overlapping
and missing buttons and so on.
So this one is fixed at such a size as to fit perfectly in a
1024 screen, but that does mean a lot of dead space on higher
resolutions.
The layout is just made up of three div areas; the container
to hold it all, one left-hand column, and one right-hand column
which holds the content of each page.
Here's the container code
.twoColFixLt #container {
width: 780px;
margin: 5px auto;
text-align: left;
Here's the left side code
.twoColFixLt #sidebar1 {
float: left;
width: 150px;
background: white url("../required
parts/side-shadow-alt.png") no-repeat bottom right ;
padding: 10px 25px 10px 20px; }
Here's the right side code
.twoColFixLt #mainContent {
background: white url("../required
parts/content-shadow-alt.png") no-repeat bottom right;
margin: 0 0 0 210px;
padding: 10px 10px 25px 15px;
In that right hand column is a very simple styled div box
which makes all the text in it display as a scrollbox rather than
force the page off the screen; <div
style="width:100%;height:500px;overflow:auto;border-width:0px;">
What i'd like to be able to do is to allow the right-hand
column (the one which holds the content) to fit 100% to a persons
screen.
I have tried various methods to make this section fit 100%,
but no matter what I try that div-box-scroll-bar part refuses to
accept percentage values. If its not got a fixed-height value it
just displays all of the contents, and so loses its scroll bar. and
this also forces the right-hand column that it sits in to go off
the page too, giving the whole page a scrollbar, which is what I
want to avoid.
What annoying is there its only that scrolly-div that has any
height value! none of the containers do, so presumably all I need
to do is to get that to fit and it'd work?
Sorry, II know this is a bit of a bad explanation - any
ideas?

I wish I could explain this better, but that will not help as I need the height to be dependant on the 100% width. Here is a sample of the problem in action:
http://www.johnkalnin.com/flash/banner.html
See how you have to scroll down to see the content.
As you can see the 100% width of the movie is messing up the height of the containing div.

Similar Messages

  • After charging my iphone5 for many hours I checked it and it 100% charged but not fully charged as the sign of charging on the top of the screen is still and the sign of unblug the charging cable doesn't show up and this happened several times ...!?

    After charging my iphone5 for many hours I checked it and it 100% charged but not fully charged as the sign of charging on the top of the screen is still and the sign of unblug the charging cable doesn't show up and this happened several times ...!? What is the problem and how I fix it !? Thanks in advance :)

    Apple told you it was unrepairable.... You had it serviced by an unauthorized party. It's now no longer eligible for out of warranty replacement by Apple.
    There's really nothing else we can say about it. Find a competent 3rd party repair shop or buy a new one.

  • Can someone help me understand how ePub CSS @fontface Unicode characters are supported in td , but not in div or other elements?

    Hi,
    I'm working on a project to convert several hundred thousand life sciences articles into epub format, and we have run in to a problem with character entities.
    Being that these are scientific articles, the characters are from a wide range of Unicode charts, and are essential to transmitting the meaning of the data.
    The problem is that in my epub, the character entity inside a table data cell is rendering the @font-face correctly, but inside any other HTML element, the character renders as an empty box on our ipad2s.
    I've placed pre tags in hopes that the unicode will not be rendered in your browser here. The code point in this example is x1d542 just in case.
    So inside div, we see boxes, inside td, we see the character rendered properly.
    <pre>
          <div class="stix">Let &#x1d542; be a field, which will be either the complex numbers &#x02102; or the finite field &#x1d53d;</div>
          <table id="t31" rules="all">
            <tr>
              <td>&#x1d542;</td>
              <td class="stix">&#x1d542;</td>
              <td>U+1D542 MATHEMATICAL DOUBLE-STRUCK CAPITAL K </td>
            </tr>
    </pre>
    My CSS looks like this:
    <pre>
    @font-face {
        font-family: 'STIX';
        src: url('STIX-Regular.otf') format('opentype');
        font-weight: normal;
        font-style: normal;
        unicode-range:  U+02B0-02FF, U+07C0-07FF,  U+0900-097F,U+0F00-0FD8, U+1D00-1D7F, U+1D80-1DBF, U+1D400-1D7FF, U+1E00-1EFF, U+1F00-1FFE,U+2000-206F, U+20A0-20B8, U+20D0-20F0, U+2300,23FF, U+25A0-25FF, U+2600-26FF, U+27C0-27EF, U+27F0-27FF, U+2900-297F, U+2A00-2AFF, U+2B00-2B59, U+2C60-2C7F ;
    @font-face {
        font-family: 'STIX-Math';
        src: url('STIXMath-Regular.otf') format('opentype');
        font-weight: normal;
        font-style: normal;
        unicode-range:  U+02B0-02FF, U+07C0-07FF,  U+0900-097F,U+0F00-0FD8, U+1D00-1D7F, U+1D80-1DBF, U+1D400-1D7FF, U+1E00-1EFF, U+1F00-1FFE,U+2000-206F, U+20A0-20B8, U+20D0-20F0, U+2300,23FF, U+25A0-25FF, U+2600-26FF, U+27C0-27EF, U+27F0-27FF, U+2900-297F, U+2A00-2AFF, U+2B00-2B59, U+2C60-2C7F ;
    .stix   {
            font-family: "STIX", "STIX-Math", sans-serif;
    </pre>
    Is it possible that this is a rendering bug, because the character is rendering in the table cell, but not in other elements?
    Have I missed something obvious?
    Thanks,
    Abe

    I assume you are including the STIX font as part of your epub files?     
    Perhaps the folks who do this blog might be able to help -- they have done some work with font embedding:
    http://www.pigsgourdsandwikis.com/2011/04/embedding-fonts-in-epub-ipad-iphone-an d.html

  • Call customer-subscreen causes dump in one box but not in another box

    Hi guys,
    Just wondering if anyone here encountered this situation before and knows of any explanation or solution.
    There's two development boxes with a program that contains the following code/statement:
    call customer-subscreen SSCR903 including 'SAPLXXXXXX' '2000'
    SAPLXXXXXX happens to not exist in both boxes. In the first box, when execution reaches that statement above it will generate a dump saying that 'SAPLXXXXXX doesn't exist'. But in the second box, when execution reaches that statement above it won't generate a dump and execution continues to the next statement in the program.
    I checked SAP documentation on the CALL CUSTOMER-SUBSCREEN keywords, but I didn't find anything that would explain why it dumps in the first box, but not in the second one.
    Anyone encountered the same situation before? Any explanation why it's dumping in one box, but not in the other box?
    Thanks in advance for any help.
    Kind regards,
    Carl

    Welcome to sdn.
    Abap doesn't check existence of the dynpro, it only check activation of the exit in CMOD, that may explain the, difference.
    Regards,
    Raymond

  • Smart form PRINT PREVIEW working on one box but not on other box

    Hi Guys,
    I have one program which works on DV1 box but is not working on DV2 box. It is NOT giving short dump. In this program there is PRINT PREVIEW button. This print preview button is work in DV1 but not in DV2. DV1 & DV2 are ECC 6 and we installed SAP service pack.
    I will really appreciate if somebody can give me some direction.
    Thanks,
    mini

    Program is save in both the boxes. DV2 has SAP service pack, but DV1 not. I think this problem is related to FONTS not being supported by service pack.
    How can I fix this?
    Thanks,
    mini

  • Battery showing 100% charge, but not running off battery

    I have an Hp Pavilion 10 Touchsmart that shows a 100% battery charge, but will not run off the battery when I unplug the AC adaptor.   I have tried calibrating the battery which went okay. I have tried uninstalling the microsoft driver for the battery and reinstalling it and it did not fix the problem.I have also checked the "Battery Report" using the cmd prompt. The battery report showed everything was charging good with the battery on the laptop for many days.I checked the "Energy Report" using the cmd prompt. The energy report had some warnings, but it was all relating to energy use.I have owned this little computer for less than a year and it should not be giving me this much trouble. At this point, I think I have done everything I can do on my end especially since I cannot remove the battery without disassembling the laptop.  I do not think it is a bad battery unless it is defective because the computer sees very little use and it is less than a year old so I am thinking a software problem. Any additional suggestions?

    It is my understanding Hp warranty is only 90 days which means it is not under warranty. I have owned the laptop for less than a year with it shipped by Hp on "Thur 9/18/2014 5:15 pm". I orginally thought it was not under warranty, but I just tried a Hp warranty status site and it said "2015-10-23" was the warranty expire date.

  • Preserve whitespace from longtext, but not overflow div

    I am building a page to display query results where one of the fields is long text with formatting (bullets, etc).  This field holds text that the user can copy and paste, so I want it to display as copied.  I have found that using whitespace=pre on my main-content div allows the text to display perfectly, except that it doesn't wrap within the div, and overflows into the next column (using a two column + header template).  Without using the whitespace property, everything wraps fine, but the longtext results is collapsed.  Is there a way to preserve the whitespace in my query results and still respect the boudaries of the div?

    Hi Murray,
    here's a link - http://gregdoucette.ca/joblistdetail.php?recordID=3
    There may be some misc residue from attempts to fix the problems, so some of the code may seem incoherent.  The text staring at "We are seeking ..." and ending at "We are committed to employment equity"  comes from a field called position_desc which has a longtext datatype.  You see how it overflows into the right sidebar div.  I am open to any suggestions.

  • How to view magazines in differet direction, i can only view some vertical but not horizontal

    I am having trouble viewing my  sunset or other magazines in different direction in the ipad2, the screen doesn't move like other apps from vertical position to horizontal one, any help will be great.

    The app developer determines whether or not an app will rotate. It has been my observation that many magazines do not. Contact the developer to give your suggestion.

  • Why do I repeatedly, but not always, see box saying that I need Flash Player so click here?

    I use Facebook a lot. I watched a video earlier that someone had posted and all went well. So a little later, when I wanted to show it to my daughter, once again this darn box popped up which since I can't resolve it as my Windows 8.1 apparently comes stock with Flash Player so clicking for a new installation does NOTHING internally.
    The Adobe site ran it's check and I saw that little floating cloud that verified that I have Flash Player installed and that it works and is Enabled. I've also researched this NUMEROUS times and found that it's easy to just click the gear in top-right on my IE-11 and Manage Add-Ons then make sure it is Enabled, which it always has been.

    I'm back! Actually, this issue has been happening to me every now & then but I'd just given up on dealing with it. But now I'm motivated again.
    I clicked on a video link in Facebook that sent me to NASCAR | Facebook which turns from the https URL to those two words on this site for some odd reason, and it just popped a box telling me saying Flash Player Upgrade Required - Get Flash Player and the video's image never displayed under that and it couldn't be played.
    Then once again I went thru all of the steps to insure that both I do actually have Flash Player and that it is Enabled. I do and it is. I also read somewhere to click the gear icon in IE then click Safety > ActiveX Filtering. I do that and I see a checkmark next to ActiveX Filtering. I've tried it both with a checkmark and without one and there's no difference.
    I have Windows 8.1 fully updated, IE-11 and Flash Player
    I see the swinging tire swing image in #5. Verify if Flash Player is installed at Flash Player Help.

  • How come I can see my div in design view but not in live view

    Hi,
    I have a div ID called "portfolio" that I can see in design view but not live view or on a browser. It's a little pink square and I want that square round also.
    I ran it through validator. It picked up some things in the style.css which I changed and the boilerplate.css that I did not. Because I thought DW auto creates code for boilerplate because I don't enter that code myself.
    It's also rejecting a lot of webkit code but this seems like standard webkit code that works elsewhere on the page.
    BTW: at what point does this brutal hand coding pay off in money and less heartache when Wordpress looks cleaner and is so much easier to use? I feel like I barely know HTML or CSS in terms of translating vision to reality and with all-browser functionality after months and months of on-line classes. How long are the pros at it till they reach a watershed point?
    here's my address: http://www.adjacentdimensionsmedia.com/home.html
    Here's my html:
    <body>
      <div class="gridContainer clearfix">
        <div id="div1" class="fluid"><img src="adtitle2.png" width="700" height="80" alt=""/></div>
      <div class="fluid"><div class="box-shad"><a href="index.html"></a></div>
      </div>
        <div id="portfolio">Portfolio</div>
    </body>
    Here's my CSS:
    .box-shad {
      margin-top: 200px;
      margin-left: 100px;
      width: 900px;
      height: 700px;
      display: block;
      background-image: url("images/Big-tree-trans1.png");
      background-size: 900px 700px;
      -webkit-box-shadow: 15px 15px 15px #000000 inset;
      box-shadow: 15px 15px 15px #000000 inset;
      -webkit-border-radius: 50%;
      border-radius: 50%;
      position: fixed;
    .box-shad a {
        display:block;
        width:900px;
        height:700px;
    #portfolio {
      width: 100px;
      height: 100px;
      margin-top: 0px;
      margin-right: 200px;
      margin-left: 200px;
      margin-bottom: 0px;
      border-radius: 75%;
      -webkit-border-radius: 75% 75%;
      background: pink;
      top: -300px;
      position: relative;

    The top:-300 is putting that div above the top of the browser viewport. Fix that and you'll see the div.

  • Remote not working on dvr but works on other boxes

    I have a Dvr box in the back of the house, It was working fine today earlier. I went back in the room and poof the remote dosent work on the box. It still works the tv. So I took it out to the other boxes in the house and it works fine on the other boxes.So I took both remotes from the other boxes and tried to use them on my dvr box. Again no response. the remote lights up when I press the button. Soooooo, I had recently switched the dvr box out for a new one. I have not sent it back yet so I have 2 working boxes. The issue I had last week was not box related so both boxes work fine. I tried swapping out the current box for the old box. Same thing,the remote will not work on it.Other remotes will not work on it yet this remote to the dvr box works every other box in the house. What happened? Did I lock the box somehow? or what can I do? The remote is working , just nt on the box in my room.Could it have to to with the signal being sent ot the box? I dont know its a mystery.

    jmich619 wrote:
    I took the box from the living room, both box and remote were working fine. Mov ed it to my room and now the remote will not operate the box, it wil manually operate, but no remotes are working boxes in this one room, how does that happen
    My guess would be IR interference from the TV.
    Trying moving the STB away from the TV as far as you can, off the the side. Or if the STB is below the TV, try putting some kind of shield between the bottom of the TV and the STB. The objective here is to try to shield the IR sensor in the STB from any IR emitted from the TV.
    IR interference from the TV is a known problem, there are lots of threads here on the Forums about this. Frequently this will occur if the TV is set to a very vivid video setting. But then again this issue frequently disappears after the TV has been on for some minutes.
    Another possibility is IR interference from some other device in close proximity to the STB. So what other electronic devices are nearby?
    Just a guess, but try moving or shielding the STB and see if there is a difference.
    Justin
    FiOS TV: Extreme HD, Internet: 50/25, Digital Voice
    VMS Enhanced Service: 1 server, 2 clients
    Keller, TX 76248 (VHO 1)

  • I can not sync my iPhone to the computer. I keep getting up an error message that synchronization does not want to start. I have uninstalled iTunes and then reinstall it. But the same warning box will appear. How can I get my phone in sync again?

    Can someone please help me get my iPhone to sync to your computer?
    I can not sync my iPhone to the computer. I keep getting up an error message that synchronization does not want to start. I have uninstalled iTunes and then reinstall it. But the same warning box will appear. How can I get my phone in sync again?

    Hello lenmin,
    Thanks for using Apple Support Communities.
    To help resolve this issue where you're repeatedly prompted to authorize with your Apple ID in iTunes when syncing, please follow the directions in the article below.
    iTunes: Missing folder or incorrect permissions may prevent authorization - Apple Support
    Have a great weekend,
    Alex H.

  • I am trying to install windows 7 to my Macbook pro with bootcamp but every time I open bootcamp I am only able to check the first two boxes but not the third one saying "install or remove Windows 7", any solutions ?

    Hi, I am trying to install Windows on my MacBook Pro with bootcamp. Every time I open bootcamp I am only able to check the first two boxes but not the third one saying "install or remove Windows 7". I did this before using the same computer and the same hard drive so I am not sure why this is happening now but did´t happen then. Any solutions ?

    Was your Bootcamp info.plist manipulated to change any options?

  • I get this message box when I click on a link (in a document or email)"firefox is already running, but not reponding. To open a new window, you must first close the existing firefox process, or restart your system"

    if Firefox is already running and click on any link in Word, Excel, Outlook, etc. A message box pops up and I have to hit OK to close it.
    "firefox is already running, but not reponding. To open a new window, you must first close the existing firefox process, or restart your system"

    if Firefox is already running and click on any link in Word, Excel, Outlook, etc. A message box pops up and I have to hit OK to close it.
    "firefox is already running, but not reponding. To open a new window, you must first close the existing firefox process, or restart your system"

  • HT1476 My iPhone 4S will charge on a laptop but not from a wall plug. I have tried different boxes and different USB cords from the wall but none work. These boxes and USB cords work for other family members with iPhones. I'm stumped :/

    My iPhone 4S will charge on a laptop but not from a wall plug. I have tried different boxes and different USB cords from the wall but none work. These boxes and USB cords work for other family members with iPhones and a USB cord that works from the laptop won't work from 3 or 4 different wall boxes that work for others. I'm stumped :/

    Update: It seems as though the phone will charge if I plug it in and then turn it off.  It will not charge while the phone is on.  Also iTunes will not recognize it, so I can't sync or anything.  I read somewhere that it could be a fuse somewhere?? Or maybe the dock connector. Where is the best place to get this repaired?

Maybe you are looking for

  • New for Me but....

    My daugher gave me her old Ipod (OLD...very) after she wiped off all her songs.  So I plugged it into my fairly new PC, lots of free hard drive space, and then downloaded ITunes.  Ever since I did, my system has been going nuts.  I open up ITunes and

  • Error during PI cout in LX16

    Hi, We are having a problem when creating physical Inventory doc though LX16 transaction code System is thronging an error message as u201C Quant xxxxx      for  Storage Bin XXXXXX cannot be countedu201D This error message is coming for bins which is

  • Need to install JDK on a Mac 10.5

    I have tried to download JDK for Mac and under Sun's download page, I see Java for [Linux,Windows,Solaris OS] but I can not find the one for Mac, and I need JDK 1.5 or Later, which platform should I choose really because Mac is not shown?

  • CcBPM manually cancel error flows

    Hello, I'm testing a new BPM process and I'm using SXMB_MONI_BPE --> "Restart Processes after Error" to restart the messages in bulk after a new change. Now I have about 10.000 messages wich do not have to be restarted and should get a "Manually Canc

  • Sql qery required

    Hi all, DB:Oracle 9i os :solaris 8 can any one please tell me ....how to check the object(table,index) growth day wise? thanks, kk Edited by: user603328 on Apr 20, 2011 3:08 PM