Results 1 to 3 of 3

Thread: CSS Problem

  1. #1
    Join Date
    Oct 2008
    Posts
    30

    CSS Problem

    Trying to get to it so that I have 2nd divider, where one is at the bottom of the window and 32 pixels high, and where the other is placed on top and takes up the rest of the window, not the lower divider covers.

    So like this:

    --------------------
    | |
    | Div 1 |
    | |
    --------------------
    | Div 2 |
    --------------------

    With frames, it would simply go to do so:
    <frameset rows="*, 32">

    What I Look out so far is how I can place the lower divider, and I do so here:
    Code:
    # bottom ( 
        position: absolute; 
        left: 0px; 
        bottom: 0px; 
        width: 100%; 
        height: 32px; 
        margin: 0; 
        padding: 0; 
      )
    Now the question is how to get to the upper divider. I Run with height at 100% so shit in the lower divider and becomes as big as the window.

  2. #2
    Join Date
    Apr 2008
    Posts
    2,005

    Re: CSS Problem

    Your code is fully valid. Would be tested quite thoroughly in some browsers.

    Why should the upper divider (DIV) to raise the rest of the window? Is it not sufficient if it is as high as its content? If you want to have a background in the upper part you can put this on the BODY element.

  3. #3
    Join Date
    Oct 2008
    Posts
    30

    Re: CSS Problem

    Think hell that I overcame it. Wrote the following to the upper divider:
    Code:
      (# top 
        position: absolute; 
        left: 0px; 
        top: 0px; 
        bottom: 32px; 
        width: 100%; 
      )
    As you can see, I skipped simply to enter height, and wrote instead of both top and bottom. Heh, thought the two took each other out, so you had to specify the coordinates via either the top or bottom ...but apparently not

Similar Threads

  1. Sony VGNCS3 laptop 15 inch screen problem...LCD or CHIP problem?
    By Mick$Tyler in forum Hardware Peripherals
    Replies: 5
    Last Post: 31-10-2010, 06:49 AM
  2. Replies: 6
    Last Post: 27-07-2010, 12:10 AM
  3. hard disk problem, clicking sound and windows problem
    By rajat_2589 in forum Hardware Peripherals
    Replies: 1
    Last Post: 16-06-2010, 11:34 PM
  4. Replies: 4
    Last Post: 10-04-2010, 04:19 PM
  5. Replies: 1
    Last Post: 30-11-2004, 11:57 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,131,039.16419 seconds with 16 queries