willsherwood
asked on
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!
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!
Do you have a closing } in the CSS?
ASKER
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;
}
/* 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;
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
YAY that was it. thanks!