|
Getting external style sheets to link properly
A reader writes:
" On page 62 of Creating Cool HTML 4 Web Sites, the first line of code (<link type="text/css" href="mystyles.css" /> does not seem to work until I add 'rel=stylesheet'. I've tried it out on both IE 6.0 and Netscape 7.x." Some of the newest browsers insist on having the link descriptor attribute rel included to confirm that it's a stylesheet you're pointing to. Fortunately, it's pretty obvious if it isn't working and it's a very easy fix to get it working properly. Here's an example of how to correctly include a stylesheet: <link type="text/css" rel="stylesheet" href="mystyles.css" />Hope that clears things up. Note that you can always pop over to W3C (aka the World Wide Web Consortium) and read the official CSS specification documents, if you're so inclined.
Categorized:
HTML and CSS
(Article 3724,
Written by Dave Taylor)
Tagged: Previous: Monetizing site searches with Google WebSearch Next: How do I do just incremental backups? Subscribe!
hi, I have something to say, now that you mention it, but ...
I do have a comment, now that you mention it!
|
Recommended
Recent Entries
Search
I Need Help!
Apple iPad Help
Articles and Reviews Auctions and Online Shopping Blogs and RSS Feeds Building Web Site Traffic Business and Management CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above Facebook Help Google Plus Help HTML and CSS Industry News and Trade Shows iPhone and Cell Phone Help iPod, Sony PSP and MP3 Player Help Mac OS X Help Pay Per Click (PPC) Advertising Search Engine Optimization (SEO) Shell Script Programming Tech Support Video Help The Writing Business Twitter, LinkedIn and Social Network Help Unix and Linux Help Video Game Tips and Help Windows PC Help WordPress Help |