Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > BOOK: Beginning HTML and CSS (published March 2013)
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning HTML and CSS (published March 2013)
This is the forum to discuss the Wrox book Beginning HTML and CSS by Rob Larsen; ISBN: 978-1-1183-4018-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning HTML and CSS (published March 2013) 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 7th, 2013, 07:35 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2013
Location: Iowa
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Question Difference between downloaded lesson code and code in book

A few days ago, I purchased this book and am now almost through chapter 2. I am finding it very helpful and easy to follow. Something I noticed, though, is that, when I look at the downloaded code for a couple of sections in chapter 1, it does not quite show as it does in the book. The page on the "user end" displays like it should but when I "inspect element", the mark-up is a bit different than indicated in the book. In particular, page 25 "Understanding Block and Inline Elements" figure 1-12 and the mark-up displayed above it - the mark-up in the book for figure 1-12 shows the named entities for the angle brackets in the text "the h1 and p elements will not sit on the same line," but when I look at the mark-up from the downloaded code, it displays that same h1 and p in the angle brackets - not their named entities. Having gotten to the section in chapter 2 where it discusses (page 51) "Using character entities for Special Characters," I know why the book shows what it does but why is the downloaded code showing it as if the named entities were not used? (This wasn't the only place this occurred for this issue. Is it my browser?) I hope this makes some sort of sense as I feel that there should have been a shorter why to ask my question.
Reply With Quote
  #2 (permalink)  
Old August 7th, 2013, 07:52 PM
Wrox Author
Points: 93, Level: 1
Points: 93, Level: 1 Points: 93, Level: 1 Points: 93, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2012
Posts: 19
Thanks: 0
Thanked 3 Times in 3 Posts
Default

If you open ch01_eg09.html in a text editor you'll see that the code matches. Something in the way the inspector is working might be causing the apparent discrepancy.
Reply With Quote
The Following User Says Thank You to roblarsen For This Useful Post:
Alatha (August 7th, 2013)
  #3 (permalink)  
Old August 7th, 2013, 08:34 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2013
Location: Iowa
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

It took a little bit but I did finally figure out how to open the code in the text editor I am using. It did show up properly there. I don't know why it doesn't in the browser but this should make things easier on my brain :-)
Reply With Quote
Reply


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
Problems with downloaded code crashbandicoot BOOK: Beginning HTML, XHTML, CSS, and JavaScript 8 September 18th, 2012 07:57 PM
opening downloaded code mxk4701 BOOK: Java Programming 24-Hour Trainer by Yakov Fain 1 April 2nd, 2012 05:35 AM
downloaded code Joseph BOOK: Beginning SQL 5 December 23rd, 2007 09:35 PM
Downloaded code not Working!!!!!!!!! avats Wrox Book Feedback 3 April 13th, 2005 01:16 PM
ThePhile C# Downloaded code aruny2kprasad General .NET 3 April 16th, 2004 03:02 AM



All times are GMT -4. The time now is 01:02 AM.


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