Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Facebook Layout

Facebook Layout

Scheduled Pinned Locked Moved Web Development
tutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    breakoutfoo
    wrote on last edited by
    #1

    Hi, I've been trying to create a layout that is essentially like facebook, the two main features of it being: 1- Centred, constant width website body 2 - Content height seems to be set to 100% as the toolbar always sticks to the bottom of the browser. I have managed to get a containing div to centre horizontally using a relatively positioned div with left/right margins set to auto, but doing this relatively stops me from being able to set the height of the div to 100%. So to summarise I want the main body of my site to be a constant width (probably 1024px), be centred horizontally, and be 100% in height. Does anyone know how to achieve this as I can't seem to get the horizontal centering and 100% height working together. Thanks Andy

    R 1 Reply Last reply
    0
    • B breakoutfoo

      Hi, I've been trying to create a layout that is essentially like facebook, the two main features of it being: 1- Centred, constant width website body 2 - Content height seems to be set to 100% as the toolbar always sticks to the bottom of the browser. I have managed to get a containing div to centre horizontally using a relatively positioned div with left/right margins set to auto, but doing this relatively stops me from being able to set the height of the div to 100%. So to summarise I want the main body of my site to be a constant width (probably 1024px), be centred horizontally, and be 100% in height. Does anyone know how to achieve this as I can't seem to get the horizontal centering and 100% height working together. Thanks Andy

      R Offline
      R Offline
      Rockey4
      wrote on last edited by
      #2

      :zzz: :omg: :mad::cool::~hello friend ...... .......You have to work with the css and you will be able to do this ..For that you have to create the css file for your application and then you can define the static margin or the value which you want in your application.......... ...........Now it's your resposibility to do this search in site if you are not knowing the css ......... Your friend rahul :wtf: :omg:

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups