Results 1 to 2 of 2

Thread: How to combine external CSS & Java Scrip

  1. #1
    Join Date
    Jul 2010
    Posts
    3

    Red face How to combine external CSS & Java Scrip

    I would like to combine external CSS & Java script on my website. Right now, there are 3 external CSS & 8 external Java script. So, How can I do it?

  2. #2
    Join Date
    Aug 2009
    Location
    Lutterworth, Leicester
    Posts
    161
    Wise move, I'd just recommend that you, just copy the code from one stylesheet to the other, and separate if required with a commented line break.

    I suppose the same goes with the JavaScript files.

    By doing this you will be reducing the amount of HTTP requests to the server which will improve performance and page load times.

    A further technique to reduce the size of these files is to minify them.

Similar Threads

  1. HTML versus XHTML, Inline CSS versus External CSS
    By junkeeper in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 23 Jan 2010, 10:20 AM
  2. External CSS won't show
    By russell1047 in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 30 Dec 2009, 11:35 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •