![]() |
doctype problem
i have this problem,when i add a doctype statement to my websites,it works well in firefox but it is scattered in IE and opera
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> thanks for your help |
What do you mean scattered?
|
Are you using xhtml syntax vs html?
|
Quote:
Scatter what? is it your layout? |
i mean the whole layout is rearange and disfigured terribly,and i am using xhtml ,but why dosen't it affect firefox,what can i do to solve the problem
thanks |
Ah, a classic issue of IE modifying your design settings. Your doing nothing wrong it's just that Internet Explorer has horrible record of not being standards specific (FF isn't either but it's not required for this point).
You will have to create a different style sheet for each browser, everyone has to, sorry. For a simple fix you could do something like this: Code:
<!--[if IE 7]> |
Is this solve already? or any other issue regarding this topic? If so, then let me add :)
Quote:
Actually you can do 2 things here: Quote:
IE CSS BUGS Goodluck! |
| All times are GMT. The time now is 02:28 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0