How do you connect the second cs file to a certain section of the site?



  • Is there any way to connect the second css file to the site for a certain section only? For example, the menu on the left and the hedder on all the website pages is the same. I want these two elements to be identified in a separate css file and then I just want to add it to the other sections.



  • Well, of course, I don't understand why you're doing this, but since that's what you're doing, just put two lines in your head:

    <link rel="stylesheet" href="static.css" /><!--стили для header и footer-->
    <link rel="stylesheet" href="main.css" /> <!--другие стили-->
    

Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2