Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder vw98034's Avatar
    Join Date
    Feb 2004
    Posts
    199
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Can this layout be done with CSS?

    The enclosed is a screen shot of a Flash site. The width and height of the centre section is fixed. The height of the bottom section (the grey colour part) will change based on the browser window height. It will disappear if the window is not high enough. My question is whether this layout can be done with CSS or not? If yes, how to achieve it?

    Thanks.
    Attached Thumbnails Attached Thumbnails Can this layout be done with CSS?-flash_layout.png  

  • #2
    Regular Coder vw98034's Avatar
    Join Date
    Feb 2004
    Posts
    199
    Thanks
    3
    Thanked 0 Times in 0 Posts
    No one response so far. I guess it is no way to achieve the layout with CSS.

  • #3
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    <sarcasm>
    What, was our free tech support service not fast enough for you? Would you like us to type "google.com" for you as well?
    </sarcasm>

    Oh, sorry, I couldn't help it. What you want is very easily acheivable with CSS. If all you want is a gray box to show up when the browser is a certain height, make the body background gray and align the container div at the top with a fixed height. A little trial and error should get the effect you're looking for.

  • #4
    Regular Coder vw98034's Avatar
    Join Date
    Feb 2004
    Posts
    199
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by rmedek
    If all you want is a gray box to show up when the browser is a certain height, make the body background gray and align the container div at the top with a fixed height.
    Smart ideal! I didn't think to use the body background colour at all.

    I have another look at the Flash site. The bottom white portion will also disappear if the browser window is not over certain height. I can't think how CSS to do the same thing again. Any suggestions?
    Last edited by vw98034; 01-22-2005 at 12:18 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •