html - Why doesn't my external css-file work? -
here´s css code:
body { background-image: url(http://relevantfl.org/wp- content/uploads/2013/07/light_grey_3000x3000.jpg); color: white; font: 12px/1.4em arial,sans-serif; }
here´s html code:
<!doctype html> <html> <head > <link href=”/users/edvinhedblom/library/mobile documents/com~apple~clouddocs/design.css” rel=”stylesheet” type="text/css" media="all" /> </head>
the problem when run code in browser shows html-code , no style @ all.
you have used bad quotes, use "
or '
.
<link href="/users/edvinhedblom/library/mobile documents/com~apple~clouddocs/design.css" rel="stylesheet" type="text/css" media="all" />
then remember linking file local machine, remote server can find if move html server.
Comments
Post a Comment