473,387 Members | 1,790 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.

Elastic Layout Problems - min-width and max-width in IE7 and IE6

Hi there,

I've tried to create an elastic CSS layout using min-width and max-width
properties. This seems to work fine in Firefox, but fails to work in
Internet Explorer 6 or 7, even though I read that IE7 now supports these
properties? In IE6 and IE7, the page seems to be 100% wide, edge to edge.

The page in question I'm having issues can be found via this link:
http://tinyurl.com/3xx3kw

I'd appreciate any advice on what I'm doing wrong to make this work in IE7.
Secondly, can anyone recommend a hack that works well for IE6?

Thanks for any advice,

Ste

Jul 13 '07 #1
2 4048
Steve wrote:
>
I've tried to create an elastic CSS layout using min-width and max-width
properties. This seems to work fine in Firefox, but fails to work in
Internet Explorer 6 or 7

http://tinyurl.com/3xx3kw
Your lack of DOCTYPE triggers quirks mode in all browsers. IE requires
standards mode for a number of things to render comparably to other
browsers. Use HTML 4.01 Strict for best compatibility across browsers.
http://www.hut.fi/u/hsivonen/doctype.html

--
Berg
Jul 13 '07 #2
Ste
On 2007-07-13 19:01:54 +0100, Bergamot <be******@visi.comsaid:
Steve wrote:
>>
I've tried to create an elastic CSS layout using min-width and max-width
properties. This seems to work fine in Firefox, but fails to work in
Internet Explorer 6 or 7

http://tinyurl.com/3xx3kw

Your lack of DOCTYPE triggers quirks mode in all browsers. IE requires
standards mode for a number of things to render comparably to other
browsers. Use HTML 4.01 Strict for best compatibility across browsers.
http://www.hut.fi/u/hsivonen/doctype.html
Ahh, I can't believe I missed that. That will explain why all the
other pages were displaying okay! I use includes to insert certain
pieces of information such as the metatags, header, footer, etc, and I
also had an include for doctype, just n case I wanted to change it on a
global scale at some point. Anyway, I must have deleted it by accident
when deleting and re-arranging some of the HTML and just never spotted
this...

Thanks,

Ste

Jul 13 '07 #3

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

Similar topics

82
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | ...
22
by: Jam Pa | last post by:
Once again my big mouth has landed me with a tough job. I have a static CSS layout, where each and every element has been defined by pixel size - lots of them, too! Mostly relative elements,...
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...
7
by: Trammel | last post by:
Im trying to do something which I hoped would be alot easier than it seems. Im trying to design the layout of the page in CSS to avoid table, etc but having problems making the bottom "fade"...
15
by: Gary Peek | last post by:
Can anyone tell us the browsers/versions that exhibit errors when tables are nested too deeply? And how many levels of nesting produces errors? (not a tables vs CSS question)
6
by: amandadev | last post by:
Hi there, I actually have two problems with the following site: http://coombes.amandadevries.com: 1. Why does Firefox ignore my request for a 'red' background for my ..container? IE doesn't....
7
by: group.ritesh | last post by:
I am facing a trival problem with my web page. I have two kind of web pages : 1. few pages has lesser content 2. few pages expands largely and they cover more area. Now, I want to...
5
by: Jeff User | last post by:
Hi all I am writing program/framework to server a web site dynamically based on stored web page data with C#, .net1.1 What is the preferred means of controlling page layout, frames or...
1
by: Bill Fuller | last post by:
Is anyone familier with Amazon's Elastic compute cloud for hosting applications? It appears to be UNIX based. I am wondering if anyone is familier with something similar for utility computing for...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.