I can automatically create a new web page with user input, but there is only one problem: css is not working on this. I know how to attach a css file to an HTML file, but this time it just doesn't work. To help you visualize this, here is the code I have.
HTML
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title></title> <link rel="stylesheet" type="text/css" href="/stylesheet.css"> </head> <body> <--content for webpage here--> </body> </html>
So, this is the corresponding HTML code, and the CSS / HTML connection was literally copied and pasted from another page that worked. I also tried not to use divs, but to use classes because it could cause problems. There is also a problem that when I try to add a header and footer file to my document using php, an error occurs: Warning: include(header.php) [function.include]: failed to open stream: No such file or directory in /home/content/55/10690555/html/words/tower.php on line 2 I have no idea why this is happening on this page, but not any others, so any help would be greatly appreciated. By the way, the error file is a template for creating a new document using PHP, if that helps at all.
source share