WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Problems with CSS and console errors Empty Problems with CSS and console errors Tue Nov 27, 2012 4:00 am

Mr.EasyBB

Mr.EasyBB
Registered Member
Registered Member
So on my forum board, I started to run out of characters in the stylesheet. So I inlaid them to my head. Sometimes though for some reason I get a console error with no description and only says TypeError: Can't read property Style of null. or something of that sorts. How do I prevent this from happening? Any suggestions?

2Problems with CSS and console errors Empty Re: Problems with CSS and console errors Sat Dec 01, 2012 1:27 am

rameezzahid


Registered Member
Registered Member
This error can be cause of many reason

internet must be slow
css files cannot be load when you hit the page through url

for second reason you just need to load your css file first or use that code and replace that attribute

Try to remove the type attribute for the CSS file.

You have:

<link rel="stylesheet" href="css/style.css" type="type/css"/>

Use this instead:

<link rel="stylesheet" href="css/style.css" />

Hope it fixed your problem.

http://www.bitwords.com

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum