Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Make LAMP support CSS


    Hi, I have been trying to create a website in my new LAMP server at home. Now I want to use CSS to finish the website. But when I put all the code in my LAMP server everything works except the CSS part. How can I make my LAMP server support CSS.?? Thank you for your help in advanced.

  2. #2
    The server already supports CSS, the problem will be in either your HTML or CSS code. Sounds like you're just not including the css file in the html:
    Code:
    <html>
    <head>
     <title>My Page</title>
     <link rel="stylesheet" type="text/css" media="all" href="mystyle.css" />
    </head>
    <body>
     <h1>This is a html page</h1>
     <p>The link tag in the head includes a css file</p>
    </body>
    </html>

  3. #3

    Thank you

    Ok. Yes I tryed it and it seems that if I put a very simple CSS file it works, so I think all I need to do is to make sure I am putting the right code. As I am typing this I wonder if a flash file would work, I will try it, and then come back with the results.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •