How to auto adjust the height of my div tag?

This is my website www.whistleandlisten.com
The white background is a div tag and whenever I add new content within the div tag I want it to auto adjust to extend the white div tag down as the page gets longer. I have tried css and set my height to auto but that makes it disappear. Right now I have to set it to a certain amount of pixels which gets annoying and sometimes I forget to after adding lots of content. PLEASE HELP.

To have an extensible height element, you should not apply the height property as you have done starting at line 9 of songcss.css
#whitediv
  position: absolute;
  left: 50%;
  margin-left: -490px;
  top: 0px;
  width: 950px;
  height: 2900px;
  z-index: 1;
  background-color: #ffffff;
  background-image: none;
  background-repeat: repeat;
  background-attachment: scroll;
  background-position: 0% 0%;
  background-clip: border-box;
  background-origin: padding-box;
  background-size: auto auto;
  color: #ffffff;
  box-shadow: #ffffff;
  overflow-x: visible;
  overflow-y: visible;

Similar Messages

  • How to auto adjust the size of a drop-down

    I used to have a table inserted in all of my drop-downs and then I had all of my text and images inside of this table.  The table would automatically resize based on the width of the largest image in that drop-down.  The text would adjust accordingly as well.  Unfortunately, I have to remove the table from all of my drop-downs because Adobe has not fixed the bug that I reported in RoboHelp 8.  If I have a bulleted or numbered-list in a table that is in a drop-down then when I generate to Word RoboHelp adds an extra bullet before and/or after the drop-down.  Since they did not fix this in RoboHelp 9 either, I'm having to remove all of my tables in my drop-downs.  Peter Grainge gave me some changes for my style sheet to make a border appear in my drop-downs so that I don't have to use the table for this part anymore.  The only problem is that when I generate WebHelp the border is staying a defined width and the text is staying within that width, but the image is much larger.  This is a problem in IE and Firefox.  Is there a way to get my border in my drop-downs to resize to the size of my image, just as I got the tables to do?  I would just set my table size to 95%, and that did the trick.  I do not know how to do this with the style sheet for a drop-down.
    Here is the text Peter gave me for my style sheet back in December of 2010:
    DIV.droptext {
    font-size: 10pt;
    border-left-style: Solid;
    border-right-style: Solid;
    border-top-style: Solid;
    border-bottom-style: Solid;
    border-left-color: #656598;
    border-right-color: #656598;
    border-top-color: #656598;
    border-bottom-color: #656598;
    padding-left: 10px;
    padding-right: 10px;
    border-left-width: 2px;
    border-right-width: 2px;
    border-top-width: 2px;
    border-bottom-width: 2px;
    padding-top: 10px;
    padding-bottom: 10px;

    Hi,
    Try to add "display: inline" to the css:
    div.droptext {
        font-size: 10pt;
        border: 2px solid #656598;
        padding: 10px;
        display: inline;
    This will force the dropdown to render as a 'normal' text element instead of a block.
    Greet,
    Willam

  • How do I view the height and width of an image as I adjust the crop handles

    How do I view the height and width in pixels of an image as I adjust the crop handles before I actually crop the image?

    If you are in Photoshop CC, go into Preferences, click Interface, and turn on Show Transformation Values. In the picture below, setting it to Top Right means the pixel height and width appear to the Top Right of the Crop tool pointer.
    (Edit: The picture only shows Height because the bottom edge is being dragged. If a corner was being dragged it would say H and V.)

  • Can you adjust the height of the toolbar button in the skin file?

    Can I manually adjust the height of the toolbar navigation buttons in the skin file? It seems no matter how tall I make the nav panel, the buttons adjust size accordingly. Can I tell it to be 50% or something like that? For example, this is what I see for the glossary button.
    <toolbaritem mode="BtnWithIcon Mode" type="built-in-glossary" id="4">
       <name>Glossary</name>
       <text>::??DefaultWebSkinText??::</text>
       <color></color>
       <image></image>
       <icontype>none</icontype>
       <selected>
        <color></color>
        <image></image>
        <icontype>none</icontype>
       </selected>
       <style>100</style>
      </toolbaritem>
    Notice I am not using custom images or anything, just plain text.
    Thanks

    Hi Josh
    You must be someone that dearly loves digging into code.
    The simplest way to adjust the buttons is to use the built in Skin Editor.
    Hmmm, and in writing that response it occurs to me that you haven't exactly advised which of the outputs you are creating. The skin editor I'm referring to is the WebHelp skin editor. To open it, click View > Pods > Project Set-up. Once that pod is open you should see the Skins folder. Expand that and double-click the skin you are using to open and edit it using the skin editor.
    Cheers... Rick

  • How to auto adjust container dimensions

    Is there a property I can set on Canvases, Panels, or other containers that would make them auto-adjust their height/width dimensions based on the child components.  Basically, I would like for this to happen at load AND during run time.  So if you update a Text control in a Canvas container it will resize itself so you can see everything.
    Or do I have to write some complicated function to do this?

    Sorry, I answered my own question about 2 minutes after asking it.  When I got rid of the "width = 100%" attributes from the Text controls it worked.  You also have to make sure you dont initially set the width and height values for the container.

  • How to auto adjust images in imageJ?

    Hello,
    I would like to know How can I adjust the contrast and brightness in imageJ using a Java application?
    imageJ has ContrastAdjuster.java and inside it an autoAdjust function which is not public, so I cannot call it? any one has experience with this?
    Best Regards,

    Your calling class needs to be at that access modifier allowance ,
    since your caller probably isn't,
    you can make a small class with that access level(no specifier - is between protected and private) to join it that you can reference with your caller package level,
    or probably better, a nested class of that access level in your caller class with global scope instantiation in your caller.
    *// not all syntax is here - This just to give you a guide of the type of access specifier shuffling and reprocessing to obtain the methods variables at the same level as obtaining the ability to call the method , it may be more practical to target the class in imageJ that instantiates the ContrastAdjuster class and simply obtain its reference to ContrastAdjuster*
    *//ContrastAdjuster adj - should be passed from wherever it is instantiated , presumably its in a higher level class frame in the application*
    public class IwasCalling{
    CallAutoAdjuster callAUTContraster;
    public IwasCalling(ContrastAdjuster adj){
    callAUTContraster = new CallAutoAdjuster();
    //start nested class
    class CallAutoAdjuster{
    void callAutoAdjuster(){
    autoAdjust(imp,ip); // ImagePlus imp , ImageProcessor ip
    }//end method
    }//end nested
    }//end iwascalling
    Edited by: 893871 on Nov 3, 2011 6:53 PM
    After taking a good look at the .java files
    --i find the doAutoAdjust variable requires to be set in the public class ContrastAdjuster and call notify()--
    ..and i have no idea how i lost the plot there... it was the contrast slider value you wanted
    so a method would be from some class you create
    // contr is the reference to the ij plugin frame extended from JFrame that ContrastAdjuster.java extends from
    public int adJustContrast(int slideVal){ // this listener method sets an int in  ContrastAdjuster public synchronized void adjustmentValueChanged(AdjustmentEvent e)
    // with the line contrastValue = contrastSlider.getValue();
    // int sliderRange = 256; this global int is divided by two appears to be the Max for contrast and the or a scrollbar appears to be a make-shift slider value changer
    contr.contrastValue = slideVal; // global accessible int in ContrastAdjuster
    return contr.contrastValue;
    public boolean adjAuto(){
    contr.doAutoAdjust = true;
    return contr.doAutoAdjust;
    public void updateNotifyComm(){ // now update the app
    contr.notify();
    //............... so you would call from somewhere to do it by this after making those methods
    adJustContrast(contr.contrastSlider.getValue());
    updateNotifyComm(); // or just running code of contr.notify();
    // i have no idea how that became boolean  doAutoAdjust in my mind
    // for auto adjust
    adjAuto();
    updateNotifyComm();Edited by: 893871 on Nov 3, 2011 8:15 PM
    Edited by: 893871 on Nov 3, 2011 8:17 PM
    Edited by: 893871 on Nov 3, 2011 8:23 PM

  • How can I adjust the font size of my printouts?

    I have an HP Officejet 4500 all-in-one printer and a new HP pavilion Slimline computer.  Since I changed to this computer, my printouts have very small font size making them hard to read.  How can I adjust the font size of the printout?  Is it a computer or printer function? I appreciate the help.

    I, too, am frustrated.  This seems like something that would easily be handled within the application software.  However, none of the fixes I've been offered have been very helpful.  My cousin sugested using Control C and Control V to move the text to WORD.  Once in WORD, you can manipulate the text on a WORD page...sometimes.  I've had good and bad luck with this method.  It still requires working in two different programs to get it legible.  Does anyone else have a 4500  All-in -one with this problem, or is it only me?  Thanks,  [Edited for Personal Information]

  • How do I adjust the print size of a photo?

    I created a collage in PSE 10 and took the photo to Ritz to have printed out in an 18" x 24" poster.  When the file was read into their computer for printing, the sizing came up as 18'1/2" x 24".  Printing the photo as is will cut 1/2" off of the collage.  How do I adjust the print parameters of my photo file in PSE 10 to be exacetly 18" x 24"?  Thanks.

    Here is my suggestion:
    Open a blank, new file (File>new>blank file) size 8.5x11"
    Open the collage
    Go to Select>all
    Go to Edit>copy
    Go back to the blank file created in step #1
    Go to Edit>paste. The collage will be on its own layer
    Access the move tool, and with the corner handles resize the collage. Using the corner handles should preserve the aspect ratio. If you open the rulers, you will have a point of reference as you go along.
    Print a draft copy to see if it will be suitable in the frame..
    Please report back with your progress.

  • How can I adjust the font size in iTunes 11?

    How can I adjust the font size in iTunes 11?  Specifically, when in Artist view both the text in the sidebar and the track listing are huge.

    How to change fontsize in iTunes
    Take an XML-Editor and open:
    "C:\Program Files (x86)\iTunes\iTunes.Resources\de.lproj\TextStyles.plist"
    For other languages change your country code (de, en, fr, pl ...).
    Example for english:  "\en.lproj\TextStyles.plist".
    Backup this File !!!
    To change the Text-Size, change the integer value of the following item:
    "<key>size</key>"
    "<integer>8</integer>"
    This means Text-Size 8
    "<key>size</key>"
    "<integer>12</integer>"
    This means Text-Size 12
    To change the font, change the integer value of the following item:
    <key>font</key>
    <string>Arial</string>
    This means the font changes to Arial
    This also works:
    <key>italic</key>
    <true/>
    <key>bold</key>
    <true/>
    <key>underline</key>
    <true/>
    Example of common Text Properties:
    <!-- Artist View, Text Size In Artist List , Unselected -->
      <key>1033</key>
      <dict>
            <key>- loc hint -</key>
            <string>item table cell 3</string>
            <key>bold</key>
            <true/>
            <key>font</key>
            <string>Segoe UI</string>
            <key>size</key>
            <integer>8</integer>
        </dict>
      <!-- Artist View, Text Size In Artist List, Selected -->
      <key>1034</key>
      <dict>
            <key>- loc hint -</key>
            <string>item table cell 3 (bold)</string>
            <key>bold</key>
            <true/>
            <key>font</key>
            <string>Segoe UI</string>
            <key>size</key>
            <integer>8</integer>
        </dict>
    <!-- Album View Text Size, Titles Of Track List, After Click On Album -->
        <key>1021</key>
        <dict>
            <key>- loc hint -</key>
            <string>item track list 1</string>
            <key>font</key>
            <string>Segoe UI Semibold</string>
            <key>size</key>
            <integer>8</integer>
        </dict>
      <!-- Artist View Text Size, Titels Of Track List -->
        <key>1022</key>
        <dict>
            <key>- loc hint -</key>
            <string>item track list 2</string>
            <key>font</key>
            <string>Segoe UI</string>
            <key>justification</key>
            <string>right</string>
            <key>size</key>
            <integer>8</integer>
        </dict>
      <!-- Track Number Size, In Album And Artist View -->
        <key>1023</key>
        <dict>
            <key>- loc hint -</key>
            <string>item track list 3</string>
            <key>font</key>
            <string>Segoe UI</string>
            <key>justification</key>
            <string>right</string>
            <key>size</key>
            <integer>9</integer>
        </dict>
      <!-- Artist Text Size, In Album And Artist View -->
        <key>1024</key>
        <dict>
            <key>- loc hint -</key>
            <string>item track list 4</string>
            <key>font</key>
            <string>Segoe UI</string>
            <key>size</key>
            <integer>9</integer>
        </dict>
    <!-- Album View Text Size, Title Of Album Under The Cover -->
        <key>1001</key>
        <dict>
            <key>- loc hint -</key>
            <string>item grid 1</string>
            <key>bold</key>
            <true/>
            <key>font</key>
            <string>Segoe UI</string>
            <key>size</key>
            <integer>8</integer>
        </dict>
      <!-- Album View Text Size, Artist Under The Cover -->
        <key>1002</key>
        <dict>
            <key>- loc hint -</key>
            <string>item grid 2</string>
            <key>font</key>
            <string>Segoe UI</string>
            <key>size</key>
            <integer>8</integer>
        </dict>
    <!-- Titleview Textsize In Table -->
        <key>9002</key>
        <dict>
            <key>- loc hint -</key>
            <string>List Contents (Small)</string>
            <key>font</key>
            <string>Segoe UI</string>
            <key>size</key>
            <integer>8</integer>
        </dict>
    <!-- Title View Text Size, Title Of Album Next To Cover -->
        <key>9029</key>
        <dict>
            <key>- loc hint -</key>
            <string>List Contents (Small Bold)</string>
            <key>bold</key>
            <true/>
            <key>font</key>
            <string>Segoe UI</string>
            <key>size</key>
            <integer>5</integer>
        </dict>
    <!-- Textsize Playlist Sidebar Left Selected -->
        <key>1307</key>
        <dict>
            <key>- loc hint -</key>
            <string>playlists outline small font (selected)</string>
            <key>bold</key>
            <true/>
            <key>font</key>
            <string>Segoe UI</string>
            <key>size</key>
            <integer>3</integer>
        </dict>
    <!-- Textsize Playlist Sidebar Left Unselected -->
        <key>1304</key>
        <dict>
            <key>- loc hint -</key>
            <string>playlists outline small font</string>
            <key>bold</key>
            <true/>
            <key>font</key>
            <string>Segoe UI</string>
            <key>size</key>
            <integer>7</integer>
        </dict>
    Hope this helps.

  • I created a Pages document inserting 2 columns using 1) Inspector 2) Layout 3) columns.  How do I decrease the height of the column.  Have tried to use cursor and drag down the top border, but that does not reset the top border.

    I created a Pages document inserting 2 columns using 1) Inspector 2) Layout 3) columns.  How do I decrease the height of the column.  Have tried to use the cursor and drag down the top border, but that does not reset/decrease the top border.

    Set your columns back to one for the moment. In layout mode, insert a Text box. Place it in the upper left corner of your document, and drag down and right to the size of the container for your two columns. Click inside the Text Box, and now bump up your columns to 2. Your two columns are now contained in this resizable Text Box.

  • When trying to sync my iPhone with my MacBook Pro, I receive the error message "You do not have enough access privileges to update this device".  How to I adjust the access privileges??

    When trying to sync my iPhone/iPad with my MacBook Pro, I receive the error message "You do not have enough access privileges to update this device".  How to I adjust the access privileges?

    Hello magestecal,
    Thanks for using Apple Support Communities.
    To troubleshoot this issue where you're getting a permissions error when trying to sync your iPhone, I'd like you to please follow the steps in the article below.
    iTunes: Missing folder or incorrect permissions may prevent authorization - Apple Support
    Take care,
    Alex H.

  • How do you adjust the lenght of a transition?

    How do you adjust the length of a transitions? I'm trying to adjust a video and audio fade in and fade out at different lengths.

    Video transition durations are controlled in the 'Project Properties.'

  • How do you change the height of a cell in the Bookmark tab?

    How do you change the height of a cell in the Bookmark tab?

    This does seem likely to be related to Mavericks:
    http://forums.adobe.com/message/5800367
    https://discussions.apple.com/thread/5491326
    https://discussions.apple.com/message/23548199#23548199
    So far there is apparently no solution, other than upgrading. (It does seem that upgrading your Reader will at least let you view the PDFs normally, even if editing them in 9 is still annoying.)

  • How do you adjust the font size for the tabs and icons around the screen?

    How do  you adjust the font size of tabs and and icons to ake them larger?

    sfcalling
    Click on the text in the menu so that you see the bounding box around it. Look to the right of the Movie Menu customization workspace, Adjustments Palette, Text and edit your text font style and size.
    In this screenshot, "Glass Flowers" text in the main menu is selected and its Adjustments Palette Text editing opportunities are shown. To do comparable editing in the scene menu, click on the scene menu in the bin to bring its image up to the screen.
    Please let us know if you are OK with the details.
    Please also review the following Adobe document on disc menus which applies to both version 11 and 12.
    Adobe Premiere Elements 11 * Creating disc menus
    By the way, what computer operating system is your Premiere Elements 12 running on?
    Thanks.
    ATR

  • How do you adjust the duration of audio loop?

    How do you adjust the duration of the audio loop that you can setup to play in the main menu?

    Your best bet is to bring your audio into DVDSP at the length you need it. You can adjust the menu loop time in the inspector but this also adjusted your video as well. DVDSP is not an editor - only an authoring tool All adjustments need to be made outside the tool.

Maybe you are looking for

  • How do I restore a deleted video on iPhone?

    I deleted it accidentally by hitting the trashcan icon within the Photos app. I really want this vido back. Thanks.

  • Sine, Square & Sawtooth sweep generation with variable duty cycle/rise time & fall time

    Dear All ! I request and need some candid advices on the subject issue keeping in view the following notes: 1) I am a novice in LabView. 2) I was an average Electronics Engineering graduate who graduated about 9 years ago and since then I have not be

  • Employee Discount and Loyalty Plan

    Back in June of this year I contacted customer service to change my plan. I was told about the new Loyalty Plan. My concern was whether or not my employee discount would still apply. The customer service rep checked into it and told me yes. So I made

  • How can I get a copy of my receipt from the automatic payment?

    I have an account that converts pdf files to microsoft word or excel.  It automatically renews every year.  I would like to know if there is a way to get a receipt for the renewal.  Cannot find a link in my account or a phone number to call.

  • Linux Server Sizing

    Is there any documentation on server sizing? I have a client/server application that will have between 100 and 200 users (75-100 concurrent), and would like to go to a Linux platform. The app is currently running on a large HP server with other apps