CSS: embedded vs. linked -- body rule works when inline, but not when in sep. file

http://burstpouch.com/company.php

i was transferring tags to an external/linked CSS defns file.  When defined inline inside the php (html) file, the Verdana font displayed perfectly.
i cut and pasted to the external file, and it does not work.

body,td,th {
      font-family: Verdana, Geneva, sans-serif;


what am i doing wrong??  

thanks!
willsherwoodAsked:
Who is Participating?
 
Kim WalkerWeb Programmer/TechnicianCommented:
You don't need the style tag in an external CSS file. Delete the following line and any closing tag at the end.

<style type="text/css">

Open in new window

0
 
athomsfereCommented:
Do you have a closing } in the CSS?
0
 
willsherwoodAuthor Commented:
not sure i understand the question: here's copied from the file...
/* CSS Document */
<style type="text/css">
body,td,th {
      font-family: Verdana, Geneva, sans-serif;
      font-size: 12px;
}
body {
      margin-left: 0px;
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 0px;
      background-color: #666;
}
0
 
willsherwoodAuthor Commented:
YAY that was it.  thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.