Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 26-11-2008
Member
 
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.
Reply With Quote
  #2  
Old 26-11-2008
Member
 
Join Date: Apr 2008
Posts: 2,001
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.
Reply With Quote
  #3  
Old 26-11-2008
Member
 
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
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "CSS Problem"
Thread Thread Starter Forum Replies Last Post
Sony VGNCS3 laptop 15 inch screen problem...LCD or CHIP problem? Mick$Tyler Hardware Peripherals 5 31-10-2010 06:49 AM
Blackberry Tour Youtube problem/facebook and phone freezing problem Lohitaksha Portable Devices 6 27-07-2010 12:10 AM
hard disk problem, clicking sound and windows problem rajat_2589 Hardware Peripherals 1 16-06-2010 11:34 PM
Toshiba satellite L305D-S5893 shutdown problem or bios update problem Colter Portable Devices 4 10-04-2010 04:19 PM
Hyperlink Problem, Unable to Open, A security problem has occurred LaKisha MS Office Support 1 30-11-2004 11:57 AM


All times are GMT +5.5. The time now is 02:16 PM.