Jump to content
Sign in to follow this  
rcull

Include CSS

Recommended Posts

I have been playing with the responsive grid layout found here: https://www.w3schools.com/css/css_rwd_mediaqueries.asp

 

I find when I attempt to include the style sheet rather than placing it on the page, many of its properties are lost. Can someone point out where my problem lies?

Here is the page with the style sheet on the page: http://www.cull.ca/Cull3/

Here is the page with the style sheet  in a relative link (<link rel="stylesheet" href="./include/cull.css">) : http://www.cull.ca/Cull2/

 

Thanks

 

Share this post


Link to post
Share on other sites

You should not have any HTML tags in your CSS file. Not even <style> tags. The CSS file should only contain CSS rules.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...