473,509 Members | 2,918 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

max-width web page design

After some research and personal testing, it appears to me that if you
want a maximum width for your web page in IE using div's, scripting
will have to be turned on. This being the case, if you are going to
use div's, anyone without scripting turned on in their IE browser
would have to be supplied a single default width, unless you are
willing to have your page extruded to unlimited widths.

If the above is indeed the case, it would be my opinion that table
design, which will give you a max width without the need for
scripting, is superior to the use of div's when you need a max width
to maintain the graphic aspect of your web page within certain
proportions. Otherwise, some screen resolutions will always lose the
benefit of your intended design.

Thus, it appears for this particular need that the most recent html/
css recommendations for design are still inferior to table design due
to lack of implementation in IE. The latest recommendations are no
doubt superior for the purposes of standardization and control in
theoretical browser behavior, but to get the specific behavior
described here now, table design still appears to be superior.

This post is not to put down IE which has often made my life much
easier than Firefox, but not in this case. I would be interested in
any, hopefully well-informed, comments on this post, especially from
anyone who might know of any way to indeed get a max page width in IE
using div's, but with scripting turned off.

Nov 3 '07 #1
7 4411
ru*****@fastmail.fm wrote:
After some research and personal testing, it appears to me that if you
want a maximum width for your web page in IE using div's, scripting
will have to be turned on.
Only for IE 6 or older versions. IE7 supports max-width.

--
Berg
Nov 3 '07 #2
ru*****@fastmail.fm wrote:
On Nov 3, 9:51 am, Bergamot <berga...@visi.comwrote:
>>
IE7 supports max-width.

I just tried the following code in 2 different installations of IE7
It's a waste of time to post a code snippet. Post a URL showing your
attempts.

--
Berg
Nov 4 '07 #3
On Nov 4, 10:49 am, Bergamot <berga...@visi.comwrote:
runn...@fastmail.fm wrote:
On Nov 3, 9:51 am, Bergamot <berga...@visi.comwrote:
IE7 supports max-width.
I just tried the following code in 2 different installations of IE7

It's a waste of time to post a code snippet. Post a URL showing your
attempts.

--
Berg
I may do that if I have some extra time. In the meantime, have you
ever actually seen css max-width work in IE7? If so, was some
particular setting needed to make it work?

Nov 5 '07 #4
Bergamot wrote:
You can run these multiple IE versions on Win XP or earlier versions.
Vista has other requirements I don't know anything about. Google for it.
Seems with Vista virtual machines is your only option. (or multiple
boot| machines) ;-)

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Nov 7 '07 #5
On Nov 7, 10:15 am, Bergamot <berga...@visi.comwrote:
runn...@fastmail.fm wrote:
Now, your page claims to have been tested in IE 5.0-7.0, so it appears
that css max-width works in those earlier versions as well

Nope. Only IE7 supports max-width. There are JavaScript hacks that can
make it work in IE6 (possibly earlier versions), but I don't use them.
BTW, that page is not intended as an example of max-width, just a
2-column layout using a particular method. It happens to use max-width.

Berg
But, your 2-column layout appears to depend on max-width, so does it
really work in IE 5 and 6 or not?

Nov 9 '07 #6
rf

<ru*****@fastmail.fmwrote in message
news:11*********************@57g2000hsv.googlegrou ps.com...
On Nov 7, 10:15 am, Bergamot <berga...@visi.comwrote:
>runn...@fastmail.fm wrote:
Now, your page claims to have been tested in IE 5.0-7.0, so it appears
that css max-width works in those earlier versions as well

Nope. Only IE7 supports max-width. There are JavaScript hacks that can
make it work in IE6 (possibly earlier versions), but I don't use them.
BTW, that page is not intended as an example of max-width, just a
2-column layout using a particular method. It happens to use max-width.

Berg

But, your 2-column layout appears to depend on max-width,
No it doesn't. Remove max-width and it still works as designed, a two column
layout.
so does it
really work in IE 5 and 6 or not?
The subject of the page, the two column layout, does. Maxwidth, of course
does not but that is not what the "tested in ..." comment is about. That is
about the two column layout.

--
Richard.
Nov 9 '07 #7
ru*****@fastmail.fm wrote:
On Nov 7, 10:15 am, Bergamot <berga...@visi.comwrote:
>>
BTW, that page is not intended as an example of max-width, just a
2-column layout using a particular method. It happens to use max-width.

But, your 2-column layout appears to depend on max-width,
No, it does not. The max-width has nothing to do with the 2-column
layout. Take max-width out and you still have 2 columns.
so does it
really work in IE 5 and 6 or not?
The 2 columns work fine, which is what that page is all about. The
layout just stretches to fill the viewport instead of stopping at 45ems
(or whatever max-width happens to be).

--
Berg
Nov 10 '07 #8

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

Similar topics

1
5606
by: Steven Bethard | last post by:
So I've been playing around with trying to add a keyword argument to min and max that works similarly to the one for sorted. It wasn't too hard actually, but it does raise a few questions about...
2
2306
by: Jack | last post by:
Greetings folks, Just curious if anyone knows what the following would produce: SELECT MAX( ECP_SUPPORT_DED_EMAIL.CD_TYP_CMPGN) CD_TYP_CMPGN, MAX(ECP_SUPPORT_DED_EMAIL.CELL_ID) CELL_ID,...
0
3797
by: Tanamon | last post by:
Hello All, I am a MySQL newbie trying to write a query that selects file_name records possessing the highest numbered version for that unique file_name. I show sample data and two trial queries...
3
6715
by: Ker | last post by:
I have a query that works great. It gives me the min for multiple fields. Within this query, I also need to get the max of some fields too. I currently have output of Date Name ...
8
1757
by: charles.amith | last post by:
I have 2 tables: LOCATION and ELEVATION In location, I would like to find the record with the max value for field: DATE1 In elevation, I would like to find the record with the max value for...
61
8574
by: norb1 | last post by:
After tracking down a bug in my Fortran program, I found that it assumed max(NaN,0.) = 0. This makes no sense, as the outcome of the operation is undefined and should be NaN. max(NaN,0.) = NaN...
38
42820
by: copx | last post by:
Are the macros min() and max() part of stdlib.h or not? (according to the standard?) I have the following problem: I defined my own min() / max() macros because my compiler (MinGW) does NOT...
19
29221
by: Eugeny Myunster | last post by:
I know, only simple one: #include <stdio.h> int main() { int min=0,max=0,i,arr; for(i=0;i<12;i++) arr=rand()%31-10; for(i=0;i<12;i++)
54
8286
by: bearophileHUGS | last post by:
Empty Python lists don't know the type of the items it will contain, so this sounds strange: 0 Because that may be an empty sequence of someobject: 0 In a statically typed language in...
0
1223
by: hong.niu4 | last post by:
please look our website ,have more mode shoes clothing hat cap bags ! Air Max Air Max 87 shoes www.shoestrade.biz Air Max 90 shoes www.shoestrade.biz Air Max 91 shoes www.shoestrade.biz Air...
0
7347
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
7416
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...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5656
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,...
0
4732
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...
0
3218
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...
0
1571
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
779
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
443
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.