D-Link DSA-3110 Instrukcja Użytkownika Strona 61

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 61
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 60
DSA-3110 Hotspot Edition – User Manual
Images
There are several ways to add an image to a page. Two of them (through the img tag in the markup
code and through css) are described below.
In markup code
When you specify an image directly in the markup code (not in the css-file), for example, in the img
tag, you should specify the prefix templates/user before the name of the file, as the CGI program is
located in the directory /var/www, and all files uploaded by a user are located in the
/var/www/templates/user/.
Example: <img src="templates/user/ttt.jpg" alt="ttt" />
Through css
To add an image, specify the name of the file containing the image in the css-file without any
prefixes.
Example:
div{
color: #FF0000;
background-image: url('ttt.jpg');
}
Other Files (xml, txt)
Other files are located in the same directory – /var/www/templates/user/. Using such files, note
that the CGI program is located in the directory /var/www.
Page 61 of 61
Przeglądanie stron 60
1 2 ... 56 57 58 59 60 61

Komentarze do niniejszej Instrukcji

Brak uwag