Jump to content

tomtallis

Members
  • Posts

    2
  • Joined

  • Last visited

tomtallis's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. tomtallis

    Selector order

    This is the only order in which it will function correctly. Upon further review it seems that moving the order of the body selector is what really gums up the works. If the body selector is moved, the first selector will be ignored regardless of what it is.<head><style type="text/css">body {background-color:darkred}h1 {font-family:helvetica; color:white; font-size:170%}h2 {font-family:helvetica; color:white; font-size:140%; valign:top}p {font-family:arial; color:white; margin-left:20px}a {text-decoration:none; color:white}</style></body>Thanks,Tom
  2. tomtallis

    Selector order

    For some reason I have found that if I order the selectors in my style sheets in any order other than h1, h2, etc.., p; then those selectors that are out of order will be ignored. However when I try the same thing on W3's try-it editor it makes no diference. I am using notepad as the text editor and firefox as the browser.Any insights?Tomtallis
×
×
  • Create New...