473,387 Members | 1,899 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,387 software developers and data experts.

Alignment Off In IE6 and IE7

Hey guys, still having loads of trouble with this website, it looks fine in Firefox, and in IE8, but any previous version of IE looks terrible.

The site can be viewed here http://www.catalystpics.co.uk/dev/index.html

As you can see the site is still only in development stages, but this is a major issue i need to sort,

Hope someone can help !

Thanks in advance

Wastedguitarist

my css code is as follows

body {
margin: 0;
padding: 0;
font-size: 12px;
font-family: Tahoma, Arial;
text-align: justify;
color: #5C5C5C;
border:0px;
}

h1, h2, h3 {
margin: 0;
font-weight: normal;
color: #FFFFFF;
}

h1 {
letter-spacing: -1px;
font-size: 32px;
}

h2 {
font-size: 23px;
}

p, ul, ol {
margin: 0 0 2em 0;
text-align: justify;
line-height: normal;
}

a {
color: #1B75A9;
}

a:hover, a:active {
text-decoration: none;
color: #1B75A9;
}

a:visited {
color: #1B75A9;
}

img {
border: none;
}

img.left {
float: left;
margin-right: 15px;
}

img.right {
float: right;
margin-left: 15px;
}

/* Header */
#header {
width: 1200px;
margin: 0 auto;
height: 60px;
}

/* Menu */
#menu {
float: left;
background: url(images/menu.gif) repeat-y top center;
width:1200px;
height:95px;
margin:0 auto;
}

#menu ul {
font-weight:bold;
font-size:16px;
text-decoration:none;
margin: 0;
padding: 23px 0 0 20px;
list-style: none;
line-height: normal;
text-align:center;

}

#menu li {
text-align: center;
display:inline;
}

#menu a {
font-weight:bold;
font-size:16px;
text-decoration:none;
color:#ffffff;
background-color:#000000;
padding:0px 30px 2px 30px;
}

#menu a:hover {
background-color:#FAE707;
font-weight:bold;
font-size:16px;
text-decoration:none;
color:#000000;
}

#menu .current_page_item a {
background-color:#FAE707;
color: #000000;
}

/* Page */
#page {
width: 1200px;
background-image:url(Images/body.JPG);
margin-top: auto;
margin-right: auto;
margin-bottom: auto;
margin-left: auto;
}

/* Content */
#contenttop {
position:relative;
font-family: Tahoma, Arial;
margin-left:180px;
margin-right:180px;
margin-top:10px;
float: left;
width: 840px;
height: 100px;
left: 00px;
top: 00px;
}

#contentmiddle {
position:relative;
font-family: Tahoma, Arial;
margin-left:180px;
margin-right:180px;
margin-top:15px;
float: left;
width: 840px;
height: 450px;
left: 0px;
top: 000px;
}

#contentmiddlework {
position:relative;
font-family: Tahoma, Arial;
margin-left:113px;
margin-right:113px;

float: left;
width: 963px;
height: 495px;
left: 0px;
top: 000px;
background-color: #FFFFFF;
}

#contentleft {
position:relative;
font-family: Tahoma, Arial;
margin-left:180px;
margin-top:15px;
float: left;
width: 540px;
height: 550px;
left: 0px;
top: 30px;
}

#contentright {
position:relative;
font-family: Tahoma, Arial;
margin-right:180px;
margin-top:15px;
float: left;
width: 300px;
height: 550px;
left: 0px;
top: 30px;
}
#contentbottom{
position:relative;
font-family: Tahoma, Arial;
margin-left:180px;
margin-right:180px;
margin-top:15px;
float: left;
width: 840px;
height: 350px;
left: 0px;
top: 40px;
}

#contentbottomwork {
position:relative;
font-family: Tahoma, Arial;
margin-left:113px;
margin-right:113px;
margin-top:0px;
float: left;
width: 963px;
height: 350px;
left: 0px;
top: 10px;
background-color: #FFFFFF;
}


/* Footer */
#footer {
position:relative;
background: url(images/footer.jpg) repeat-y top center;
width:1200px;
height:138px;
margin:0 auto;
top:-25px;
}

#footermenu {

width:840px;
height:138px;
margin-left:180px;
margin-right:180px;
}
Mar 26 '09 #1
2 3051
Dormilich
8,658 Expert Mod 8TB
@wastedguitarist
IE uses a different box model than the standard compliant browsers (width(IE) = width(W3C) + padding + border), maybe that's why (I have no IE to test ...)
Mar 26 '09 #2
drhowarddrfine
7,435 Expert 4TB
Actually, the box models are the same if one uses a proper doctype. I didn't compare the site to IE for the same reason, I don't have my Windows box on, but you still have 20 HTML errors that need correcting.

IE8 is still an incompetent browser but it's CSS is pretty much up to standards so that's why it looks the same as the more modern browsers. I'm not surprised IE6/7 don't look the same but need more specifics on the problem, as well as getting the 20 errors fixed.
Mar 26 '09 #3

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

Similar topics

4
by: Shashi | last post by:
Can somebody explain how the byte alignment for structures work, taking the following example and considering: byte of 1 Byte word of 2 Bytes dword of 4 Bytes typedef struct { byte a; word...
10
by: j0mbolar | last post by:
for any pointer to T, does a pointer to T have different or can have different alignment requirement than a pointer to pointer to T? if so, where is the exact wording in the standard that would...
67
by: S.Tobias | last post by:
I would like to check if I understand the following excerpt correctly: 6.2.5#26 (Types): All pointers to structure types shall have the same representation and alignment requirements as each...
7
by: Earl | last post by:
Any known fixes for the wacky right-alignment bug in the WinForms datagrid (VS2003)? I've tried Ken's workaround...
13
by: aegis | last post by:
The following was mentioned by Eric Sosman from http://groups.google.com/group/comp.lang.c/msg/b696b28f59b9dac4?dmode=source "The alignment requirement for any type T must be a divisor of...
12
by: Yevgen Muntyan | last post by:
Hey, Consider the following code: #include <stdlib.h> #define MAGIC_NUMBER 64 void *my_malloc (size_t n) { char *result = malloc (n + MAGIC_NUMBER);
10
by: haomiao | last post by:
I want to implement a common list that can cantain any type of data, so I declare the list as (briefly) --------------------------------------- struct list { int data_size; int node_num;...
55
by: fishpond | last post by:
How to declare a variable guaranteed to have the strictest possible alignment? -- The defense attorney was hammering away at the plaintiff: "You claim," he jeered, "that my client came at you...
2
by: somenath | last post by:
Hi All, I have one question regarding the alignment of pointer returned by malloc. In K&R2 page number 186 one union is used to enforce the alignment as mentioned bellow. typedef long...
2
by: uamusa | last post by:
I am Dynamically generating a proposal(report) in MS Word. By default the Paragraph Alignment is "Left". For the First 6 Paragraphs I set the Alignment to "Center", and then when attempting to...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.