Adobe Dreamweaver CS3 Manual do Utilizador Página 229

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 228
DREAMWEAVER CS3
User Guide
222
Set the HTML Appearance page properties
The HTML Appearance Page Properties category lets you specify several basic page layout options for your web
pages:
Background Image and Background Specify a background image and background color for the page.
Text and Links Define default colors for text, links, visited links, and active links. You can also control these colors
using CSS style sheets.
Left Margin and Top Margin Specify the sizes of page margins in the body tag, for Microsoft Internet Explorer only.
Netscape Navigator ignores these values, using Margin Width and Margin Height instead. For best cross-browser
results, provide margin values for both browsers instead of just one browser; fill in all four margin values instead of
just two. To ensure that no margins appear in either browser, set all four values to 0. Dreamweaver doesnt display
page margins in the Document window; to see the margins, use Preview In Browser.
Margin Width and Margin Height Specify the sizes of page margins in the body tag, for Netscape Navigator only.
Internet Explorer ignores these values, using Left Margin and Top Margin instead. For best cross-browser results,
provide margin values for both browsers instead of just one browser; fill in all four margin values instead of just two.
To ensure no margins in both browsers, set all four values to 0. Dreamweaver doesnt display page margins in the
Document window; use Preview In Browser to see the margins.
See also
Apply, remove, or rename class styles” on page 136
About setting page properties” on page 214
Specify HTML instead of CSS” on page 221
Web-safe colors
In HTML, colors are expressed either as hexadecimal values (for example, #FF0000)orascolornames(red). A web-
safe color is one that appears the same in Netscape Navigator and Microsoft Internet Explorer on both Windows and
Macintosh systems when running in 256-color mode. The conventional wisdom is that there are 216 common colors,
and that any hexadecimal value that combines the pairs 00, 33, 66, 99, CC, or FF (RGB values 0, 51, 102, 153, 204,
and 255, respectively) represents a web-safe color.
Testing, however, reveals that there are only 212 web-safe colors rather than a full 216, because Internet Explorer on
Windows does not correctly render the colors #0033FF (0,51,255), #3300FF (51,0,255), #00FF33 (0,255,51), and
#33FF00 (51,255,0).
When web browsers first made their appearance, most computers displayed only 265 colors (8 bits per channel (bpc).
Today, the majority of computers display thousands or millions of colors (16- and 32-bpc), so the justification for
using the browser-safe palette is greatly diminished if you are developing your site for users with current computer
systems.
Onereasontousetheweb-safecolorpaletteisifyouaredevelopingforalternativewebdevicessuchasPDAandcell
phone displays. Many of this devices offer only black and white (1-bpc) or 256 color (8-bpc) displays.
The Color Cubes (default) and the Continuous Tone palettes in Dreamweaver use the 216-color web-safe palette;
selecting a color from these palettes displays the colors hexadecimal value.
To select a color outside the web-safe range, open the system color picker by clicking the Color Wheel button in the
upper-right corner of the Dreamweaver color picker. The system color picker is not limited to web-safe colors.
September 4, 2007
Vista de página 228
1 2 ... 224 225 226 227 228 229 230 231 232 233 234 ... 737 738

Comentários a estes Manuais

Sem comentários