• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. Defining Cascading Style Shee... > Redefining Specific Tags with CSS Se...

Redefining Specific Tags with CSS Selectors

You can redefine specific tags using CSS selector styles. For example, the example course created in this book contains the text and instructions within an HTML table. Some of the instructions will be contained in a bulleted list (<ul>). The CSS selector style can specifically target any bulleted list contained within a table cell (<td>). Bulleted lists outside table cells will not be affected by the style.

First, create a table (Insert, Table) that contains 3 rows, is 300 pixels wide, and has a 0 pixel border. Place three lines of text within one of the table cells and turn them into a bulleted list by selecting the Unordered List button in the Property inspector (or Text, List, Unordered List). Create a new CSS selector style affecting the appearance of bulleted lists within table cells:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint