PDA

View Full Version : Keeping table at top of page


gold_dragon
02-23-2004, 11:06 AM
How do you make something stay at the relative top of the browser window. What I mean is, I have seen a lot of pages where they have a table or something that stays at the side of the page, this really helps out in certain situations if you want to person to know something but not have to go all the way to the top of the page to find it. If I can have an example then maybe I can tweak it to do what I want. Since I want it to be in one position on the page and go down but stay at the top within sight for the viewer. Could always copy and paste content but... um, I do believe that is wrong ethically and legally so I would like a free example I can use, tweak, and mess with.

Course, I could probably create a hack for this but I was hoping a good example would work best.

http://www.siteexperts.com/dhtmllib/demos/float/float.asp#scripting I would like to save this link so please don't delete this thread.
http://www.webmasters-central.com/t/floatingads.shtml

kryptech.net
03-06-2004, 01:19 AM
you probally already thought of this but couldnt you use a frame?

gold_dragon
03-07-2004, 09:08 AM
Frames? I guess I could but I like to do complicated things for no reason.

gold_dragon
03-10-2004, 09:39 AM
You can also use CSS:position:fixed; for netscape and mozilla and float: left; for IE. Seems to work perfectly. I know some CSS but this is awesome. I need to get a book on CSS to really learn it.

kryptech.net
03-10-2004, 11:23 AM
Is CSS really supported my mozilla?

gold_dragon
03-11-2004, 03:19 PM
Originally posted by kryptech.net
Is CSS really supported my mozilla? Even more so than IE, mozilla has some early support for CSS3 and IE has barely CSS2 support.