php with css

Discussion in 'Programming/Scripts' started by complete, Dec 10, 2015.

  1. complete

    complete New Member

    How do I use CSS with PHP? I have tried to do this according to examples I found by searching online. But nothing worked. Please help.
     
  2. sjau

    sjau Local Meanie Moderator

    not really sure what you mean. css files are just linked in the header section of html files.
     
  3. vsolmyr

    vsolmyr New Member

    Do you use a framework?
    sjau is right:
    Code:
    <html>
    <head>
    <!--CSS goes here-->
    <link rel="stylesheet" type="text/css" href="mystyle.css">
    </head>
    <body>
    hi
    </body>
    </html>
     
  4. ztk.me

    ztk.me Active Member

    Maybe it would be helpful to know what you wanted to achieve? Which example did you use? What is your goal?

    Edit: @vsolmyr lulz this is a rather old thread :D
     

Share This Page