Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Other Programming > Intro Programming
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Intro Programming What is a loop? Which language is best for beginners? What is "object oreinted?" All those types of questions and more are welcome here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Intro Programming section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 17th, 2011, 01:18 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Dec 2011
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default Beginning HTML, XHTML, CSS, and Javacript Page 17 I need help

I am trying to do figure 1-11 from scratch, but I need help:

<title>Creating Preformatted Text Using the <pre> Element</title>
<p>The following text is written inside a <pre> element. Multiple spaces should be preserved and the line breaks should appear where they do in the source doucment.</p>
function testFunction(strText){
alert (strText)
} </pre>
<p>The content of the <pre> element is most likely displayed in a monospaced font.</p>

What am I doing wrong? Why is more code other than the JavaScript in Courier font,
Reply With Quote
The Following User Says Thank You to WizardElsontro For This Useful Post:

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
BEGINNING XHTML (2000, Wrox Press) aggman BOOK: Beginning HTML, XHTML, CSS, and JavaScript 0 August 16th, 2010 02:17 PM
Rich's new CSS book: Beginning CSS 2nd Edition jminatel BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 0 June 15th, 2007 11:55 AM
Updating an Existing Website to XHTML and CSS funksoulkitty HTML Code Clinic 2 April 3rd, 2006 05:51 PM
Beginning XHTML Lynk Wrox Book Feedback 1 March 1st, 2005 11:16 PM
New HTML, XHTML, and CSS book jminatel HTML Code Clinic 0 July 30th, 2004 04:41 PM

All times are GMT -4. The time now is 06:37 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.