View Single Post
  #2   Spotlight this post!  
Unread 15-02-2011, 20:51
Dan Zollman's Avatar
Dan Zollman Dan Zollman is offline
7
FRC #1712 (Dawgma)
Team Role: Alumni
 
Join Date: May 2005
Rookie Year: 2005
Location: Ardmore, PA
Posts: 392
Dan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond reputeDan Zollman has a reputation beyond repute
Re: Style code trouble!

Could you clarify which block of code is working and which isn't?

Try comparing the selectors in each blog. For example, the first one has styles for

Code:
body.c8
which means they will apply to the body tag only if you have

Code:
<body class="c8">
in the HTML. In the second block, the selector is just "body", meaning that it will apply
to the body tag regardless of its classes.

If you compare the selectors as well as the classes used in the HTML itself, that might explain the results you're getting.
__________________
Product design student at Rensselaer
Web designer/consultant
FIRST alum, Dawgma 1712

dan.zollman - at - gmail.com