How do you call a page from another page? If I have a style sheet called styles.css and I want to include it in document.inc how do you set it up? I'm not sure what all I need to link them together and get the program to function.
Here is what I have:
and style sheet looks like this:Code:public function DisplayStyles()
{
include ("styles.css");
}
HTML Code:<style> #content{ position:absolute top:220px; left:50%; margin-left:-320px; width:600px; } h1 { color:white; font-size:24pt; text-align:center; font-family:arial,sans-serif } .menu { color:white; font-size:12pt; text-align:center; font-family:arial,sans-serif; font-weight:bold } td { background:black } p { color:black; font-size:12pt; text-align:justify; font-family:arial,sans-serif } p.foot { color:white; font-size:9pt; text-align:center; font-family:arial,sans-serif; font-weight:bold } a:link,a:visited,a:active { color:white } </style>
Code:<link type="text/css" rel="stylesheet" href="styles.css" />
Last edited by Jaan; 03-22-2010 at 04:05 AM. Reason: Please use code tags when you are posting your codes!
Thanks for your help, I think I might have it.
Last edited by hayschooler; 03-22-2010 at 10:17 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks