#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    112
    Rep Power
    6

    Formatting include files


    Ive got a linked file for my css. how do you format included files?
  2. #2
  3. For POny!
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2012
    Location
    Amsterdam
    Posts
    416
    Rep Power
    115
    Originally Posted by maineman
    Ive got a linked file for my css. how do you format included files?
    If a file is included in php it becomes part of the page that is outputted (thats 1 page) So you style it exactly the same.
  4. #3
  5. CSS & JS/DOM Adept
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2004
    Location
    USA (verifiably)
    Posts
    20,127
    Rep Power
    4304
    Welcome to DevShed Forums, maineman.

    Do you mean PHP includes? Sections of a page included via some form of server-side includes are part of the page -- the web browser can't tell that they are separate on the server. As such the answer to your previous CSS question applies here too. I recommend you read HTML Dog's CSS Intermediate Tutorials.
    Spreading knowledge, one newbie at a time.

    Check out my blog. | Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Common CSS Mistakes | Common JS Mistakes

    Remember people spend most of their time on other people's sites (so don't violate web design conventions).

IMN logo majestic logo threadwatch logo seochat tools logo