473,324 Members | 2,370 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,324 software developers and data experts.

CSS div positioning IE, Safari and Firefox

The site I'm working on is http://www.m23law.co.uk

I have finally managed to get it dislaying properly in IE and Safari, but now it's broken in Firefox. Does anyone have any idea what could be wrong?

/* Position Container*/

#container {
background: #FFFFFF;
display: table;
padding: 0px;
position: relative;
top: 0px;
left: 50%;
margin-left: -365px;
width: 780px;
height: 100%;
border-right: solid 2px #000066;
border-left: solid 2px #000066;
}

/* Position other elements */

#menu {
position: relative;
float: left;
width: 114px;
height: 100%;
text-align: left;
padding: 0px;
}

.header {
font-style: bold;
position: relative;
top: 0px;
height: 100px;
background-repeat: no-repeat;
text-align: right;
color: #330066;
padding: 0px;
padding-right: 10px;
margin: 0;
}

#contents{
position: relative;
display: block;
float: right;
width: 632px;
height: 100%;
text-align: justify;
padding: 15px;
}

#copyright {
display: block;
position: absolute;
bottom: 0px;
text-align: center;
font-size: 8pt;
width: 100%;
}
Jul 18 '07 #1
1 2949
drhowarddrfine
7,435 Expert 4TB
You will never get IE to pretend to act like modern browsers without a proper doctype. See the article about doctypes above.
Jul 19 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Laiverd.COM | last post by:
Hi everybody, I'm not quite sure whether this request is appropriate here; if not I'm sorry. I have finally managed to get things positioned, scaled etc. properly. However I'm only able to check...
0
by: chris ciotti | last post by:
Hi - The following page: http://www.geocities.com/chris_ciotti/Holding/site-template-sliced.html was generated with Photoshop CS and uses CSS for positioning. The page validates...
4
by: CJM | last post by:
I'm developing a web application, that has a left-sided navigation menu and a centre-right content area. The menu is static and therefore is in an INCLUDEd file. I'm wanting to add a link to a...
17
by: pasdecrap | last post by:
The following code will produce similar results in IE6 and firefox 1.0.4 however the left margin in FF is 4 pixels and in IE it is 5. Can anyone see why this is happening? I can't seem to figure...
0
by: chris ciotti | last post by:
Hi - Sorry for the crosspost. The following page: http://www.geocities.com/chris_ciotti/Holding/site-template-sliced.html was generated with Photoshop CS and uses CSS for positioning. The...
4
by: Mark | last post by:
I have developed a generic list-based css menu. It works both in IE7 and Firefox, and with the help of Peter Nederlof's csshover.htc, with older IE versions. I have included a simplified version...
3
by: mikewse | last post by:
I have a strange problem where it seems IE is doing the correct layout but Firefox and Safari isn't. I think I'm probably wrong, and there is something in the standards that say behaviour should be...
11
by: Cartoper | last post by:
Here is the code: http://cartoper.ueuo.com/centering.htm How do I get the big blue buttons to center themselves on Firefox and Safari on this web site? I know that the layout is a bit...
14
by: Fistro | last post by:
I'm trying to find a design that would allow me to build web pages without having to worry about compatibility issues (not too much, in any case,,,) I've came across this CSS layout technique:...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.