avboy5000 Posted September 20, 2006 Share Posted September 20, 2006 I was wondering if an HTML document can be linked to more that one external CSS document. And If so I was wondering if there were a limit on how many could be used.To take it a step further I would also like to know if there is a limit to how many external Java Script Files could be linked to an HTML document Link to comment Share on other sites More sharing options...
Err Posted September 20, 2006 Share Posted September 20, 2006 As far as I know, no, I don't think there's a limit to how many external CSS documents you can add on to a web page, I mean there shouldn't be. You know if you have many styles you want to add to web page, you can just add all the styles you have together on 1 CSS document instead of having 2 or more separate CSS documents. Same would go for JavaScript files, as far as putting all your scripts on 1 JS file... that would require some JS knowledge. Heck I've made pages that have 9 scripts on 1 page. Link to comment Share on other sites More sharing options...
Stephen_Allen Posted September 20, 2006 Share Posted September 20, 2006 I agree with RahXephon. I'm only a beginner myself, but as far as I know, you can add as many CSS files as you need.As for JS documents. I think they are the same, though I haven't had the need to create an external JS document myself yet, so I'm not 100% sure. Link to comment Share on other sites More sharing options...
aspnetguy Posted September 20, 2006 Share Posted September 20, 2006 unlimited external css and js documents can be attached to an HTML document. Link to comment Share on other sites More sharing options...
justsomeguy Posted September 20, 2006 Share Posted September 20, 2006 But the fewer the better, because a separate request is necessary for each one. One 100k file will transfer quicker then ten 10k files because of all the overhead necessary to make a request and get a response. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now