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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×