ClanKiller.com
http://forums.clankiller.com/

[solved]1 css table (or simular) multiple HTML pages?
http://forums.clankiller.com/viewtopic.php?f=24&t=1118
Page 1 of 1

Author:  Mole [ Fri Jan 28, 2005 12:46 pm ]
Post subject:  [solved]1 css table (or simular) multiple HTML pages?

What I want to know, is if it is posible (and how) to make 1 single CSS table, display on the left side of this webpage:
www.paint-zone.co.uk/main.html
So that if I click to navigate to a different page, it still shows?

The point in me doing this is so that whenever I change the table, I just modify the CSS part, instead of having to go through and change each HTML page.

Author:  ElevenBravo [ Fri Jan 28, 2005 1:24 pm ]
Post subject: 

If you coded in PhP you could do this easy. As far as I know, the only thing a CSS will change is color and text size. It wont change the table itself or the images in the table. Just stuff like font color, backgrougd color etc. If youre wanting the ability to change the table it self I dont think a CSS is going to work. Your stuck using frames or switching to PHP.

I could be wrong.

Author:  Mole [ Fri Jan 28, 2005 2:19 pm ]
Post subject: 

What about absolute possitioning? I know that can be used, but I don't know how. On both counts.

Author:  ElevenBravo [ Fri Jan 28, 2005 2:33 pm ]
Post subject: 

Never heard of it but this might help
http://www.juicystudio.com/tutorial/css/fixed.asp

Author:  Satis [ Fri Jan 28, 2005 3:26 pm ]
Post subject: 

btw, css can control many things, including the outlining of a table, cell padding/spacing/outlines, background images, underline, overline, bold, etc etc etc. Basically anything that a deprecated html element can do. background-image: /yo/momma.jpg for instance.

I'm not sure I understand the question about css table blah blah. If you're talking about a menu you want to carry over from one page to another, yea, css isn't the way to do that. You want either php includes or maybe server side includes (same effect, less power). Or frames. Or iframes should work too, if you want an html only solution that doesn't use classical frames.

Author:  Mole [ Fri Jan 28, 2005 4:00 pm ]
Post subject: 

Hmmm, I hate frames. They suck monkeys. What do you know about phpincludes or server side includes?

Author:  Satis [ Fri Jan 28, 2005 4:36 pm ]
Post subject: 

they're easy. My entire site (clankiller.com) is built around php includes. You have to make sure your page gets parsed by the php interpreter (ie, give it a .php extension or something). The code is like this:L

<? include("filename_to_include.php"); ?>

and that's it. Easy. Server side includes I'd have to look up, but it's very similar.

Author:  Mole [ Fri Jan 28, 2005 5:08 pm ]
Post subject: 

So give me some basics to work with,

For instance a basic table in php, what i'd save it as, and where i'd call it etc.

EDIT:

Right basically what i have done is created a .php file called "menutable.php"

Also a dummy html file.

The file "menutable.php" has a HTML table in it, which I can display through my browser by navigating to it.

to call the table in my dummy html file, what do i do?

Author:  Mole [ Sat Jan 29, 2005 7:14 pm ]
Post subject: 

Never mind, I did it.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/