Go Back   TechArena Community > Software > Tips & Tweaks
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 04-08-2008
Member
 
Join Date: May 2008
Posts: 23
Show keyboard keys in an HTML document

If you write documents in HTML format, it may be useful to symbolize key keyboard, for example when the user is prompted to enter a certain combination of keys.

Here is a simple way to do HTML:

Code:
 <style type="text/css"> <! - body (font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; background-color: white; span.touche) (margin-right : 1px; padding-left: 2px; padding-right: 2px; border: 1px solid # 6f6f6f; background-color: # cfcfcf; border-radius: 0.2em; font-weight: bold;-moz-border-radius: 0.2 em;) -> </ style> <span class="touche"> Type A </ span> <span class="touche"> ↵ Entry </ span>
Here is a variant with a small effect of relief:

Code:
 <style type="text/css"> <! - body (font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; background-color: white; span.touche) (margin-right : 1px; padding-left: 2px; padding-right: 2px; background-color: # dadada; border-radius: 0.2em;-moz-border-radius: 0.2em; font-weight: bold; border-style: outset ; Border-width: 2px;) -> </ style> <span class="touche"> Type A </ span> <span class="touche"> ↵ Entry </ span>
Reply With Quote
Reply

  TechArena Community > Software > Tips & Tweaks
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Show keyboard keys in an HTML document"
Thread Thread Starter Forum Replies Last Post
Manipulating HTML document into the RealBasic Borislav Software Development 5 27-07-2011 11:10 PM
Quick keys/volume control keys of Dell Wireless keyboard became inoperative Dimensioner Hardware Peripherals 3 07-03-2011 01:17 AM
Convert word document into the html format teena_pansare Windows Software 5 23-12-2009 02:15 PM
asus keyboard does not recognised some keys/ keyboard issues McGrawh Hardware Peripherals 3 02-09-2009 02:51 PM
make a space in html document SSupDawg Software Development 2 26-01-2009 03:32 PM


All times are GMT +5.5. The time now is 06:08 AM.