Help - Search - Members - Calendar
Full Version: I am dis-jointed
HTMLHelp Forums > Web Authoring > General Web Design
renew
Hello
I am trying to get this code to do the color change of 'test2' and the screenshot of 'test' at the same time. I also need the font to have a color (not blue), here is the code I am tying to merge

<p><font face="Arial"><a class="screenshot"
title="learn everything you need to know here" style="FONT-FAMILY: "
href="dasda" ##E41B17;font-weight: 13px;color: 11px;line-height:
Arial?;font-size:>test
<p><a onmouseover="this.style.color='#87F717'"
onmouseout="this.style.color='#E41B17'" href="go to the source">test2</a>

here the site test page online
netmetering.ca/testfont

If anyone can help I would greatly appreciate it

Rene

pandy
Well...
http://www.htmlhelp.com/cgi-bin/validate.c...s&input=yes

You have '##E41B17' all on its own there. It must be a value of *something* and there should only be one hash sign. 'font-weight: 13px;color: 11px;line-height: Arial?;font-size:' seem to be some hacked up properties and values belonging to a style attribute that isn't there. Maybe the hex value belongs there too.

How do you mean you are going to do a screenshot? Don't follow.
renew
QUOTE(pandy @ Oct 14 2009, 12:51 PM) *

Well...
http://www.htmlhelp.com/cgi-bin/validate.c...s&input=yes

You have '##E41B17' all on it's own there. It must be a value of *something* and there should only be one hash sign. 'font-weight: 13px;color: 11px;line-height: Arial?;font-size:' seem to be some hacked up properties and values belonging to a style attribute that isn't there. Maybe the hex value belongs there too.

How do you mean you are going to do a screenshot? Don't follow.


I don't follow myself, all I know is that code makes the (netmetering.ca/testfont) do what it's suppose to. The screenshot is the thing that floats over the text, like on the testfont page, probably called something else, started html yesterday, I know nothing, please help, can you combine the characteristics of the two different fonts into one, and give it an initial color?
pandy
I don't see anything floating over the text. Are you talking about the page you posted the URL to?
renew
QUOTE(pandy @ Oct 14 2009, 05:48 PM) *

I don't see anything floating over the the text. Are you talking about the page you posted the URL to?


Go to the page, netmetering.ca/testfont, if you hold your cursor over the word 'test' a little box appears, I want that and the color changes of test2, plus an initial color, can you write the code?
pandy
QUOTE(renew @ Oct 15 2009, 12:10 AM) *

Go to the page, netmetering.ca/testfont, if you hold your cursor over the word 'test' a little box appears,


Nope. Tried two browsers. And there is no trace of an image in the source code.


QUOTE
I want that and the color changes of test2, plus an initial color, can you write the code?


I probably could, but I still don't understand what you want.
renew
QUOTE(pandy @ Oct 14 2009, 07:06 PM) *

QUOTE(renew @ Oct 15 2009, 12:10 AM) *

Go to the page, netmetering.ca/testfont, if you hold your cursor over the word 'test' a little box appears,


Nope. Tried two browsers. And there is no trace of an image in the source code.


QUOTE
I want that and the color changes of test2, plus an initial color, can you write the code?


I probably could, but I still don't understand what you want.


cool, I am trying to make a font that has the characteristics of both, test and test2, all in one font, plus give it an initial color, thanks
pandy
Hey, I'm sorry, but I simply don't get what you mean. sad.gif
renew
[Two threads merged / Christian J]

Hello HTML Geniuses

I was wondering if you could please write the code for a font that changes color on the mouseover and mouseoff, and also has a floating box over it. I have an example netmetering.ca/testfont, on the left side of the screen the word 'test' has the floating box and the word 'test2' has the color changes, I am trying to get them together in one font.

Thanks alot, I hope to hear from you


HTML Dummy
Christian J
QUOTE(renew @ Oct 16 2009, 04:57 AM) *

a font that changes color on the mouseover and mouseoff

As an alternative to javascript you can use the CSS :hover pseudo-class, as shown here: http://htmlhelp.com/faq/html/all.html#link-hover --however this only works on links in older browsers. Newer browsers can use it on most elements.

QUOTE
and also has a floating box over it.

The TITLE attribute can be used for that.

QUOTE
I have an example netmetering.ca/testfont

The HTML on that page contains many errors: http://www.htmlhelp.com/cgi-bin/validate.c...ing.ca/testfont which probably explains why it doesn't work in some browsers. Otherwise there should be no problem combining the two things.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.