Click here to get back home

max-width web page design

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
max-width web page design runner7 11-02-2007
Posted by runner7 on November 2, 2007, 10:46 pm
Please log in for more thread options
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.


Posted by Bergamot on November 3, 2007, 12:51 pm
Please log in for more thread options
runner7@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

Posted by runner7 on November 3, 2007, 11:56 pm
Please log in for more thread options
> runn...@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

Please excuse me if this post shows up twice. It did not seem to take
first time.

I just tried the following code in 2 different installations of IE7 at
a library:

<div style="width:100%; max-width:500px; border:1px solid
black">content</div>

It gives the max width in Firefox, but not in IE7. So, what gives
with your statement about IE7?


Posted by Bergamot on November 4, 2007, 12:49 pm
Please log in for more thread options
runner7@fastmail.fm wrote:
>>
>> 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

Posted by runner7 on November 4, 2007, 11:16 pm
Please log in for more thread options
> runn...@fastmail.fm wrote:
>
> >> 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?


Similar ThreadsPosted
Page design collaboration tools October 30, 2007, 11:07 am
Funny web page design story needed September 22, 2004, 5:11 pm
Paypal $5.00 for a simple Blogger CSS page template Design - URGENT May 2, 2005, 2:15 am
Research webpage design: including word processor and web page frames July 29, 2004, 11:55 pm
Design for 40" LCD? April 8, 2005, 9:09 pm
RFP web design April 25, 2005, 11:39 pm
Re-design August 1, 2006, 3:30 pm
CSS design and 100% height September 16, 2004, 2:30 am
help with design issue May 31, 2005, 8:17 am
Design Questions April 10, 2006, 1:50 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap