Kawsar_Ahmed
Kawsar_Ahmed

Reputation: 55

How can i make a template cross browser compatible?


I have a very normal issue.But I couldn't find any answer.I made a simple PSD to HTML.I tried to make it cross-browser compatible.But I couldn't do it.So that's why I have a question.If I make a template in IE or Safari.Is it automatically compatible with all other browsers? Because Safari and IE are the worst browsers.Need suggestion from experts.

Thanks in advance

Upvotes: 0

Views: 108

Answers (2)

satyajit rout
satyajit rout

Reputation: 1651

try some compiler like prepros which'll automatically add browser prifixes

Upvotes: 2

Mohamed hesham
Mohamed hesham

Reputation: 130

most of css2 properties works correctly for all browsers but the real problem is in css3

so you can use each browser code

for example we need to use tranisition the code will be

-webkit-transition: all 0.3s linear; /*chrome and safari*/
-moz-transition: all 0.3s linear; /*firefox*/
-o-transition: all 0.3s linear; /*opera*/
-ms-transition: all 0.3s linear; /*internet explorer*/
-transition: all 0.3s linear; /*for all new versions of browsers*/

Upvotes: 0

Related Questions