SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard
    Join Date
    Jan 2005
    Location
    blahblahblah
    Posts
    1,447
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    2cols with content first, PaulOB technique: a little question.

    Hello

    I have a little question about this layout (whose is excellent by the way, thanks PaulOB for sharing!):
    http://www.pmob.co.uk/temp/2colcentred_contentfirst.htm

    Code:
    body{	
    	text-align:center;
    	min-width:760px;/* for mozilla*/
    	background-color: #fff;
    	color: #000;
    }
    
    #outer{
    	height:99.9%;
    	min-height:100%;
    	width:758px;
    	border-left:1px solid #000;
    	border-right:1px solid #000;
    	color: #000;
    	text-align:left;
    	margin:auto;
    	position:relative;
    }
    why is it here?:
    Code:
    body{
    min-width:760px;/* for mozilla*/
    is it always +2px than
    Code:
    #outer{
    width:758px;
    thanks in advance for your help

  2. #2
    SitePoint Wizard
    Join Date
    Jan 2005
    Location
    blahblahblah
    Posts
    1,447
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    same question for:
    Code:
    #outer{
    	height:99.9%;
    	min-height:100%;
    should I always substract 0.1px?


  3. #3
    SitePoint Wizard
    Join Date
    Jan 2005
    Location
    blahblahblah
    Posts
    1,447
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    and one last question (sorry it took three posts to ask it):
    could it lead to any problems, bugs to set the border-bottom and border-top in the #outer div instead of doing it through the footer and header divs?


  4. #4
    SitePoint Wizard
    Join Date
    Jan 2005
    Location
    blahblahblah
    Posts
    1,447
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anyone?


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
  •