+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member Fishsauce's Avatar
    Join Date
    Dec 2001
    Location
    California
    Posts
    194

    HTML/CSS Question....

    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
    Live Long and Prosper!

  2. #2
    Banned qball's Avatar
    Join Date
    Oct 1999
    Location
    Rockaway, NJ 07866
    Posts
    1,730
    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...

  3. #3
    Ultimate Member DocEvi1's Avatar
    Join Date
    Dec 2001
    Location
    Newcastle Upon Tyne, UK
    Posts
    2,330
    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
    Stefan

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







New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke