Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6145407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:47:25+00:00 2026-05-23T18:47:25+00:00

I am dividing my website in the typical php include way. If I want

  • 0

I am dividing my website in the typical php include way. If I want the includes to use their own stylesheet how is this done? For example if I have include “header.php”, how can I make it so that a stylesheet only applies to this include?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:47:26+00:00Added an answer on May 23, 2026 at 6:47 pm

    You can do this either by including a different stylesheet to begin with, or by giving your <body> element an id or class attribute that enables you to write selectors such as

    body#header {
        /* ... */
    }
    

    The first approach plugs in at the <head> tag render code, the second does so at the <body> tag render code. You need to write your code such that one of these places also knows which PHP script you intend to include (or have already included).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know the quick and dirty way of dividing by 60 to get minute,
I was wondering how far can you print this: http://www.iheartchaos.com/post/16393143676/fun-with-math-dividing-one-by-998001-yields-a In R. e.g: 1/998001
Within my datalist, I want to create a separation dividing each ItemTemplate with a
I know when dividing integers the default way it works is to discard the
For example I have the number 6C0000h = 7077888d Dividing each word by ten
Is there a faster way of dividing by 2, with sign, in assembly than
Maybe trivial but what is an elegant way of dividing elements in one array
I having trouble in dividing the HTML frames. I have been using the following
How do you go about dividing the views into smaller views. Let's say I
In the sample code below I am dividing by zero which when I step

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.