Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ In-Line Font-Family Help

Posted by: Stoneface Dec 25 2011, 04:01 PM

Okay, I've just gone through and done a rough draft for the literature on a page of the site, but I want a signature at the bottom that will be in some sort of fancy font. I'm trying to do an in-line font-family modification, but it's just not working for me. I've tried doing

CODE
<p style="font-family: 'vladimir script';">...</p>
but nothing is happening. The signature comes up, but it's in the same text as the rest of the text.

CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Stoneface Kennels</title>
<style type="text/css">
body { background-color: white; color: black; font-family: "vladimir script"; font-style: italics; }
h5 {color: black; font-family: "baskerville old face"; font-style: italics; }
p { font-size: 1em; text-align: left; color: #000000; font-family: "times new roman"; font-style: italics; line-height: 150%; text-align: justify; }
.nav { font-size: 1.3em; font-family: "papyrus"; text-align: center; }
tr {background-color: #FFFFFF;}
a { text-decoration: underline; color: #000000; }
#footer { font-family: "Baskerville Old Face"; font-style: italics; }
table
{margin-left: auto; margin-right: auto;}

</style>

</head>




<body>
<center>
<table width="75%">

<tr><td colspan="4">
<img src="heading.jpg" align="center" height="119" width="100%" alt="Lone Tree Shorthairs"/>
</td></tr><tr>
<td width="25%">
<i><p class="nav"><a href="what.html">what we do</a></i></td><td width="25%">
<i><p class="nav"><a href="pricing.html">pricing</a> </i></td><td width="25%">
<i><p class="nav"><a href="behaviorist.html">about the behaviorist</a></i></td><td width="25%">
<i><p class="nav"><a href="contact.html">contact us</a></i></td>
</tr>
</tr>

<tr><td colspan="4" style="padding: 1.7em; font-size: 1em;"><p><i>
<img src="cinna_1.jpg" align="left" height="213" width="400" alt="Lone Tree Shorthairs"/>
</br>
Dog Behavior Specialists (DBS) do not focus on tradition "dog training" which includes teaching your dog to sit, stay and the like. But, DBS often times incorporates

training into programs designed for the unieque needs of clients' dogs. DBS takes a moe natural approach to aiding your dog's issues and helping you to strengthen and

deepen your relationship with your dog.
</br></br>
To understand the premise on which DBS operates, it's important to understand that difference species have different way of communicating. A species that communicates

with cherps and body language, such as birds, wouldn't understand or be able to efficiently communicate with animals that have a unique "language" and communicates

primarily with smells and body language. Likewise, a dog would not understand the unique "language" of another species who speaks primarily with visually and verball,

such as humans.
</br></br>
Because humans and dogs have two different "lanaguages", to expect a dog to understand the unique language of humans would be like expecting a Spanish speaker to

automatically understand what an English speaker is saying. With dogs communicating with their owners in "dog language" and owners communicating with their dogs in

"human language", is it any wonder there are so many strained relationships between dogs and their owners! Dog owners cannot expect their dogs to become fluent in the

way humans communicate, but humans can learn to efficiently communicate with their dog, using their dog's language.
</br></br>
Enter DBS. Be fluent in the way both humans and dogs communicate, we can act as a "translator" and teach you how to interact with your dog on his terms and in a way

that he will understand. If your dog has too much energy, is food aggressive, is obsessive or just flat doesn't listen to you, we can help! Give us a call and let us

tell you about what we can do for you.
</br></br></br>
Thanks,</b></br>
<p style="font-family: 'vladimir script';"> Rowdy Harris</p>
</tr></td>
</table>

<pid="footer"><h5>Web Design by Rowdy Harris, Rowdy.Harris@yahoo.com.</br>

Copyright © 2011, Stoneface Kennels</h5>

</center>

</body>

</html>

Posted by: Christian J Dec 25 2011, 04:36 PM

QUOTE(Stoneface @ Dec 25 2011, 10:01 PM) *

Okay, I've just gone through and done a rough draft for the literature on a page of the site, but I want a signature at the bottom that will be in some sort of fancy font. I'm trying to do an in-line font-family modification, but it's just not working for me. I've tried doing
CODE
<p style="font-family: 'vladimir script';">...</p>
but nothing is happening. The signature comes up, but it's in the same text as the rest of the text.

That part seems correct. Is the font installed on your computer?

The rest of the code sample contains some syntax errors (check with the Validator), but I can't say if they have anything to do with this.

Posted by: Stoneface Dec 25 2011, 04:48 PM

I've checked the validator and they are all independent errors. Nothing would have, as far as I can tell, any effect on this. What do you mean is the font downloaded on my computer? I have it in Word, but that's it as far as I know. I tried several different fonts.

Posted by: pandy Dec 25 2011, 05:03 PM

What text is supposed to use Vladimir Script except the signature? AFAICS all other text is affected by other font-family declarations that override the one for BODY.

The signature where you've used inline style seems to work for me. I get some kind of script font anyway. Didn't know I had this Vladimir font.

Posted by: Christian J Dec 25 2011, 05:05 PM

QUOTE(Stoneface @ Dec 25 2011, 10:48 PM) *

What do you mean is the font downloaded on my computer? I have it in Word, but that's it as far as I know. I tried several different fonts.

It should be present among the system fonts (in Windows, check in Control Panel > Fonts). Not sure how MS Word relates to that. Have you tried some font more likely to be in Windows, like Georgia?

Posted by: pandy Dec 25 2011, 05:14 PM

It used to be that programs that come with fonts dump them in the font folder, Word for sure. But times they are achanging and little do I know of Word versions later than 2000.

Posted by: Stoneface Dec 25 2011, 05:22 PM

Yeah, I checked out my fonts and vladimir isn't on there. My selection is actually really narrow. Are there any cursive-like fonts that are common on computers? I don't want to pick a font that doesn't show up for most people. I don't have any cursive fonts on my computer.

Posted by: Darin McGrew Dec 25 2011, 05:45 PM

Here's a list that may help:
http://www.apaddedcell.com/web-fonts

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)