473,799 Members | 3,178 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IE box model problem

Hi,

I've not had many problems with differences between the IE and Firefox
interpretation of the box-model before, but my current site seems to
have the symptoms of being affected by it!

http://www.srcf.ucam.org/~ccw34/index_ff.html

Although I understand how it comes about, I don't fully understand a
couple of the hacks I've read to counter it. I've also read that the
problem was fixed from IE6.0 (although dependent on the Doctype [1]),
but changing the Doctype doesn't seem to make any difference on this
site in IE7.

If anyone can offer any clues in how to fix the problem, I'd be most
grateful.

Thanks,
Chris

1. http://css.maxdesign.com.au/listamat...t-boxmodel.htm
Nov 9 '08 #1
20 1974

ChrisW wrote:
>
I've not had many problems with differences between the IE and Firefox
interpretation of the box-model before, but my current site seems to
have the symptoms of being affected by it!

http://www.srcf.ucam.org/~ccw34/index_ff.html
What problem do you think you have?

I see no significant difference between IE6, IE7 and Firefox/Seamonkey.
What I *do* see in all browsers is a huge amount of horizontal
scrolling, with nothing but empty space over on the right. This is
caused by the width:100% on div.hideInfo. You should dump that.

The heading may not be positioned correctly, either, though that could
be because the design does not adapt to my large default text size.
Can't say for sure because I don't know how you expect it to look.

--
Berg
Nov 9 '08 #2
On 9 Nov, 21:56, Bergamot <berga...@visi. comwrote:
ChrisW wrote:
I've not had many problems with differences between the IE and Firefox
interpretation of the box-model before, but my current site seems to
have the symptoms of being affected by it!
http://www.srcf.ucam.org/~ccw34/index_ff.html

What problem do you think you have?

I see no significant difference between IE6, IE7 and Firefox/Seamonkey.
What I *do* see in all browsers is a huge amount of horizontal
scrolling, with nothing but empty space over on the right. This is
caused by the width:100% on div.hideInfo. You should dump that.

The heading may not be positioned correctly, either, though that could
be because the design does not adapt to my large default text size.
Can't say for sure because I don't know how you expect it to look.

--
Berg
I knew about the scrolling - I wanted to fix the main problem first!
It's interesting they all look the same to you! I've got screenshots
for Firefox 3 and IE 7:

http://www.srcf.ucam.org/~ccw34/ff.jpg
http://www.srcf.ucam.org/~ccw34/ie.jpg

Thanks,
Chris
Nov 9 '08 #3
In article
<92************ *************** *******@u18g200 0pro.googlegrou ps.com>,
ChrisW <c.******@gmail .comwrote:
On 9 Nov, 21:56, Bergamot <berga...@visi. comwrote:
ChrisW wrote:
I've not had many problems with differences between the IE and Firefox
interpretation of the box-model before, but my current site seems to
have the symptoms of being affected by it!
>http://www.srcf.ucam.org/~ccw34/index_ff.html
What problem do you think you have?

I see no significant difference between IE6, IE7 and Firefox/Seamonkey.
What I *do* see in all browsers is a huge amount of horizontal
scrolling, with nothing but empty space over on the right. This is
caused by the width:100% on div.hideInfo. You should dump that.

The heading may not be positioned correctly, either, though that could
be because the design does not adapt to my large default text size.
Can't say for sure because I don't know how you expect it to look.

--
Berg

I knew about the scrolling - I wanted to fix the main problem first!
It's interesting they all look the same to you! I've got screenshots
for Firefox 3 and IE 7:

http://www.srcf.ucam.org/~ccw34/ff.jpg
http://www.srcf.ucam.org/~ccw34/ie.jpg
Bergamot seems to me to be essentially right. In FF, if you enlarge the
text size in your browser (Command +, on a Mac, probably Control + on
Windows), you will see a gap like in ie.jpg.

--
dorayme
Nov 10 '08 #4
On 10 Nov, 00:11, dorayme <doraymeRidT... @optusnet.com.a uwrote:
In article
<9256a701-bbe0-4863-83a2-1a8c48fa0...@u1 8g2000pro.googl egroups.com>,

*ChrisW <c.c.w...@gmail .comwrote:
On 9 Nov, 21:56, Bergamot <berga...@visi. comwrote:
ChrisW wrote:
I've not had many problems with differences between the IE and Firefox
interpretation of the box-model before, but my current site seems to
have the symptoms of being affected by it!
http://www.srcf.ucam.org/~ccw34/index_ff.html
What problem do you think you have?
I see no significant difference between IE6, IE7 and Firefox/Seamonkey.
What I *do* see in all browsers is a huge amount of horizontal
scrolling, with nothing but empty space over on the right. This is
caused by the width:100% on div.hideInfo. You should dump that.
The heading may not be positioned correctly, either, though that could
be because the design does not adapt to my large default text size.
Can't say for sure because I don't know how you expect it to look.
--
Berg
I knew about the scrolling - I wanted to fix the main problem first!
It's interesting they all look the same to you! I've got screenshots
for Firefox 3 and IE 7:
http://www.srcf.ucam.org/~ccw34/ff.jpg
http://www.srcf.ucam.org/~ccw34/ie.jpg

Bergamot seems to me to be essentially right. In FF, if you enlarge the
text size in your browser (Command +, on a *Mac, probably Control + on
Windows), you will see a gap like in ie.jpg.

--
dorayme
If I enlarge the text, I get

http://www.srcf.ucam.org/~ccw34/ff_large.jpg

- however large I make the text, I don't get any overlap of the
basicInfoDiv with the h1, like I do in IE.
Nov 10 '08 #5

ChrisW wrote:
>>
http://www.srcf.ucam.org/~ccw34/index_ff.html
It's interesting they all look the same to you! I've got screenshots
for Firefox 3 and IE 7:
>http://www.srcf.ucam.org/~ccw34/ff.jpg
http://www.srcf.ucam.org/~ccw34/ie.jpg

If I enlarge the text, I get

http://www.srcf.ucam.org/~ccw34/ff_large.jpg
FYI, that is not text zoom. It's page zoom, which is an entirely
different thing. Go into the Firefox prefs and change the default text
size to something larger. My default is 20px, with a minimum of 17px.

--
Berg
Nov 10 '08 #6
In article
<f3************ *************** *******@o4g2000 pra.googlegroup s.com>,
ChrisW <c.******@gmail .comwrote:
On 10 Nov, 00:11, dorayme wrote:
*ChrisW <c.c.w...@gmail .comwrote:
On 9 Nov, 21:56, Bergamot <berga...@visi. comwrote:
ChrisW wrote:
I've not had many problems with differences between the IE and Firefox
interpretation of the box-model before, but my current site seems to
have the symptoms of being affected by it!
>http://www.srcf.ucam.org/~ccw34/index_ff.html
....

Bergamot seems to me to be essentially right. In FF, if you enlarge the
text size in your browser (Command +, on a *Mac, probably Control + on
Windows), you will see a gap like in ie.jpg.
>
If I enlarge the text, I get

http://www.srcf.ucam.org/~ccw34/ff_large.jpg

- however large I make the text, I don't get any overlap of the
basicInfoDiv with the h1, like I do in IE.
Anyway, perhaps start over with simple HTML:

<h1>Home Page / welcome</h1>
<div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>

<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur.</p>

<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui
officia deserunt mollit anim id est laborum.</p>
</div>

ie. removing your <br>s and all the javascript, and complicated CSS
(positioning). And build from here, validating all the way as a check
for yourself.

--
dorayme
Nov 10 '08 #7
On 10 Nov, 19:29, Bergamot <berga...@visi. comwrote:
ChrisW wrote:
http://www.srcf.ucam.org/~ccw34/index_ff.html
It's interesting they all look the same to you! I've got screenshots
for Firefox 3 and IE 7:
http://www.srcf.ucam.org/~ccw34/ff.jpg
http://www.srcf.ucam.org/~ccw34/ie.jpg
If I enlarge the text, I get
http://www.srcf.ucam.org/~ccw34/ff_large.jpg

FYI, that is not text zoom. It's page zoom, which is an entirely
different thing. Go into the Firefox prefs and change the default text
size to something larger. My default is 20px, with a minimum of 17px.

--
Berg
Apologies - I wasn't aware of the difference.
Nov 10 '08 #8
On 10 Nov, 21:29, dorayme <doraymeRidT... @optusnet.com.a uwrote:
In article
<f30ae5b4-db11-4e4f-9e24-62d7b46c1...@o4 g2000pra.google groups.com>,

*ChrisW <c.c.w...@gmail .comwrote:
On 10 Nov, 00:11, dorayme wrote:
*ChrisW <c.c.w...@gmail .comwrote:
On 9 Nov, 21:56, Bergamot <berga...@visi. comwrote:
ChrisW wrote:
I've not had many problems with differences between the IE and Firefox
interpretation of the box-model before, but my current site seems to
have the symptoms of being affected by it!
http://www.srcf.ucam.org/~ccw34/index_ff.html

...
Bergamot seems to me to be essentially right. In FF, if you enlarge the
text size in your browser (Command +, on a *Mac, probably Control +on
Windows), you will see a gap like in ie.jpg.
If I enlarge the text, I get
http://www.srcf.ucam.org/~ccw34/ff_large.jpg
*- however large I make the text, I don't get any overlap of the
basicInfoDiv with the h1, like I do in IE.

Anyway, perhaps start over with simple HTML:

<h1>Home Page / welcome</h1>
<div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>

<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur.</p>

<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui
officia deserunt mollit anim id est laborum.</p>
</div>

ie. removing your <br>s and all the javascript, and complicated CSS
(positioning). And build from here, validating all the way as a check
for yourself.

--
dorayme
That's where I started from (and where I start all my websites from,
ever since I taught myself xHTML and CSS (+ PHP / MySQL / XML...)
about 6 years ago). I've never had to build this precise kind of
layout tho, and was hoping someone might just have a quick tip on
something that I hadn't thought of about things I could change in the
CSS. I'm not looking for someone to give me the complete answer, but
I might have been a bit narrow minded and not realised of another way
of doing something.
Nov 10 '08 #9
In article
<73************ *************** *******@1g2000p rd.googlegroups .com>,
ChrisW <c.******@gmail .comwrote:
On 10 Nov, 21:29, dorayme <doraymeRidT... @optusnet.com.a uwrote:
Anyway, perhaps start over with simple HTML:
....
ie. removing your <br>s and all the javascript, and complicated CSS
(positioning). And build from here, validating all the way as a check
for yourself.
>
That's where I started from (and where I start all my websites from,
ever since I taught myself xHTML and CSS (+ PHP / MySQL / XML...)
about 6 years ago). I've never had to build this precise kind of
layout tho, and was hoping someone might just have a quick tip on
something that I hadn't thought of about things I could change in the
CSS. I'm not looking for someone to give me the complete answer, but
I might have been a bit narrow minded and not realised of another way
of doing something.
OK, things start simple and later get complicated and problems come up.
But the point I had in mind is that you must be especially careful along
the way from making poor decisions as you build. Why would you insert
double breaks, to take a trivial case that likely has nothing to do with
your immediate concern, in a paragraph instead of simply making more
paragraphs? I was puzzled by why you felt you had to wrap the HI in a
div?

The real point is that if you start and proceed in the *simplest* way,
your immediate concern would be unlikely to arise at all.

--
dorayme
Nov 10 '08 #10

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

Similar topics

6
3312
by: Iain Bishop | last post by:
I'm trying to model objects for the following problem: A building site contains assemblies, each of which can contain other assemblies and/or materials. I have modelled this using a Site class, Assembly class, and Material class as follows... Site Class (clsSite): Option Explicit
0
2150
by: Flare | last post by:
Hi I tring to implement a model 2 architecture in a new test JSP site for my own training. I read this article http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/web-tier/web-tier5.html It suggests that I in my controlling servlet use at Command Pattern to control the flow instead of if-else. Sounds great. The patten is examplified in section 4.6 and 4.7
34
7115
by: yensao | last post by:
Hi, I have a hard time to understand difference and similarities between Relational database model and the Object-Oriented model. Can somebody help me with this? Thank you in advance. Yensao
10
7191
by: Michael Strorm | last post by:
Hi! I've been having problems with a DTD. Having had the Sun XML validator reject a document, I put it through 'xmllint' for more information. 'Xmllint' noted a problem with the DTD itself; "validity error : Content model of section is not determinist: (text , (list , text)* , list?)" Here's a very simplified version of the DTD demonstrating the problem:-
19
2364
by: Steve Jorgensen | last post by:
I've run across this issue several times of late, and I've never come up with a satisfactory answer to the best way to handle this schema issue. You have a large section of schema in which a subset of records across all tables is often considered a separate logical system, but sometimes may be treaded ar part of the global system, and there is not simply a 1-m-m... tree among the records in a logical database. Here's an example. A...
5
2258
by: clintonG | last post by:
I'm looking for documentation and would not turn my nose up to any code from anybody who thinks they are good at the design of an algorythm that can be used to generated a hierarchical relational data model. What? A Yahoo-like drill-down menu that is a series of categories and nested categories is a hierarchical relational data model. An example can be seen at but the review of the query string values strongly indicates
6
4619
by: Robert W. | last post by:
I'm building my first major C# program and am try to use best practices everywhere. So I've implemented the "Document/View Model" whereby: - There's a Windows Form, which we'll call "formView" - There's a Class, which we'll call "classDocument" Thus, when an instance of each the form and the class are instantiated, they each will hold the same data, albeit be independent of each other. To keep the two in perfect sync with each other,...
1
3396
by: Earl Teigrob | last post by:
Background: When I create a ASP.NET control (User or custom), it often requires security to be set for certain functionality with the control. For example, a news release user control that is comprised of a DataGrid may have separate permissions for adding, deleting and updating a news item. Problem Up until now, I have been implementing security directly inside the control. I will test directly against the security model to see if...
122
7445
by: Edward Diener No Spam | last post by:
The definition of a component model I use below is a class which allows properties, methods, and events in a structured way which can be recognized, usually through some form of introspection outside of that class. This structured way allows visual tools to host components, and allows programmers to build applications and libraries visually in a RAD environment. The Java language has JavaBeans as its component model which allows Java...
1
2676
by: Alex Vinokur | last post by:
Hi, I have compilation problem on SUN CC compiler with template while using option -m64 (64-bit addressing model). No problem while using option -m32 (32-bit addressing model) $ CC -V CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
0
9540
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,...
1
10222
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9068
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
7564
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
6805
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
5463
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...
1
4139
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 we have to send another system
2
3757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2938
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.