Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > HTML
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

HTML HTML problems, maybe you are trying to code for MySpace. Get all the HTML coding help here for your website.

Google
Reply
 
LinkBack Thread Tools Display Modes
Old 07-01-2007, 12:21 PM   #1
Andrew H. Carter
 
Andrew H. Carter's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Display Source Code - Color Keywords

On Mon, 23 Jun 2003 01:13:22 +0000 (UTC), Alexander Mac
<alexmac@mail.com> wrote:

>I want to present some source code (C++, Java etc) on my page, so I am
>using <pre><code></code></pre> tags. Is there any way to color the keywords
>all together? For example, make them appear blue (a CSS maybe?).



Not sure which program you use for a text editor, but Editpad Lite
http://www.editpadlite.com can do search & replace and let's say you
want a certain phrase hightlighted with code, then what you could do
is highlight the particular phrase and if it occurs more than once,
click the Find & Replace (CTRL+F) button. The highlighted word/phrase
is now in the search box, then copy that into the replace portion and
then edit the code so that it is highlighted and use the Safety
palette colors:

<font color="#ffcc00"> if apples and oranges are the same as
pears</font>

Then have every instance where it is found replaced with the new
value. You can have it search from the beginning, or just a paragraph
or two, whatever you want.

Sincerely,

Andrew H. Carter
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Advertisements
Old 07-01-2007, 12:21 PM   #2
Andrew H. Carter
 
Andrew H. Carter's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Display Source Code - Color Keywords

On Mon, 23 Jun 2003 13:31:23 +1000, "Mark Parnell"
<webmaster@clarkecomputers.com.au> wrote:

>*Please* do not use the deprecated <font> tag. Use CSS. See brucie's
>answer.
>
>BTW: #ffcc00 is not blue ;-)



Ah, therein lies the crux of the matter, not all browsers do CSS and
FFCCOO is golden in color, though a more pleasant one is FFFFCC, sort
of beige, hey it's one of my favorite colors for a background. One
thing I can't stand is red text on a blue background, talk about pain
in the eyes.

Sincerely,

Andrew H. Carter
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 12:21 PM   #3
Mark Parnell
 
Mark Parnell's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Display Source Code - Color Keywords

Andrew H. Carter wrote:
> On Mon, 23 Jun 2003 13:31:23 +1000, "Mark Parnell"
> <webmaster@clarkecomputers.com.au> wrote:
>
>> *Please* do not use the deprecated <font> tag. Use CSS. See
>> brucie's answer.
>>

>
> Ah, therein lies the crux of the matter, not all browsers do CSS


Still catering for NS 2 are we? Even NS 4 copes with basic CSS as required
here.

--

Mark Parnell
http://www.clarkecomputers.com.au


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 12:22 PM   #4
Andrew H. Carter
 
Andrew H. Carter's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Display Source Code - Color Keywords

On Mon, 23 Jun 2003 14:21:50 +1000, "Mark Parnell"
<webmaster@clarkecomputers.com.au> wrote:

>Still catering for NS 2 are we? Even NS 4 copes with basic CSS as required
>here.



I don't like Nutscrape, at least with IE you can see the bookmark
icons as the webmaster/author designed, not some goofy
can't-tell-the-difference between one from the other when specified.

Ever use Lynx, a text only browser, it doesn't do CSS. While I may
currently be using IE6, I sometimes use Lynx, but since my last
reformat/reinstall I need to reinstall it. In some respects it is
faster than Opera and definitely faster than IE. If it ever gets' to
the mouse stage, or that of being able to send/receive email, I may
just use that entirely.

When I first got connected 1998+/- my tool was a Brother GeoBook NB80C
(which I still have, but it needs to be repaired, even if obsolete, or
rather not being used now that I have a desktop PC), basically a fancy
laptop sized organizer: Word processor, Spreadsheet,
Internet/Email/Fax (outgoing fax only), File Manager, Drawing program,
Calendar/Scheduler, Adressbook, Scrapbook, Bookreader, Calculator,
Clock/World Time, To Do list. Only drawback, unless you were to
install an optional 4 or 10 MB flash memory card, you would be using
the floppy drive like crazy.

The Globehopper browser does not do frames, CSS, nor does it do Java
script, just strict HTML and due to the memory constraints, it can
handle minimum tables usage before it runs out of memory.

Sincerely,

Andrew H. Carter
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Featured Websites
Free Space
Free Space
Free Space Free Space
Reply
Tags: , , , ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display Source Code - Color Keywords brucie HTML 1 07-01-2007 12:22 PM
avi source code editing help needed ABinBoston Software Programming 0 06-12-2007 10:35 PM
how do I invert and adjust color on a color negative(PS5) Al Denelsbeck Graphics in general 2 06-11-2007 9:38 PM


Featured Websites




All times are GMT +1. The time now is 11:30 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98