Forum Moderators: not2easy
}
ul li {
float: left;
margin: 0;
padding: 0;
}
ul li a {
color: #777;
display: block;
text-align: center;
text-decoration: none;
width: auto;
padding: 3px 5px 3px 5px;
border-color: #191970;
border-width: 1px 1px 1px 0;
border-style: solid;
}
ul li.first a {
border-width: 1px;
}
ul li a:hover {
background-color: Fuchsia;
color: Yellow;
}
/* end of Top Menu*/
/* start of side Menu*/
ul#navlist
{
width: 102px;
padding: 0px;
margin: 0px;
border-left: thin solid Black;
font-size: .95em;
float: left;
}
ul#navlist li
{
list-style: none;
margin: 0px;
border: 0px;
}
ul#navlist li a
{
color: #777;
width: 102px;
padding: 2px 8px 2px 8px;
border-color: #191970;
border-width: 0px 1px 1px 0;
border-style: solid;
text-decoration: none;
text-align: left;
}
ul#navlist li.topfirst a {
border-top: 1px solid Black;
}
ul#navlist li a:link { color: Blue;
}
ul#navlist li a:hover
{
border-color: #191970;
color: Red;
background: Yellow;
}
ul#navlist li a:visited {
color: Blue;
}
/* end of side Menu*/
p {
text-align: left;
margin: 0 10px 0 10px;
}
h1 {
font-size: 1.05em;
color: Navy;
text-decoration: underline;
font-style: italic;
font-weight: bold;
font-variant: small-caps;
padding: 0px 0 6px 19px;
border-bottom: 1px dashed navy;
background: url(cube.gif) no-repeat 0 2px;
margin: 0 10px 0 10px;
}
h2 {
font-size: 1em;
color: Navy;
text-decoration: underline;
font-style: italic;
font-weight: bold;
font-variant: small-caps;
margin: 0 10px 0 10px;
}
h3 {
font-size: .9em;
color: Navy;
text-decoration: underline;
font-style: italic;
font-weight: bold;
font-variant: small-caps;
margin: 0 10px 0 10px;
}
a:link {
color: #0000FF;
text-decoration: none;
}
a:visited {
color: #0000FF;
text-decoration: none;
}
a:hover {
color: Red;
text-decoration: none;
}
a:active {
text-decoration: none;
}
/*
....................thumbnail determines how the small photos look
*/
.thumbnail
{
float: left;
width: 83px;
height: 115px;
border: 1px solid #999;
margin: 0px 15px 5px 0;
padding: 5px;
}
/*
.................thumbnailUnitBoard determines how the photos look on Unit Board page
*/
.thumbnailUnitBoard
{
float: left;
width: 220px;
margin: 0px 15px 15px 0;
padding: 5px;
}
[edited by: encyclo at 10:54 pm (utc) on Jan. 16, 2007]
[edit reason] no links to personal sites please, see forum charter [/edit]
If you look at my web pages in Internet Explorer they look perfect.As a rule of thumb, it's better to first develop using a standards compliant browser and then fix for IE. (while no browser is currently in perfect compliance, Firefox, Opera, Konqueror, and Safari are all close enough).
In Opera some pages move slightly to the right.I'm not sure, but it sounds like an issue related to whether or not there is a scroll bar.
I know the problem is related to the length of the center div but I have no idea how to fix this unless I make the small centers longer.Why? Since the columns are positioned absolutely, they are taken out of the documents flow and have no effect on anything which isn't a descendant other than covering it Since there's usually no way to know how tall a column of text will be (the user can change the font sizes), there is no way to know (with css) how tall it needs to be. Speaking of absolute positioning, I find it's usually better to avoid using it for major parts of a document. While there are exceptions, those should be handled with care. I find floats better to work with.
There's a good article at positioniseverything.net, called "In Search of the one true Layout," which might be useful.