473,800 Members | 2,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4082
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
10725
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | | | | | | | | left | center | right | | | | | | | | |
22
3514
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, though. Imagine centered column layout, with a header box, and content box with lots of smaller content boxes of different sizes, some spanning several 'rows' or 'columns'. How would you go about changing this kind of static layout into
30
3148
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 body, and a two-column footer. The problem, and one that always sends me back to using tables, is that word "robust." Absolute positioning gets squirrelly, because it takes the positioned elements completely out of the float scheme, and stuff...
14
4864
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 can be done using the designer but I intentionally don't want to use that. The one reason is that you cannot change the code generated by the designer. The other could be that you have more free hand and control to design your GUI. 2....
7
2179
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" background actually stick to the bottom of the page. Try making your browser window small... then scroll down & see how ugly it looks. ....now try resizing your browser & notice the wierd behavior. It also reacts differently in IE & FF (Which is...
15
2167
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
3880
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. 2. Why does Firefox ignore my 'min-height:50%' for the container? Again, IE doesn't. See "http://coombes.amandadevries.com/people/Duong.html" to see what I
7
2229
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 accomplish this objective. The page height should grow for the pages with more content. But, the pages having less content should have a pre-specified page height.
5
2675
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 table(s) ? Benefits or problems related to using one or the other ?
1
1840
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 C#/Winforms (ClickOnce), SQL Server 2005 applications?
0
9690
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9550
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10501
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10273
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7574
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5603
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.