FONT and COLOR in Html is messed up when i use PHP.

General discussions related to php

Moderators: macek, egami, gesf

coreyboi
New php-forum User
New php-forum User
Posts: 3
Joined: Wed Jan 08, 2003 4:21 am
Location: Munich
Contact:

FONT and COLOR in Html is messed up when i use PHP.

Postby coreyboi » Wed Jan 08, 2003 4:25 am

Can anyone see where i am messing up???

I am merging a PHP guestbook with an HTML file, and for some reason, after I added the php code, the Font and COLOR of my html part is all messed up. It went black. Can anyone help me?

file is
http://www.etschberg.com/guestbook.php

thanks...

User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Postby Joan Garnet » Wed Jan 08, 2003 5:18 am

It looks good...
Where is the problem??
Post some code maybe.
bye!

coreyboi
New php-forum User
New php-forum User
Posts: 3
Joined: Wed Jan 08, 2003 4:21 am
Location: Munich
Contact:

Postby coreyboi » Wed Jan 08, 2003 6:07 am

Joan Garnet wrote:It looks good...
Where is the problem??
Post some code maybe.
bye!


Before the PHP Code was added, the Menu bar on the left was BLUE and Comics Sans Font, after I added the PHP Code, the Color of the font went to black and the font went to Default ... and no matter what i do to define the font, i cant change the color of it. ?????

try it.
to see the code, just look at the Code in the Explorer.

.. HELP!
:roll: please

Hurkle
New php-forum User
New php-forum User
Posts: 36
Joined: Tue Jan 07, 2003 8:45 am
Location: Minnesota, USA

Postby Hurkle » Wed Jan 08, 2003 7:19 am

I'm not sure exactly why your text on the left went black, but here's a brute force fix. Here's the source for a link on the left from viewing your page..

<FONT COLOR="483D8B" vlink="#8B0000" SIZE=2 FACE="Comic Sans MS">

<A HREF="kalendarE.html"><BOLD><STRONG>CALENDAR</STRONG></BOLD></A>

and here's a change that makes the colors appear correctly..



<A HREF="kalendarE.html"><BOLD><STRONG><FONT COLOR="483D8B" vlink="#8B0000" SIZE=2 FACE="Comic Sans MS">CALENDAR</FONT></STRONG></BOLD></A>

I tried this in frontpage, and it works fine. I always try to have the font tag, if I use it, be wrapped around the text, with all other tags outside of the font tag.

Ideally, you should be able to set the colors for those links with css stuff, rather than tagging each link, but that's not my strong suit..

best of luck.

coreyboi
New php-forum User
New php-forum User
Posts: 3
Joined: Wed Jan 08, 2003 4:21 am
Location: Munich
Contact:

Postby coreyboi » Thu Jan 09, 2003 9:34 am

Hurkle wrote: but here's a brute force fix. I always try to have the font tag, if I use it, be wrapped around the text, with all other tags outside of the font tag.



THANKS! :lol: BUT, can i ALSO make a brute force fix for the HOVER command outside the css?


Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 3 guests

cron