Forum Moderators: not2easy

Message Too Old, No Replies

can somebody help me to answer these questions?

         

garylee

5:29 pm on Jun 13, 2006 (gmt 0)

10+ Year Member



Q1:
What is the box model and how does it apply to CSS?

Q2:
What are the ways you can deal with x-browser issues? What are the pros and cons of each?

Thanks alot,
GaryLee

garann

6:28 pm on Jun 13, 2006 (gmt 0)

10+ Year Member



Those are very broad questions! I doubt I'm qualified to answer them, but I bet the information you want is here:

[w3.org...]
[quirksmode.org...]

garylee

8:36 pm on Jun 13, 2006 (gmt 0)

10+ Year Member



Hi anybody, is there any proper answer for these question 2?

abbeyvet

8:44 pm on Jun 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



On your second question:

There is no answer to the question the way you have asked it.

There are dozens, hundreds, of answers because there are dozens, hundreds, of issues, each of which needs to be dealt with in its own way. Or more correctly each of which can be dealt with in numerous ways, with the best one depending on the circumstances.

In each case what would be the best solution for site A might be a terrible one for Site B.

It is not the sort of question to which a quick answer can be given in a forum thread.

The links you have been given are a good starting point

The process of dealing with browser compatibiity, for me at least, broadly means creating valid code, validating it, testing in all popualar browsers, testing that it is at least readable if the style sheet is removed altogether. Then tweaking as required to deal with any problems shown up in that process.

After a time you get to know what will work and what will just be too much hassle and it gets quicker and easier.

There are good descriptions of and articles about the box model all over the place. The link above pretty much nails it.

Fotiman

2:15 pm on Jun 14, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



With regards to #2, my suggestion would be to develop for a standards compliant browser first (like Firefox), and then add in fixes for IE (you can use Conditional Comments to include CSS for IE only). It's much easier to develop to the standards and tweak for IE than it would be to develop to IE's bugs and then try to tweak for standard compliant browsers.

Just my 2 cents.