English 中文(简体)
能够特别为Mac browers制定CSS?
原标题:Can I code CSS specifically for Mac browsers?
最佳回答
问题回答

您在以上评论中试图实现的目标的适当守则

if (navigator.platform ===  MacIntel  || navigator.platform ===  MacPPC ) {
    $( head ).append( <link rel="stylesheet" type="text/css" href="mac.css" /> );
}​ else {
    $( head ).append( <link href="main.css" rel="stylesheet" type="text/css" /> );
} 

您的黑体直觉是A的原因。 如果你离开<代码><link href=“main.css” rel=“esheet”类型=“text/css”/>在标题部分中,Mac browsers仍然读成正文。 在浏览器上使用我的代码时,只有装满现场的玉米或装满缺电弹壳时,才会提供ma子。

利用CSS检索表或实现正常,使所有浏览器都显示ABOUT。 同样,删除了缺省风格

或仅使用<条码>*{dding:0;},规定所有婚礼为0,但你必须为所有贵方规定婚礼。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签