What is this line for <style type="text/css"> @import url('style.css'); </style>
Won't the <link rel... line work fine on its own? I have come across the above line a few times in the last few days and cant seem to figure out what it does.There is more than one way to skin a cat. Your method only works from an html page whereas this: @import url('style.css'); can be in an html page or in a stylesheet calling another style sheet. One of the benefits of of this method is netscape 4 can't read it so will just display the html.Thanks!
Won't the <link rel... line work fine on its own? I have come across the above line a few times in the last few days and cant seem to figure out what it does.There is more than one way to skin a cat. Your method only works from an html page whereas this: @import url('style.css'); can be in an html page or in a stylesheet calling another style sheet. One of the benefits of of this method is netscape 4 can't read it so will just display the html.Thanks!