truelinor
12-02-2005, 01:20 AM
Hi all! I need help with my code here. I can't seem to get the font to turn white or change style. :( I put this inbetween the last title tag and the last head tag:
<basefont face="comic sans ms, arial, sans serif" color="#ffffff" size="3">
So does anyone know why I can't see white letters? And it's still Times New Roman. :(
Reyluvr01
12-02-2005, 01:51 AM
hey....im not absoutley posititive, but whats a 'basefont' ?? is that like your normal font or something? try just 1 font...like arial, or w/e u wanted....maybe it will work, if not, sorry i dont really know maybe someone else can help you
J-man91
12-02-2005, 02:06 AM
Instead of using the basefont tag, it's much better to use CSS. Your code would look something like this:
<style type="text/css">
body {
font-family: "comic sans ms", arial, "sans serif";
color: #ffffff;
font-size: medium;
</style>
you'd have to expiriment with the font-size to get it to the size you want.
truelinor
12-02-2005, 02:11 AM
Sorry, I don't know anything about CSS. I'm taking a class and we haven't got that far yet, so I need to do it with what we have learned, and it's not a whole lot, but Reyluvr01, I do know that a basefont tag is so you don't have to use the font tag so much. You're supposed to be able to use it and it take care of all the font for the page. Also, I've been taught it's a good thing to specify different fonts that you would like to be displayed in case the viewer doesn't have the one you first said, so that's the reason for the list of fonts, and I looked in my textbook and it's done right.
J-man, do you have any other suggestions?
Reyluvr01
12-02-2005, 02:12 AM
there yah go! haha thats what i was thinking... =)
your original post coding looks ok.
can you provide a link to your page online as something else might be affecting the base tag.
harmor
12-02-2005, 04:19 AM
http://www.w3schools.com/tags/tag_basefont.asp
It says that the basefont tag is deprecated.
truelinor
12-02-2005, 04:20 AM
I would love to be able to, but I don't have a site...well, not one of mine own, that I made. I'm just making this for a class I have to go to tomorrow at eight o'clock.
Um, I feel really embarassed. :o I openned it up in up in IE and it worked! LOL I had been viewing it Firefox. I wish things would be consistant over the different browsers.