English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I want to know if any body can explain to me how browsers deal with css. when they are downloaded and how they are used to render the page. do different browsers handle things differently ? basically a detailed step by step procedure.

2006-08-02 10:05:42 · 2 answers · asked by Rajeev 2 in Computers & Internet Internet

2 answers

I'm a web programmer so I'm just going by what I know. First off CSS was created because HTML is supposed to be to organize information, CSS is to make it "pretty" and well formatted.

Different browsers each have their own "CSS engine" which applies the CSS to the HTML to create the results. So each one has different rules, and it can be complicated to get something to look the same in multiple browsers.

The browser could choose to either read the CSS and apply it to the HTML as it comes along, or to read the HTML and apply the CSS to it as it comes along. I'm not really sure which method would be easier, but I think the second would be.

2006-08-02 10:12:05 · answer #1 · answered by ericr 2 · 0 0

Some browsers are not CSS-standards compliant (like IE6). Others are (like Mozilla and Firefox).

However, all browsers basically look at the same code the same way.

2006-08-02 17:09:59 · answer #2 · answered by Brian L 7 · 0 0

fedest.com, questions and answers