Jump to content

I'm havign a HUGE problem with CSS...


Stalingrad

Recommended Posts

I've tried like 100 different times, nothing works. I'm using a PHP based website. The folder is style.css where the CSS is displayed. It doesn't work. How do I get it to display within the php code. Here is my index.php:

 

index.php:

<?php
session_start();
include("config536.php");
?>
<html><head><title> Hello World </title>
<link href="style.css" rel="stylesheet" type="text/css"></head><body>
<?php
echo "<td class=\"banner\">Welcome!!</banner><td class=\"top\">Testing this!</top><td class=\"body\">Testing this again!!</body>";?>
</body></html>

the second like of the config files is including the style.css, so that isn't the problem. And teh config file exists.

 

Here is my style.css file:

 

style.css:

<style><body>body {
font-family: verdana; 
}
.banner{font-size: 58px; color: #fff;}
.top{font-size: 18px; color: red; }
.body {font-size: 25px; color: green;}
</body></style>

 

This is my third time posting this within the past 6 months, guys, PLEASE solve this. I cannot continue my website anymore if this will not work!

Link to comment
Share on other sites

  • 3 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.