473,379 Members | 1,201 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

CSS layout almost working

I've been trying to get a layout to work right, but so far haven't
been able to do so. Here's the layout:

http://64.142.13.246/style_testing_s...yle_model3.htm

This is the basic idea:

|---------|
|---------|
| |
|---------|
| | |
| | |
| | |
|---------|

I will include the style definitions at the bottom of this message.

Here's a summary of the results:

Mozilla 1.3 PC: Great

Mozilla 1.3 Mac: Great

IE 6 PC: So-so. Two side-by-side columns are supposed to touch with no
gap or overlap. But there is a gap or an overlap depending on the
width
of the browser window.

IE 6 Mac: Doesn't work at all. Columns totally overlap. Left column
spans entire window.

Any assistance getting this to work would be greatly appreciated.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
styles.css
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

body {
background-color: #ffffff;
margin: 0px;
padding: 0em;}

p {
color: #5f5f5f;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 11px;}

h1, h2, h3 {
color: #004080;
font-weight: 800;
font-family: Verdana, Helvetica, Arial, sans-serif;}

h1 {
font-size: 1.5em;}

h2 {
font-size: 14px;}

h3 {
font-size: 11px;}

a:link {
color: #0080c0;
text-decoration: none;
font-weight: 600;}

a:visited {
color: #0080c0;
text-decoration: none;
font-weight: 600;}

a:hover {
color: #82b9fd;
font-weight: 600;
text-decoration: underline;}

a:active {
color: #ff8000;
font-weight: 600;
text-decoration: underline;}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
hierarchicalLayoutAppStyles2.css
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

#topBar1{
margin: 0em;
padding: 0em;
background-color: #8080c0;
height: 15px;
z-index: 3;}

#topBar2{
margin: 0em;
padding-left: 20px;
padding-right: 0em;
background-color: #c0c0c0;
border-top: 2px #0000a0 solid;
border-left: none;
border-right: none;
border-bottom: 2px #004080 solid;
padding-top: 20px;
padding-bottom: 20px;
z-index: 4;}

#leftColumn {
position: absolute;
border: 1px #ff0000 none;
padding-top: 20px;
padding-left: 20px;
padding-bottom: 20px;
padding-right: 10px;
margin: 0em;
left: 0%;
top: 75px;
z-index: 2;
right: 65%;}

#rightColumn {
background:#FFF;
border: 1px #0000ff none;
position: absolute;
right: 0%;
padding-top: 20px;
padding-left: 10px;
padding-bottom: 20px;
padding-right: 20px;
top: 75px;
margin: 0em;
z-index: 1;
left: 35%;}

p.blank {
margin: 0em;
padding: 0em;
line-height: 1px;}

p.sitePlanName {
line-height: 16px;
text-decoration: none;
font-size: 12px;
font-weight: 800;
margin: 0em;
padding-left: 0em;
padding-right: 0em;
padding-bottom: 4px;
padding-top: 8px;
border-top: 1px #000080 solid;}

p.sitePlanNotes {
line-height: 16px;
font-size: 11px;
margin: 0em;
padding-left: 0em;
padding-right: 0em;
padding-bottom: 0em;
padding-top: 0em;
color: #8080c0;}

p.sitePlanControls{
line-height: 16px;
font-size: 9px;
margin: 0em;
padding-left: 0em;
padding-right: 0em;
padding-bottom: 8px;
padding-top: 4px;}

p.node {
text-decoration: none;
font-size: 11px;
font-weight: 800;
padding-left: 0em;
padding-right: 0em;
padding-bottom: 0px;
padding-top: 0px;
border-top: 1px #000080 solid;
border: 1px #ff0000 none;
padding: 0em;
margin-left: 4px;
margin-top: 0em;
margin-bottom: 0em;
margin-right: 0em;}

p.nodeNotes {
font-size: 11px;
padding-left: 0em;
padding-right: 0em;
padding-bottom: 0em;
padding-top: 0em;
color: #8080c0;
border: 1px #ff0000 none;
padding: 0em;
margin-left: 4px;
border: 1px #ff0000 none;
margin-top: 0em;
margin-bottom: 0em;
margin-right: 0em;}

p.nodeControls{
font-size: 9px;
border: 1px #ff0000 none;
padding: 0em;
display: block;
white-space: nowrap;
margin: 2px;
border: 1px #ff0000 none;}

h2.appTitle {
margin: 0em;
padding: 0em;
line-height: 15px;
vertical-align: middle;}
Jul 20 '05 #1
1 2051
In article <55**************************@posting.google.com > in
comp.infosystems.www.authoring.html, Ethan <el**********@yahoo.com>
wrote:
I've been trying to get a layout to work right, but so far haven't
been able to do so. Here's the layout:

http://64.142.13.246/style_testing_s...yle_model3.htm


I am not sure, but I think the system ID in your DOCTYPE has
triggered MSIE's quirks more. You might want to change it to the one
listed at
http://gutfeldt.ch/matthias/articles...tch/table.html
taht triggers standards mode.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ethan | last post by:
I've been trying to get a layout to work right, but so far haven't been able to do so. Here's the layout: http://64.142.13.246/style_testing_site/style_model3.htm This is the basic idea: ...
82
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | ...
7
by: Matt Kruse | last post by:
This is a typical layout, but I have specific requirements. I'm trying to figure out a) if it's possible to meet the requirements and b) if so, how. +---------------+ | header |...
4
by: Spartanicus | last post by:
I've started work on a css layout tutorial. I expect that it will take a minimum of several weeks to get to a complete draft stage. I hope to get better feedback by publishing individual pages....
30
by: Diane Wilson | last post by:
I'm trying (once again) to figure out how to make a robust CSS layout style that can replace tables. I'd like to be able to do a basic two-column layout, with a one-column header, a two column...
14
by: Anoop | last post by:
Hi, I am new to this newsgroup and need help in the following questions. 1. I am workin' on a GUI application. Does C# provides Layout Managers the way Java does to design GUI? I know that it...
5
by: Ed Sproull [MSFT] | last post by:
First I'm pretty new to ASP.NET and I'm having a simple problem. I have small website with a header, sidebar and the the content. I want my content to appear beside my sidebar which seems to be a...
18
by: maya | last post by:
pls look @ this pg, http://www.mayacove.com/design/divs.html in IE and FF.. in IE it looks fine, but in FF the main div (centered, 800px wide, blue background; in reality the bg will be white..)...
12
by: Yofnik | last post by:
Hello All, If this is not the appropriate group for this post, please point me in the right direction. I am trying to create a layout that has three main columns. The primary content is the...
2
by: programmerboy | last post by:
Another problem I am having is that when everything (well almost everything) started working. I am seeing a huge difference b/w my classic ASP and ASP.Net website. I haven't changed anything in the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.