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

 

CSS centering absolutely positioned elements

 

CSS horizontal centering of an absolutely positioned element. Example: HTML / XHTML. Code: <div class="example"> <img src="image.jpg" alt="Image" /> </div> CSS. Code: .example {position: relative; left: 0px; top: 0px; height: 90px; width: 100%; float: left; padding: 10px; border: 1px #ccc solid; background: #fafafa; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;} .example img {position: absolute; left: 0px; right: 0px; margin: 0px auto; width: 68px;} An absolutely positioned img is centered in the example. But this method of horizontal centering also works with other both inline and block absolutely positioned elements. The width of an absolutely positioned element may also be in percent or other units. CSS properties of a container (here it is .example), holding an element to be centered, may vary. The element's centering is achieved by styles applied to the element itself: .example img {position: absolute; left: 0px; right: 0px; margin: 0px auto;}. [ 1 ] As well as Netscape 8.01+, Mozilla 1.5+. [ 2 ] As well as Netscape 8.01+, Mozilla 1.5+.

CSS centering floated elements

 

Centering an inline block containing several inline elements. The block is centered horizontally - [ Open demo page ]. Sometimes there is a need to have a centered group of floated elements, which is to serve as a title or a pagination box. Since this group of floated elements is going to be used as a title for content blocks of various dimensions or pagination box may grow or shrink in its size, then the width of the group of floated elements is to vary unpredictably as well. So a method of centering based on using a certain known width of the box is not going to work. And as an extra to the task there is a desirable condition: the title or pagination box has to be centered once and for all at the time of the box creation, so that this group of floated elements may be reused without any extra work over it: just place the complex where you need it and put the text or / and images you want to inside it - the group is centered anyway. This problem can be solved by several methods using several technologies: CSS, CSS + JavaScript, CSS + HTML (<table></table> tags system). The CSS centering floated elements is the most simple and reliable. So, here a pure CSS centering of floated elements is discussed. CSS centering floated elements: 1. First, a more simple case, css centering of a title box consisting of floated elements: images and text: 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>CSS centering floated elements: 1</title> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <link rel="stylesheet" type="text/css" href="css.css" /> </head> <body> <div class="box"> <span class="title-box"> <img src="snowflake.gif" width="37" height="34" alt="" class="title-imgs" /> <span class="title-text">CSS centering floated elements</span> <img src="snowflake.gif" width="37" height="34" alt="" class="title-imgs" /> </span> </div> </body> </html> CSS.