473,386 Members | 1,803 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Mind Reading Web Site!

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
7 2223
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
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
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
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
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
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
I'm always amused by this trick. The orange hurts my eyes, but the
trick itself is gold.
Jul 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Arthur T. Murray | last post by:
Now, suppose that you wanted to write an AI in Python that would implement your mind-model and allow it to grow, mutate, develop. Here is one possible scenario. It would not be necessary to do...
3
by: Luqman | last post by:
How can I retrieve text from html file and write to textbox. Best Regards, Luqman
6
by: Piz | last post by:
Hi all.... That's my question. I'm developing a web site in asp.net 2. This website will run in the intranet of my customers. Is there any way to block the reading of my aspx pages? In other words...
2
by: Joe | last post by:
Anyone can suggest the best method of reading XML and adding data to ListView? Here is the xml data structure:: <xml> <site> <url>http://www.yahoo.com</url> <lastupdate></lastupdate>...
3
by: Maxim Vexler | last post by:
Hello I'm looking for reading materials to educate myself on the security measures that should be taken to build a secure web site. What I'm referring to is web sites like the following : 1....
1
by: Allerdyce.John | last post by:
I need some help in reading error message: which line has problem? line 233? or line 37? Thank you. $ ./read2.py log.xml Traceback (most recent call last): File "./read2.py", line 233, in ?...
1
by: tommak | last post by:
It's a dream of human beings to build machines that can think and behave like human beings. The most important part of of such a machine is an artificial mind that can emulate the cognitive...
1
by: tommak | last post by:
It's a dream of human beings to build machines that can think and behave like human beings. The most important part of of such a machine is an artificial mind that can emulate the cognitive...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.