SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 460 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


Inline styles
The final method of applying a style inserts it within HTML tags using the style attribute??”a technique
known as inline styles. This method is the most local of all the techniques; that is, it is closest to the tag it is
affecting and, therefore, has ultimate control??”because of the cascading nature of style sheets as previously
discussed.
As my mother used to say, ???Just because you can do something, doesn??™t mean you should.???
Generally, inline styles are not used because they exert such a high level of control, and modifying
the style must be done on an item-by-item basis, which defeats much of the purpose of CSS.
When you create an AP element within Dreamweaver, you notice that the positioning attribute is a
Cascading Style Sheet inline within a
tag like the following:
top:62px; width:194px; height:128px; z-index:1???>

For all its apparent complexity, the Cascading Style Sheets system becomes straightforward in Dreamweaver.
Often, you won??™t have to write a single line of code. But even if you don??™t have to write code, you should
understand the CSS fundamentals of grouping, inheritance, and cascading.
Dreamweaver gives anyone working with CSS layouts a big boost with the newly introduced
starter pages available through the Layout category of the New Document dialog box.


Pages:
448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472