//flex table opened by JP

Click to See Complete Forum and Search --> : HTML/CSS Question....


Fishsauce
07-02-2002, 06:12 PM
Can someone please tell me how do I create a button for CSS. I need to have the button be able to quit Internet Explorer.

Thank you,
Fish

qball
07-02-2002, 11:54 PM
I could be wrong, but CSS will define look and feel of button, not any functionality.

As far as HTML button that will close the browser, I can think of two ways:

1. Button to crash browser, ouch.
2. Button that closes browser gracefully.

Did 1 on version3/4 of IE/Netscape, won't work with later versions. I know of no way to do 2.

Tho if one can, I'm all ears...

DocEvi1
07-03-2002, 09:33 AM
I know javascript can succesfully close windows (javascript.internet.com) but as already stated you can't get a script that is truly browser independant.
Most of the scripts I have seen anyway ask you to confirm the closing of the window in anycase.

Stefan