Closed Thread
Results 1 to 3 of 3

Thread: calling another page?

  1. #1
    hayschooler is offline Learning Programmer
    Join Date
    Feb 2010
    Posts
    31
    Rep Power
    0

    calling another page?

    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:

    Code:
    public function DisplayStyles()
      { 
       include (
    "styles.css");
      } 
    and style sheet looks like this:

    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>

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    zeroradius's Avatar
    zeroradius is offline Speaks fluent binary
    Join Date
    Feb 2008
    Location
    Ohio
    Posts
    1,403
    Rep Power
    25

    Re: calling another page?

    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!

  4. #3
    hayschooler is offline Learning Programmer
    Join Date
    Feb 2010
    Posts
    31
    Rep Power
    0

    Re: calling another page?

    Thanks for your help, I think I might have it.
    Last edited by hayschooler; 03-22-2010 at 10:17 AM.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 12-06-2010, 04:45 PM
  2. Replies: 1
    Last Post: 06-02-2010, 05:28 PM
  3. drop down menu - that loads page in the same page!
    By farhad in forum JavaScript and CSS
    Replies: 7
    Last Post: 03-30-2010, 02:55 PM
  4. How to open a page inside a page??Plz help
    By amrosama in forum ASP, ASP.NET and Coldfusion
    Replies: 18
    Last Post: 02-03-2009, 12:00 PM
  5. calling .NET from C?
    By sardaukar in forum C# Programming
    Replies: 0
    Last Post: 07-17-2008, 02:33 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts