Jump to content

how to incorporate css in php


dadamssg

Recommended Posts

i made a site with dreamweaver and this is how it coded it....i tried to just copy paste this segment but got the errors

 

<style type="text/css">
<!--
body {
background-color: #780606;
background-image: url(stripe_99ac19a4de4dd468b14ca733d92aee38.png);
}
-->
</style>

 

 

<html>
<title>sample</title>
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css" />
</head>
<body>

<?php
// you php code goes here

?>

</body>
</html>

 

where mystyle.css is the name and location to your style sheet you mentioned.

 

read up on external style sheets overhere:

http://www.w3schools.com/CSS/css_howto.asp

 

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.