CSS不在MAMP上呈现 [英] CSS not rendering on MAMP

查看:188
本文介绍了CSS不在MAMP上呈现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Wordpress博客上工作。我嵌入一个样式表如下:

I'm working on a Wordpress blog. I'm embedding a stylesheet as follows:

<link rel="stylesheet" href="<?php bloginfo("stylesheet_url"); ?>" type="text/css" media="screen" />

但是,CSS根本不渲染。我检查了在href中放置的URL是否正确。找到CSS。但是,它不呈现,在所有浏览器。我完全被骗了,真的会欣赏一个正确的方向。我使用的是MAMP 1.8.3和Wordpress 1.2.9。

However, the CSS doesn't render, at all. I've checked that the URL that is being put in the href is correct. The CSS is found. But, it doesn't render, in all browsers. I am utterly stumped, and would really appreciate a nudge in the right direction. I'm using MAMP 1.8.3, and Wordpress 1.2.9.

推荐答案

问题出在我的键盘上。它创建的字符看起来像双引号,但不是。在使他们实际双引号,CSS工作。感谢您的帮助,大家!

The problem was with my keyboard. It created characters that looked like double quotes, but weren't. Upon making them actual double quotes, the CSS worked. Thanks for the help, everyone!

这篇关于CSS不在MAMP上呈现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆