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
https://forums.phpfreaks.com/topic/251987-im-havign-a-huge-problem-with-css/
Share on other sites

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.