Menu
Hi I can’t get my php include/header & footer to recognize my css.
My header.php and css are in the same file so I don’t believe it is a directory issue.
I have tried to make a base to link to the root but that didn’t work.
My website is kirsteneaton.com/myWebsite/currentProjects.php
I have tried everything I know to get this to work for 2 days.
Thank you.
Link 404 -- did you take it down because you got it sorted?
Really, it's unlikely it belongs in your footer, since the STYLE and LINK tags are only valid in <HEAD></HEAD>
really though, without seeing the PHP that generates your markup, it's unlikely we can help you.[/QUOTE]
<link
rel="stylesheet"
type="text/css"
href="../bootstrap/css/bootstrap.min.css"
media="screen, projection, tv"
/>
<link
type="text/css"
rel="stylesheet"
href="screen.css"
media="screen,projection,tv"
/>
@media (max-width:600px) {
* {
-webkit-text-size-adjust:none;
-moz-text-size-adjust:none;
-ms-text-size-adjust:none;
}
}
Ok, let me catch up and make all of these changes.
Should my files be: header and footer html or .php?
[/QUOTE]
should my css file be inside of my php file?
[/QUOTE]
<i>
</i><html>
<head>
<?php include 'header.inc'; ?>
</head>
<body>
<!-- html goes here -->
</body>
</html>
<i>
</i><!-- the include file -->
<title>my web site</title>
<style>
<!-- CSS goes here -->
</style>
<!-- end include file -->
<i>
</i><html>
<head>
<!-- the include file -->
<title>my web site</title>
<style>
<!-- CSS goes here -->
</style>
<!-- end include file -->
</head>
<body>
<!-- html goes here -->
</body>
</html>
</body>
</html>
<i>
</i><!DOCTYPE html>
<html>
<head>
<i> </i> <title>My References</title>
<i> </i> </head>
<i> </i><body>
0.1.9 — BETA 5.19