This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > December 2005 > Maximizing the useable screen width in NS 8





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Maximizing the useable screen width in NS 8
stan

2005-12-17, 6:15 pm

I have code that produces 5 boxes acroos the screen width. So far I have only tested it in IE 6 and NS 8. It works in IE, but in NS I am not able to fit in the 5th box. I am using two different style sheets, one for IE and one for NS. The box widths are set to 20%.

I would appreciate suggestions on how to get the 5 boxes to fit the screen width in NS (without reducing the widths of the boxes).

The test page URL as well as the CSS are listed below.

Stan
-------------------

The test URL is: http://www.capitalcityrealty.ca/boxes/

NS CSS:

HTML
{

PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
FONT-SIZE: 1em;
PADDING-BOTTOM: 0px;
PADDING-TOP: 0px;
FONT-FAMILY: Verdana, Arial, sans-serif
}


BODY
{


PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
FONT-SIZE: 1em;
PADDING-BOTTOM: 0px;
PADDING-TOP: 0px;
FONT-FAMILY: Verdana, Arial, sans-serif
}


.clearall
{

CLEAR: both
}
.sectionhead
{

BORDER-RIGHT: gray thin solid;
border-style: ridge;
MARGIN-TOP: 4px;
FONT-SIZE: 10pt;
BACKGROUND: #ebebeb;
FLOAT: left;
MARGIN-LEFT: 0px;
OVERFLOW: auto;
BORDER-LEFT: gray thin solid;
WIDTH: 20%;
MARGIN-RIGHT: 0px;
BORDER-BOTTOM: gray thin solid;
HEIGHT: 14%;
TEXT-ALIGN: left
}

.sectionhead A {
FONT-WEIGHT: normal;
FONT-SIZE: 10pt;
MARGIN-LEFT: 2px;
COLOR: black;
TEXT-DECORATION: none
}

IE CSS:

html, body{
margin 0px;
padding: 0px;
overflow-y:hidden;

.clearall{
clear: both;
}
.sectionhead{
text-align: left;
background: #EBEBEB;
width: 20%;
height: 14%;
border-style:ridge;
border-width:thin;
border-color:white;
float: left;
margin-left:0px;
margin-right:0px;
margin-top:-16px;


overflow: auto
}
.sectionhead a{
color: black;

font-weight: normal;
margin-left:2px;
text-decoration:none;
}
.sectionhead
color: blue;
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews