If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2

Thread: divs

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Member #
    Hello everyone
    I,m new to this so please be patient.....
    what rae the most common divs used when making a web page eg wrapper, header, content and footer is what i,ve been told and what are the widths height etc of the forementioned any help would be great
    thanks in advance


  3. #2
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    South Carolina Coast
    Member #
    770 times
    in CSS you can define the "divs" any way you want, there are no "standards"... naming conventions of the DIVS are up to you.

    As for width and height, same thing applies... that all depends on the design you are trying to acheive, but for beginners sake...

    there are 2 kinds of designs ( probably more, but for this converstation )...

    static - where you define a fixed width and everything on the page pretty much displays in the same location , whether you're seeing it on a 17 in monitor, or a 25 inch wide screen. the drawbacks to this are obvious. if your design is set to a width of 1024, anyone running a resolution wider than that are going to see empty spaces on each side of the design, the higher the resolution monitor, the wider the empty space on each side will be.

    fluid ( or liqiud )- all the layout divs are defined as percentages to they stretch and fill the screen completely. This eliminates the empty space on each side of the browser display. A little tougher to accomplish correctly, but most designs can be done this way.

    The most commonly used browser has a resolution of around 1024 wide, so if you're designing a fixed width layout, you should probably make sure that your design width is less than that to keep visitors from having to scroll left and right to see content.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 01:36 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: