By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,253 Members | 1,689 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,253 IT Pros & Developers. It's quick & easy.

Mind Reading Web Site!

P: n/a
Please look at:-

http://theorangesite.mysite.freeserv...us/002/001.htm

and tell me how to change the purple text that says "Try Next" to black and
font face Comic sans MS and make the site still work! without any runtime
errors.
Jul 20 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
In article <bk**********@newsg2.svr.pol.co.uk>, REMOVETHIS101001
@talk21.com says...
Please look at:-

http://theorangesite.mysite.freeserv...us/002/001.htm

and tell me how to change the purple text that says "Try Next" to black and
font face Comic sans MS and make the site still work! without any runtime
errors.

Why would you want to use JavaScript for that? CSS will do it quite
easily.

It's a dumb trick, BTW.

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
Jul 20 '05 #2

P: n/a
OK, I'm a novice and don't know what CSS is
tell me how to do it!

"Hywel Jenkins" <hy**********@hotmail.com> wrote in message
news:MP************************@news.individual.ne t...
In article <bk**********@newsg2.svr.pol.co.uk>, REMOVETHIS101001
@talk21.com says...
Please look at:-

http://theorangesite.mysite.freeserv...us/002/001.htm

and tell me how to change the purple text that says "Try Next" to black and font face Comic sans MS and make the site still work! without any runtime errors.

Why would you want to use JavaScript for that? CSS will do it quite
easily.

It's a dumb trick, BTW.

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php

Jul 20 '05 #3

P: n/a
Lee
Hywel Jenkins said:

In article <bk**********@newsg2.svr.pol.co.uk>, REMOVETHIS101001
@talk21.com says...
Please look at:-

http://theorangesite.mysite.freeserv...us/002/001.htm

and tell me how to change the purple text that says "Try Next" to black and
font face Comic sans MS and make the site still work! without any runtime
errors.

Why would you want to use JavaScript for that? CSS will do it quite
easily.

It's a dumb trick, BTW.


It's also coded badly, and won't work in all browsers even without changes.

Jul 20 '05 #4

P: n/a
In article <bk*********@newsg2.svr.pol.co.uk>, REMOVETHIS101001
@talk21.com says...
"Hywel Jenkins" <hy**********@hotmail.com> wrote in message
news:MP************************@news.individual.ne t...
In article <bk**********@newsg2.svr.pol.co.uk>, REMOVETHIS101001
@talk21.com says...
Please look at:-

http://theorangesite.mysite.freeserv...us/002/001.htm

and tell me how to change the purple text that says "Try Next" to black and font face Comic sans MS and make the site still work! without any runtime errors.

Why would you want to use JavaScript for that? CSS will do it quite
easily.

OK, I'm a novice and don't know what CSS is
tell me how to do it!


<style type="text/css">
<!--
A
{
color: #000000;
font-family: Comic Sans;
}
</style>

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
Jul 20 '05 #5

P: n/a
Hywel Jenkins <hy**********@hotmail.com> writes:
OK, I'm a novice and don't know what CSS is
tell me how to do it!

CSS have rules, just as HMTL and Javascript. While browsers might
understand whant you mean if you don't follow them, some probably
won't. I recommend finding a tutorial on the net and learn to
understand CSS.
<style type="text/css">
Btw, style tags can only be placed in the head element.
<!--
You don't need HTML comments in style sheets, just as you don't need
it Javascript. While implemented later in browsers than script
support, both the script and style tags were introduced in HTML 3.2
which became a recommendation in January 1997. All serious browsers
created after that time will understand the style tag and know not
to render the contents. These browsers include Netscape 4 and IE 3.

If you insist on adding the illegal, but browser accepted, HTML
comments to hide the script from old browsers, you should also end the
HTML comment again with a -->.
A
{
color: #000000;
font-family: Comic Sans;
Values for font-family that contain spaces must be quoted.
font-family: "Comic Sans";

For browsers without access to the font "Comic Sans" (by which you
probably mean the one called "Comic Sans MS"), you can add an
alternative font. I would use the generic name "sans-serif" for
the browser's default sans serif font.
font-family: "Comic Sans", sans-serif;
}
</style>


/L 'and I so hate Comic Sans MS, but that is a different kind of problem!'
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #6

P: n/a
In article <wu**********@hotpop.com>, lr*@hotpop.com says...
Hywel Jenkins <hy**********@hotmail.com> writes:
OK, I'm a novice and don't know what CSS is
tell me how to do it!
CSS have rules, just as HMTL and Javascript. While browsers might
understand whant you mean if you don't follow them, some probably
won't. I recommend finding a tutorial on the net and learn to
understand CSS.
<style type="text/css">
Btw, style tags can only be placed in the head element.
<!--


You don't need HTML comments in style sheets, just as you don't need
it Javascript.


Habit.

If you insist on adding the illegal, but browser accepted, HTML
comments to hide the script from old browsers, you should also end the
HTML comment again with a -->.
Mistake.
font-family: Comic Sans;


And another.

/L 'and I so hate Comic Sans MS, but that is a different kind of problem!'


Agreed. I know a business that uses it for body text in formal letters.

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
Jul 20 '05 #7

P: n/a
I'm always amused by this trick. The orange hurts my eyes, but the
trick itself is gold.
Jul 20 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.