0

I'm working on my very first (very lame) website, so apologies for the n00b question.

In Chrome/FF/Safari, my site renders the CSS fine. But on my iPhone or iPad (Chrome or Safari), my site renders as if there were no CSS styles at all. What's the cause?

Link to site

Thanks in advance!

4

1 回答 1

4

您正在为样式表引用 localhost

<link rel="stylesheet" href="http://localhost:8888/kirbydev/assets/styles/styles.css" />

需要是

<link rel="stylesheet" href="http://www.tvsonsale.co.uk/kirbydev/assets/styles/styles.css" />

或相对路径,因此它适用于本地开发和生产:

<link rel="stylesheet" href="/kirbydev/assets/styles/styles.css" />
于 2013-02-21T21:50:28.990 回答