PDA

View Full Version : Control font in a rollover text area


drowland
09-18-2010, 03:28 PM
I have a text area, controlled by rollover hyperlinks. I need to know if there is anyway to change the font. I've tried everything I can think of with no success. and searched for about a week on the internet. I know I should have come here first, but you know what they say, there's a reason why, when you find something, it's always in the last place you look.:oops:
So, does anyone know how to change the font to arial for instance, in a text area? The site is not live yet, so I can't give you an address, but if you need it, I can post the html language here.

Corrosive
09-18-2010, 03:36 PM
Do you mean a text area as in a form?

drowland
09-18-2010, 07:35 PM
Yes, there is a form on the page, that has default messaging, depending on the hyperlink. selected. Here is the html from the page.
----------------------------------------------------------------
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
<p align="center">
<div align="center"><a
!----- first link
href="index.htm"
onMouseOver="showtip('The CAREER PATH INC. HOME PAGE offers you our Mission Statement. You can read our history of being home owned and operated for over 30 years right here in Midland. and see just a couple of our Customer Testimonials.')"
onMouseOut="showtip('We offer direct hire, temp to hire and short & long term to temporary assignments.')">
<script>
function showtip(tip){
document.tool.tip.value=tip
}</script>
<b><font face="Arial, Helvetica, sans-serif">CAREER PATH HOME PAGE</font></b></a><b>
..... <font face="Arial, Helvetica, sans-serif" size="3"><a
!---- second link
href="About_us.htm"
onMouseOver="showtip('When you read the column titled ABOUT US, you will read about our totally professional staff and better understand how we can serve you. You will also find a list of some of the special events coming up in the area.')"
onMouseOut="showtip('Whether your needs are permanent or temporary, they are always our permanent concern.')">ABOUT US</a> ..... <a
!----- third link
href="positions.htm"
onMouseOver="showtip('The POSITIONS AVAILABLE page is more than just a listing of jobs. It is certainly TO YOUR ADVANTAGE to visit here. You find interviewing tips, ways to make good first impressions, and of course a brief description of current positions. Call for detailed information.')"
onMouseOut="showtip('If you have a prepared resume, be sure to EMAIL IT TO US.')">POSITIONS
AVAILABLE</a> ..... <a
!----- fourth link
href="contact_us.htm"
onMouseOver="showtip('A visit to this page will give you an interactive map to our office, along with our address, phone numbers, fax number and all the staff email addresses.')"
onMouseOut="showtip('We will be looking forward to serving you in a fully professional manner from your first interview, through the placement process, and throughout your career!')">HOW
TO CONTACT US</a></font> </b> </div>
<form name="tool">
<div >
<center>
<p>
<textarea align="center" name="tip" cols="110" rows="3"></textarea>
</p>
</center>
</div>
</form>
</td>
</tr>
</table>
<div align="center">
<p><img src="images/pookline[1].jpg" width="100%" height="6"></p>
</div>
----------------------------------------------------------------
it makes a text window on the page that is in regular text style, and I want to change the font to arial.

drowland
09-19-2010, 03:31 AM
I hate to double enter a note, but the site in question is online now, so you can see what I am talking about. visit www.careerpathinc.com (http://www.careerpathinc.com) and you can see the textarea. there are four pages on the small site, and each one has the same area. I want to change the font from the current font.

DWcourse
09-19-2010, 05:17 AM
The only way you're going to change that font is by using CSS to create a style rule for the textarea.

Corrosive
09-19-2010, 08:42 AM
CSS is;

textarea {font-family: Arial, Helvetica, sans-serif;}

But you don't seem to have used a style sheet at all.

Or add this to your textarea tag;

style="font-family:Arial, Helvetica, sans-serif;"

d a v e
09-19-2010, 09:19 AM
you could use something like this
http://www.dustindiaz.com/sweet-titles-finalized/

but to be honest it's all bit overkill: the link titles are self-explanatory. or you could simply use the title attribute on each link:

<<a href="index.htm" title="The CAREER PATH INC. HOME PAGE offers you our Mission Statement. You can read our history of being home owned and operated for over 30 years right here in Midland. and see just a couple of our Customer Testimonials.">
<b><font face="Arial, Helvetica, sans-serif">CAREER PATH HOME PAGE</font></b></a>

also your logo is resized in html when it should be done in an image editor ;)
(see attached)

if i might suggest also that the site doesn't look really professional enough for its aim - if i was a potential employer i wouldn't feel confident in the services you offer because of the image of your site. i hope that you don't don't find that too blunt but i feel it's best to be honest.
i could also constructively suggest some improvements if you are interested.

it seems you offer a useful service but i feel your message is hampered in its presentation ;)
if you have a budget i would consider hiring someone, or if you're non-profit i may be able to help :)

gentleone
09-19-2010, 12:57 PM
And your title is quite messy.
<title>Home Page of Career Path Inc.<meta name="keywords" content="Career Path Incorporated, Career Path, Midland, Odessa, TX, Texas, Full Time, Part Time, Temporary, temps, Specialized staffing, staffing firm, most admired companies, staffing solution, recruitment needs, staffing needs, hiring needs, job opportunity, search jobs, job search, Accountemps, salary guide, hiring advice, workforce management advice, Midland jobs, midland employment, odessa jobs, odessa employment, permian basin jobs, permian basin employment, executive positions, "> </title>

d a v e
09-19-2010, 01:07 PM
maybe something like this
http://gekkoweb.com/design/career-path-layout1.jpg

drowland
09-19-2010, 03:04 PM
PROBLEM SOLVED:lol:
First let me say that the second line of info given by Corrosive solved my problem. and many thanks for that.
For the rest of the comments and suggestions, I am also appreciative.
I designed the site under the direct supervision of what my client wanted. I agree it is not very flashy, and I agree that it is not the most professional looking. We even spoke about that, but it is what she wanted, so that is what I gave her.
Regarding using CSS design. I have used HTML for a long time, and can build a site quickly. I tried for months to learn CSS and only got frustrated. I do this on the side. I am on social security and only have a few clients as supplemtary income so I don't have the funds to pay for a full-blown course. I'm sure it would be a wonderful thing, I just can't afford it.
The version of Dreamweaver I use is v4 educational, which was given to me by our local county library. Maybe one of these days I can even afford to purchase an updated version of that.

gentleone
09-19-2010, 03:50 PM
I designed the site under the direct supervision of what my client wanted. I agree it is not very flashy, and I agree that it is not the most professional looking. We even spoke about that, but it is what she wanted, so that is what I gave her.

It's one of the web designer tasks to guide the client's ideas/requirements in the right direction. If this was her idea of how it had to look and function then a web designer should make her aware why it's a bad idea and show her the better options. A web designer (should) have the skills to develop a professional website and a client certainly has no idea what's best for her/his website. If they would have, then they should build it them selves and not hiring someone to do it for them. If they hire a web designer then they should trust him for what he's doing, because he's the professional in this field and not them.

d a v e
09-19-2010, 04:46 PM
I bet most people on most forums haven't attended a course, at least for html and css.

edit: guess my layout was a waste of time then. oh well you never asked for it in the first place :)

there are a lot of free resources on the net if you have time and energy.


e.g.
http://www.htmldog.com
http://www.opera.com/company/education/curriculum/
http://www.w3schools.com/
http://www.cssbasics.com
http://www.sitepoint.com/article/html-css-beginners-guide/
http://net.tutsplus.com/tutorials/html-css-techniques/design-and-code-your-first -website-in-easy-to-understand-steps/

drowland
09-19-2010, 05:47 PM
Dave, the effort you apply to help a stranger with a problem is never a waste of time. You have a sense of pride in what you do, and a happiness received in knowing that you are able to assist. That can never be called a waste of time. I have the same feeling when I assist someone with clinical hypnosis.
I have also saved the addresses you posted and will refer to them. I really want to do better with the website design.
Gentleone: I was in advertising for 35 years, and I agree with you. However, she just inherited the company, and has made some drastic changes in the operations. Everyone on staff knows there is a "whiplash" effect going on, and we are letting the dust settle. I know there will be more changes coming in the future.

gentleone
09-19-2010, 07:28 PM
Gentleone: I was in advertising for 35 years, and I agree with you. However, she just inherited the company, and has made some drastic changes in the operations. Everyone on staff knows there is a "whiplash" effect going on, and we are letting the dust settle. I know there will be more changes coming in the future.

I was going a bit on a rant, because I really don't like these type of clients (the control freaks), but you were 35 years in advertising so you probably also dealt with them before. :)
If I get the feeling in a kick-off meeting that I'm dealing with such a person, then I'm more then happy to leave the job to someone else.

d a v e
09-19-2010, 09:27 PM
Dave, the effort you apply to help a stranger with a problem is never a waste of time. You have a sense of pride in what you do, and a happiness received in knowing that you are able to assist. That can never be called a waste of time. I have the same feeling when I assist someone with clinical hypnosis.
I have also saved the addresses you posted and will refer to them. I really want to do better with the website design.
Gentleone: I was in advertising for 35 years, and I agree with you. However, she just inherited the company, and has made some drastic changes in the operations. Everyone on staff knows there is a "whiplash" effect going on, and we are letting the dust settle. I know there will be more changes coming in the future.

it would be interesting to hear what she thinks to my design ;) although having worked with advertising for second-hand car dealers through newspaper adverts i can only begin to imagine ... :)

Corrosive
09-20-2010, 08:57 AM
it would be interesting to hear what she thinks to my design

I really like it mate. Much cleaner and more professional in it's appearance. Sorry drowland but I shudder when I see background images under text. It just looks poor. But then I guess it's not up to me :wink:

drowland
09-20-2010, 12:41 PM
I guess that's why God made chocolate and vanilla. I like pale background fixed images, to give a bit of a 3d image to the page. On another item. One of the other posters said the title was messy, and highlighted the keywords area. Do you have any comments on that?

Corrosive
09-20-2010, 12:49 PM
I guess that's why God made chocolate and vanilla.

I think you'll find that was Ben & Jerry :wink:

On the title thing you have mixed the title and keywords tags. Try this;

<title>Home Page of Career Path Inc.</title>

<meta name="keywords" content="Career Path Incorporated, Career Path, Midland, Odessa, TX, Texas, Full Time, Part Time, Temporary, temps, Specialized staffing, staffing firm, most admired companies, staffing solution, recruitment needs, staffing needs, hiring needs, job opportunity, search jobs, job search, Accountemps, salary guide, hiring advice, workforce management advice, Midland jobs, midland employment, odessa jobs, odessa employment, permian basin jobs, permian basin employment, executive positions,">

drowland
09-21-2010, 03:10 PM
Oh yeah, well duh.. Oh the Title: Ya know.. sometimes you look at somethings so long you begin to go blind..
on the chocolate/vanilla thing. That's a saying I picked up many years ago, and yes, I get your response a lot too.