Jump to content

simi_id

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

simi_id's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks guys, nice community in here. I finaly choosed the last solution to implement. Initialy I wanted that that menu.css to be in menu.php and so on, but I understood that there can be only 1 header even I include 1 file there can't be 2 headers only if I do frames if this is correct. Thanks again.
  2. No. It's just for a simple web page. I want to develop all content in independent pages, like menu.php, content.php, footer.php, and so on ... and then just to place them in one single file. What I want is that single file where all are included to not require to add css in head. Each file included to use it's own css already defined in it own head.
  3. a.php contains: <html> <head> <link href="a.css" rel="stylesheet" type="text/css" /> </head> <body>content a</body> </html> b.php contains: <html> <head> <link href="b.css" rel="stylesheet" type="text/css" /> </head> <body>content b</body> </html> c.php to contain only: <html> <head> <!-- no more css included in head each included file to use it's own css style included in their head section --> </head> <body> <?php require("a.php"); ?> <?php require("b.php"); ?> </body> </html> the ideea is that in the final document just to include files worked alone, not to be necessary to include css styles, and to mess one with another.
  4. Hi, I have a.php .. with head and body, in head I have a.css which applies only to a.php In b.php I will have also head and body but b.css which I want to apply only to b.php, and to include a.php, but I have to add as well a.css into b.php, else it's not working. How can I have to separate files a.php with a.css and b.php with b.css and just to include them in c.php using just include and nothing more ? Thanks
×
×
  • 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.