Kompx.com or Compmiscellanea.com

ELinks. Use

Operating systems : Windows, Linux

Jump to:

ELinks - Text-based or console web browser. Description: features, screenshots, download links.

ELinks. Configuration - How to configure ELinks.


Once started, ELinks allows a user to do almost all it is capable of by means of its menu. So it is only how to start ELinks and how to do several other things as an example that is explained here.

1 ) Starting ELinks - ELinks may be run under a GUI environment (X Windows, MS Windows, etc) or some command-line interface. In the first case a terminal emulator / console must be opened before ELinks is to be started: xterm, rxvt, Win32 console and others:

ELinks ( Linux )

- To start ELinks, enter command:

elinks

- To start ELinks opening a web document from Internet:

elinks Web address of a web document

- To start ELinks accessing hard disk to browse local folders:

elinks file:///

or:

elinks /

- To start ELinks opening a local folder:

elinks file:///home/user1/

or:

elinks /home/user1/

- To start ELinks opening a local file:

elinks file:///home/user1/document1.htm

or:

elinks /home/user1/document1.htm

ELinks ( Windows )

- To start ELinks, enter command:

elinks

- To start ELinks opening a web document from Internet:

elinks Web address of a web document

- To start ELinks accessing hard disk to browse local folders:

elinks file:///

- To start ELinks opening a local folder:

elinks file://c/home/user1/

- To start ELinks opening a local file:

elinks file://c/home/user1/document1.htm

2 ) To access the menu of ELinks:

Press Esc on keyboard

3 ) Opening a web document in ELinks already running:

Press g on keyboard or Esc --> File --> Go to URL --> [ Enter a web address ] --> Enter

4 ) Going back:

Left arrow of Arrow keys on keyboard or Esc --> File --> Go back

5 ) Opening a link in a new tab in background:

Shift - t or Esc --> Link --> Open in new tab in background

6 ) Going to the next tab:

Shift - > or Esc --> View --> Next tab

7 ) Closing a tab:

Press c on keyboard or Esc --> View --> Close tab

8 ) Passing a URI to an external application when running ELinks in a terminal emulator. There are many applications it is possible to pass a URI to, here it is about passing a URI to clipboard. Setting up this option is explained here:

To pass the URI of the web page ELinks is displaying at the moment to clipboard:

Alt - p

To pass the URI of a highlighted link in a page to clipboard:

Alt - l

9 ) Editing textarea of forms in an external editor. If ELinks is compiled with external editor support, one or another text editor present in the operating system may be used to handle text in textarea of forms, both in GUI and command-line environment. Setting up this option is explained here. To edit text in textarea of a form:

Move cursor to textarea of the form, press Enter on keyboard to start editing. Ctrl - t to open the external editor set during the configuration process. Enter / edit text in the editor opened. Then:

If it is a GUI editor:

Hit Save in its menu or use a keyboard shortcut, like Ctrl - S to save the text prepared. Close the editor's window - the text entered / edited and saved in the external editor gets to the textarea of the form, ready to be sent.

If it is a text-mode editor, vi or vim for instance:

Esc to exit insert mode, then : [colon] to start entering a command, wq, then Enter to save and quit. The text entered / edited and saved in the external editor gets to the textarea of the form, ready to be sent. If it is not vi or vim, the procedure is still the same, just use the corresponding commands of the editor.


Aliosque subditos et thema

 

HTML table borders without CSS

 

Example n.1:   HTML table borders without CSS   cellspacing="2"   bgcolor="#ff6600" HTML / XHTML. Code: <table width="100%" cellspacing="2" cellpadding="0" border="0" align="center" bgcolor="#ff6600"> <tr bgcolor="#ffffff"> <td width="33%" height="67">&nbsp;</td> <td width="34%">HTML table borders without CSS</td> <td width="33%">&nbsp;</td> </tr> <tr bgcolor="#ffffff"> <td height="67">cellspacing="2"</td> <td>&nbsp;</td> <td>bgcolor="#ff6600"</td> </tr> </table> Example n.2:   HTML table borders without CSS   cellspacing="8"   bgcolor="#999999" HTML / XHTML. Code: <table width="100%" cellspacing="8" cellpadding="0" border="0" align="center" bgcolor="#999999"> <tr bgcolor="#ffffff"> <td width="33%" height="67">&nbsp;</td> <td width="34%">HTML table borders without CSS</td> <td width="33%">&nbsp;</td> </tr> <tr bgcolor="#ffffff"> <td height="67">cellspacing="8"</td> <td>&nbsp;</td> <td>bgcolor="#999999"</td> </tr> </table> Example n.3 - for Netscape 3.04-6.0, Mozilla 0.6-0.92 and Arachne.

JavaScript + CSS centering

 

Centering content of a web page by means of JavaScript and CSS. A block containing the content of a page is JavaScript + CSS centered horizontally and vertically. Two cases: 1. A block is centered, if screen resolution is equal to or greater than 1024x768 - [ Open demo page ] 2. A block is centered, if screen resolution is equal to or greater than 1024x768 + mouse cursor is moved over a link in an element of the page content - [ Open demo page ] JavaScript and CSS horizontal and vertical centering. The first case. Step by step. 1. A web page, the part of which is going to be the element the JavaScript + CSS horizontal and vertical centering is to be applied to: HTML / XHTML. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>JavaScript + CSS horizontal and vertical centering. The first case. Step 1</title> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <link rel="stylesheet" type="text/css" href="1.css" /> </head> <body>   </body> </html> CSS. Code: html {height: 100%; margin: 0px;} body {background-color: #fff; margin: 0px; height: 100%;} 2. A block element A (grey color) with dimensions declared explicitly, for instance 800 by 500 pixels and with relative positioning is created in the document's body. [ Open demo page ] HTML / XHTML. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>JavaScript + CSS horizontal and vertical centering. The first case. Step 2</title> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <link rel="stylesheet" type="text/css" href="2.css" /> </head> <body> <div class="element_A">&nbsp;</div> </body> </html> CSS.