Thread: PHP and CSS

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Location
    Middle of nowhere
    Posts
    1
    Rep Power
    0
    Does anyone know if there are any issues regarding using external stylesheets with PHP? If I include the styles in the < head > section of the page, it works fine. If I try to use an external stylesheet, it is ignored. Any help is appreciated.

    Thanks,
    Matt
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2001
    Location
    Brisbane, Australia
    Posts
    32
    Rep Power
    14
    I have a PHP script that includes an HTML file to be printed to the screen.

    This file has a stylesheet link to an external css file, and it works fine.

    Are you sure your code for the external css file is correct?

    Example,

    <link rel="stylesheet" type="text/css" href="file.css">
    Within the head section?

    Regards,
    Robbo

IMN logo majestic logo threadwatch logo seochat tools logo