SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Mar 2005
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    having overflow actually overflow

    I am trying to start a site and my problem that I have noticed is when my site at 800x600 the text overflows and not scroll down. In IE, the site scrolls down correctly, but in Firefox it just overflows. The website is www.dredd.us and here is the css...

    Code:
    body {
    	font-family:Verdana, Arial, Helvetica, sans-serif;
    	color:#CCCCCC;
    	background-color:#5491C0;
    }
    
    #container {
    	position:absolute;
    	top:0px;
    	width:750px;
    	height:100%;
    	left:50%;
    	margin-left:-375px;
    	border-left:1px solid black;
    	border-right:1px solid black;
    	background-color:#EDEDED;
    	z-index:1;
    }
    
    #banner {
    	position:relative;
    	width:100%;
    	height:70px;	
    }
    
    #content {
    	position:relative;
    	color:#000000;
    	overflow:auto;
    }
    
    #maintext {
    	padding-top:10px;
    	padding-left:10px;
    	font-size:.8em;
    	overflow:auto;
    }
    
    .hang { text-indent: -1em; margin-left: 1em; }
    
    #nav {
    	font-size:.8em;
    	padding:5px;
    	margin:0px;
    	background-color:#5491C0;
    	color:#fff;
    	border-bottom: 1px solid #6F8C8F;
    }
    
    #nav a {
    	color:#fff;
    	text-decoration:none;
    }
    
    #nav a:hover {
    	text-decoration:underline;
    }
    
    .navright {
    	float:right;
    	padding-right:10px;
    }
    
    .navleft {
    	padding-left:10px;
    }
    Is there any way to have the overflowing text fill #content like IE does in Firefox?

  2. #2
    SitePoint Member
    Join Date
    Mar 2005
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    never mind... i am changing the layout to use absolute positioning to see if this will help


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
  •