Guest Book " Guestlog" question (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


Peppergal -> Guest Book " Guestlog" question (11/22/2002 13:54:05)

I just finished revamping my site somewhat, making what I think are necessary changes. One problem persists, though: I can' t get rid of the Times font for my guestbook entries. How do I do that? Here is the HTML that is on my Guestlog (I removed the < and > brackets so it would show up here)

<html><head><meta http-equiv=" Content-Type" content=" text/html; charset=windows-1252" ><style type=" text/css" >body {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 2;}
</style>
<title>Results from Form 1 of Page guestbook.htm</title></head><body><!--webbot BOT=" FormInsertHere" --></body></html>

I want the text to be Verdana size 2. How can I set it to do that? I tried right clicking " Form Results" and then using Style to set the font size and face, but it still reverts to Times once it' s posted. The other entries were old ones which I copied from the guestbook before changing it and pasting it below the " Form Results inserted Here" spot on my guestbook page in FP.

Here is the link to the guestbook in case you need it.

http://www.design-a-website.com/guestbook.htm

And the guestlog:

http://www.design-a-website.com/guestlog.htm

Thanks,
Pepper




bobby -> RE: Guest Book " Guestlog" question (11/22/2002 14:34:06)

Add the code in Red:

<title>Results from Form 1 of Page guestbook.htm</title></head><body><p style=" font-family: Verdana; font-size: 2" ><!--webbot BOT=" FormInsertHere" --></p></body></html>

See if that does it...

You can also declare that style in a style sheet, and just use <p class=" guest" > instead of the above... that should do it too...


<style type=" text/css" >body {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 2;} p.guest {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 2;}</style>
Hope that helps!





Peppergal -> RE: Guest Book " Guestlog" question (11/22/2002 15:07:26)

Hmm...I tried that and now nothing comes to the guestbook page at all....me oh my...LOL the trials and tribulations....




bobby -> RE: Guest Book " Guestlog" question (11/22/2002 15:16:46)

Hmmm.... I had a guestbook on an old site. I used <p> tags in the same places and a linked CSS and it worked great for me..?

Maybe I' m remembering it all wrong..?

Anyone else?




Peppergal -> RE: Guest Book " Guestlog" question (11/22/2002 15:29:25)

Okay, I somehow got the <!--webbot> thingee fragmented; I got it working again, BUT it' s STILL coming up Times. Sheesh! What did I screw up? I' m getting mad. [:@]

<html><head><meta http-equiv=" Content-Type" content=" text/html; charset=windows-1252" ><style type=" text/css" >body, p {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 2;}
</style>
<title>Results from Form 1 of Page guestbook.htm</title></head><body>
<p style=" font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 2" >
<!--webbot BOT=" FormInsertHere" -->
</font></p></body></html>

At one point, it posted incredibly TINY TINY TINY TINY red print, that I' d need a microscope to decipher. I' ll stick with the times for now, but in my opinion, it looks really bad being mixed with the Verdana of the rest of the site. (And yes, I' m typing VERDANA, not VERANDA, LOL)




bobby -> RE: Guest Book " Guestlog" question (11/22/2002 15:43:57)

You might try getting rid of the </font> tag... and maybe not specify a size...

The browser will set it to your default. That might help, tho I' m not sure now... my other ideas seemed good at the time... [:j]

~:0)




Peppergal -> RE: Guest Book " Guestlog" question (11/22/2002 16:26:38)

Thanks, Bobby, for all your efforts. I still can' t get it to do anything but Times. WHY WHY WHY? There MUST be a way... I keep reposting the last entry; the original person will come back sometime and say " Hey, I didn' t post that THEN" LOL




bobby -> RE: Guest Book " Guestlog" question (11/22/2002 17:14:45)

Sorry I couldn' t be of more help... it' s been a long time since I' ve tried to use the guestbook in FP...





Peppergal -> RE: Guest Book " Guestlog" question (11/22/2002 22:44:10)

That' s okay Bobby, I appreciate you taking the time. Actually, it shows up as Verdana in IE, but not
Netscape 7. Since I now use Netscape more than IE I want it to look right in MY browser, LOL




Kitka -> RE: Guest Book " Guestlog" question (11/23/2002 1:52:19)

As the guest book webbots are enclosed within a <div> tag, try this inside your <style> tags in the <head>...

body, div, p, td, dt, dd, li { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 2 }

[edit]Just added body to this so you only need one declaration[/edit]

It covers almost all options!

Good luck.




Peppergal -> RE: Guest Book " Guestlog" question (11/23/2002 10:13:29)

Nope...no dice. New entry comes up as Times New Roman in Netscape. All other areas where Verdana is specified shows up as Verdana in Netscape; all except this one thing. It looks OK in IE. Sigh. Thanks anyway!




Kitka -> RE: Guest Book " Guestlog" question (11/23/2002 12:52:01)

quote:

It looks OK in IE. Sigh.


Hi Pepper,

That is probably because IE is far more forgiving of tiny coding errors than Netscape.

I cut and pasted the code of your guestlog into Frontpage and then viewed it Netscape 6.2. Which version of Netscape are you using? Your page had no Times New Roman visible and looked okay to me with a couple of qualifications:

The text was so tiny I couldn' t read it - that problem was easily fixed by changing the font-size in the <style> tags from 2 to 10pt.
I also noticed a missing quotation mark in this code:
<p style=" font-family: Verdana, Arial, Helvetica, sans-serif;" >

See how you go with these changes - good luck!




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875