Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

This is my 1st post here so bare with me ... I am very new :)

I have got SP Designer 2010 up and running, I am starting to reference CSS files saved in the 'Style Library'. Everything is working well, but I get Designer showing an error for tag ...

<link type="text/css" rel="stylesheet" href="/Style%20Library/_emedia/css/emedia-reset.css">

Thanks, Mike

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Only thing I see is a / to self close the tag. Other than that it should be fine.

<link type="text/css" rel="stylesheet" href="/Style%20Library/_emedia/css/emedia-reset.css" />
share|improve this answer
    
Well how about that ... thank you so much! –  mdumka Nov 6 '12 at 21:31
    
Although not very applicable for SharePoint because of doctype it is interesting to know that link element is actually a void element (empty content model), so that will be interesting for SharePoint 2016 =) –  eirikb Nov 6 '12 at 22:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.