Underlining Mystery?

M

MEG

I "inherited" some HTML pages (see sample below) that use style sheets (see
sample below).

When I look at the code in Frontpage's design mode, most of the text is not
underlined (I don't want underlined). A few lines are. For example:
MEDICAL RECORDS (Chart Request)
PATIENT HEALTH INFORMATION

I don't want any text underlined and don't understand why this is.

More interesting (and confusing) is when I preview (either in Frontpage's
preview or the preview in browser function), all text in the division table
is underlined.

I am sure it is something simple, but I lack the knowledge. I appreciate
any assistance.

Here is the sytle sheet:

BODY {border:1px solid #FF99FF; color: #000000; line-height: 100%;
position:absolute;
font-size:10pt; font-family:Arial; background-color:#EBE8DB;
style="text-decoration: none"}
h3 {border:1px solid #EBE8DB; font-family:"Arial Rounded MT Bold";
font-size: 10pt;font-weight:normal; color:#CC9900;
text-align:left; line-height:100%; margin-bottom:-2; margin-top:-2;
style="text-decoration: none" }
h3 a {border:1px solid #EBE8DB; font-family:"Arial Rounded MT Bold";
font-size: 10pt;font-weight:normal; color:#CC9900;
text-align:left; line-height:100%; margin-bottom:10;
style="text-decoration: none" }
h1 { font-family: Arial Rounded MT Bold; font-size: 14pt; color:
#0000FF;
text-align: center; border: 1px solid #EBE8DB; margin-top:
0; margin-bottom: 1; text-indent:0; word-spacing:0;
line-height:100%; style="text-decoration: none"}
h2 { font-family: Arial Rounded MT Bold; font-size: 12pt; color:
#0000FF;
line-height: 100%; font-weight: bold; margin-top: -2;
margin-bottom: -2; style="text-decoration: none" }
h4 a {font-family:"MS San Serif", San Serif; font-size: small;
font-weight:normal ; color:white; style="text-decoration: none" }
p {font-family:"MS San Serif", San Serif; font-size: very small;font-weight:
normal; style="text-decoration: none" }
td {background-color:#EBE8DB;
font-family:"MS San Serif", San Serif;
font-size: very small;font-weight:
normal; color:black;width: 280; style="text-decoration: none"}
li a {border:1px solid #EBE8DB; font-family:"Arial";
font-size: 10pt;font-weight:
normal; color:#000000; text-align:left; margin-top:-2;
margin-bottom:-2; style="text-decoration: none"}
li {border:1px solid #EBE8DB; font-family:"Arial";
font-size: 10pt;font-weight:
normal; color:#000000; text-align:left; margin-top:-2; margin-bottom:-2;
style="text-decoration: none"}

Here is the code:

<Link REL=StyleSheet href="treestyle.css" TYPE="text/css" MEDIA=screen>
<body>
<p><img border="0" src="ECISPLUS.GIF" width="63" height="33"></p>
<H1>Patient Encounter</H1>
<h4><a href="USERAPP:QUIT">Back</a></h4>
<div><table><tr><td>
<li><a href="USERAPP:1|NURSING">NURSING</a></li>
<li><a href="USERAPP:2|PHYSICIAN">PHYSICIAN</a></li>
<li><a
href="USERAPP:37|........................................................">........................................................</a></li>
<li><a href="USERAPP:3|CARDIOVASCULAR LAB">CARDIOVASCULAR LAB</a></li>

<li><a href="USERAPP:15|VIEW CLINICAL REFERENCE">VIEW CLINICAL
REFERENCE</a></li>

<li><a href="USERAPP:173|CARDIAC CATH FLOW SHEET">CARDIAC CATH FLOW
SHEET</a></li>
<li><a href="USERAPP:205|SPECIALIZED CLINICS">SPECIALIZED CLINICS</a></li>
<li><a
href="USERAPP:38|........................................................">........................................................</a></li>
<li><a href="USERAPP:176|MEDICAL RECORDS (Chart Request)">MEDICAL RECORDS
(Chart Request)</a></li>

<li><a href="USERAPP:207|HIPPA Chart Request Log">HIPPA Chart Request
Log</a></li>

<li><a href="USERAPP:177|Diagnosis Code For Request">Diagnosis Code For
Request</a></li>

<li><a href="USERAPP:187|CAD">CAD</a></li>
<li><a href="USERAPP:188|Chest Pain unspecified">Chest Pain
unspecified</a></li>
<li><a href="USERAPP:189|Chest Pain precordial">Chest Pain precordial</a></li>
<li><a href="USERAPP:190|Abnormal EKG">Abnormal EKG</a></li>
<li><a href="USERAPP:191|Heart failure">Heart failure</a></li>
<li><a href="USERAPP:192|Old MI">Old MI</a></li>
<li><a href="USERAPP:193|MI acute unspecified site">MI acute unspecified
site</a></li>
<li><a href="USERAPP:194|Coronary insufficiency">Coronary
insufficiency</a></li>
<li><a href="USERAPP:195|Cardiomyopathy">Cardiomyopathy</a></li>
<li><a href="USERAPP:196|Atrial fibrillation">Atrial fibrillation</a></li>
<li><a href="USERAPP:197|Peripheral vascular disease">Peripheral vascular
disease</a></li>

<li><a href="USERAPP:178|Order: Patient Chart Request">Order: Patient Chart
Request</a></li>
<li><a href="USERAPP:179|Print Chart Outguide">Print Chart Outguide</a></li>

<li><a href="USERAPP:154|(Patient Photograph)">(Patient Photograph)</a></li>
<li><a href="USERAPP:64|(Print Patient Forms)">(Print Patient Forms)</a></li>
<li><a href="USERAPP:175|(Attach Insurance Card)">(Attach Insurance
Card)</a></li>
<li><a href="USERAPP:204|(Attach Diagnostic Test Information)">(Attach
Diagnostic Test Information)</a></li>

<li><a href="USERAPP:218|PATIENT HEALTH INFORMATION (Tracking and Chart
Request)">PATIENT HEALTH INFORMATION (Tracking and Chart Request)</a></li>
<li><a href="USERAPP:198|PATIENT REGISTRATION">PATIENT REGISTRATION</a></li>
<li><a href="USERAPP:28|PATIENT CHECKOUT">PATIENT CHECKOUT</a></li>
<li><a href="USERAPP:84|BILLING">BILLING</a></li>
<li><a
href="USERAPP:39|........................................................">........................................................</a></li>
<li><a href="USERAPP:95|RESEARCH">RESEARCH</a></li>
<li><img border="0" src="chat.gif" width="16" height="16"><a
href="USERAPP:96|CLINICAL NOTES (Create/Review)">CLINICAL NOTES
(Create/Review)</a></li>
<li><a
href="USERAPP:97|........................................................">........................................................</a></li>
<li><a href="USERAPP:54|(Create Sticky Note)">(Create Sticky Note)</a></li>
<li><a href="USERAPP:64|(Print Patient Forms)">(Print Patient Forms)</a></li>
<li><a href="USERAPP:180|(Select Desired Start-up Window)">(Select Desired
Start-up Window)</a></li>
<li><a href="USERAPP:220|(New Graph Tool)">(New Graph Tool)</a></li>
</td></tr></table></div>
 
M

Murray

There are many mistakes/misuses/redundancies in your stylesheet.

Try replacing it with this -

BODY {
border:1px solid #FF99FF;
color: #000000;
line-height: 100%;
font-size:10pt;
font-family:Arial;
background-color:#EBE8DB;
text-decoration: none;
}
/* it's bad form to only specify a single font face */
/* it really makes no sense to position the body tag */
/* in addition, you should not use points as a font metric on the web - use
px, em, en, ex, %, or size names instead */
/* style="..." does not belong in a stylesheet */
/* having declared this in the body tag, it will inherit into other styles,
so you don't really need to keep repeating it */
h3 {
border:1px solid #EBE8DB;
font-family:"Arial Rounded MT Bold";
font-size: 10pt;
font-weight:normal;
color:#CC9900;
text-align:left;
line-height:100%;
margin-bottom:-2px;
margin-top:-2px;
text-decoration: none;
}
/* your margin values (and all non-zero numeric values) need to have units!
*/
/* also, your font choice here is not websafe */
h3 a {
border:1px solid #EBE8DB;
font-family:"Arial Rounded MT Bold";
font-size: 10pt;
font-weight:normal;
color:#CC9900;
text-align:left;
line-height:100%;
margin-bottom:10px;
text-decoration: none;
}
h1 {
font-family: "Arial Rounded MT Bold";
font-size: 14pt;
color: #0000FF;
text-align: center;
border: 1px solid #EBE8DB;
margin-top: 0;
margin-bottom: 1px;
text-indent:0;
word-spacing:0;
line-height:100%;
text-decoration: none;
}
/* all multiple word font names must be wrapped in quotes */
h2 {
font-family: "Arial Rounded MT Bold";
font-size: 12pt; color: #0000FF;
line-height: 100%;
font-weight: bold;
margin-top: -2px;
margin-bottom: -2px;
text-decoration: none;
}
h4 a {
font-family:"MS San Serif", "San Serif";
font-size: small;
font-weight:normal ;
color:white;
text-decoration: none;
}
p {
font-family:"MS San Serif", "San Serif";
font-size: very small;
font-weight: normal;
text-decoration: none;
}
td {
background-color:#EBE8DB;
font-family:"MS San Serif", "San Serif";
font-size: very small;
font-weight: normal;
color:black;
width: 280px;
text-decoration: none;
}
li a {
border:1px solid #EBE8DB;
font-family:"Arial";
font-size: 10pt;
font-weight: normal;
color:#000000;
text-align:left;
margin-top:-2px;
margin-bottom:-2px;
text-decoration: none
}
li {
border:1px solid #EBE8DB;
font-family:"Arial";
font-size: 10pt;
font-weight: normal;
color:#000000;
text-align:left;
margin-top:-2px;
margin-bottom:-2px;
text-decoration: none; }

To get rid of the underlines, all you REALLY need to style are the <a> tags.
 
W

Windsun

RE:font-family:"MS San Serif", "San Serif";


The correct name sans-serif?
No quotes needed. "San Serif" is not a legitimate font class - it is sanS
Sans means "without".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Drop down Navigation menue 1
CSS Problems 9
CSS Trouble 2
CSS question 0
CSS Menu and Frontpage 2003 4
mamt 0
news letter 1
External data from HTML document 2

Top