Meet the Other Phone. Child-safe in minutes.

Meet the Other Phone.
Child-safe in minutes.

Buy now

Please or to access all these features

Geeky stuff

Any web designers around? DH is having a

4 replies

cantpackwontpack · 25/09/2011 21:03

meltdown small issue with a site he is designing.

OP posts:
mranchovy · 25/09/2011 22:38

Wassup?

cantpackwontpack · 26/09/2011 08:18

He has put together a website that looks fine in Internet Explorer but is all messed up in Firefox. Is this a common problem? Any tips to solve it?

He is self taught and every now and then he encounters a problem that he can't solve. He doesn't know I am asking on here but thought it was worth a try. He was working on it all day yesterday to no avail.

OP posts:
mranchovy · 26/09/2011 10:05

Yes this is a common problem, or rather it used to be.

IE has it's own way of interpreting the way things are laid out (widths, padding etc.) - called the box model. Fortunately since IE6, it has been possible to make IE use the standard box model but to do this you have to make sure your pages tell IE not to use it's own box model by avoiding what is called 'quirks mode'.

To avoid this problem:

  1. Use a document type definition as the first line of each page, probably

... to allow the most leeway although most designers for the past five years have used the stricter xhtml.

  1. Recode the pages so that they work in FireFox. They should then be the same in IE6+.
  1. Run every page through this validator and fix any problems.
  1. Consider using either a content management system or an up-to-date HTML editor to help keep things on the straight and narrow (or wide as the case may be).
  1. Get a book like this one (not seen this one personally but the 'for dummies' series is usually OK).
cantpackwontpack · 26/09/2011 10:12

That looks like it will help.

Thank you so much. He is under a lot of pressure at the moment so it would be great if he could sort this out.

Mumsnet really is amazing.

Thanks again.

OP posts:
New posts on this thread. Refresh page
Swipe left for the next trending thread