Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 4th, 2015, 04:12 AM
Authorized User
 
Join Date: Jun 2015
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 3 - Applying Styles (page 93)

Question 1: there is a slight difference in selectors; does it matter?

In "Try It Out" for page 93, my View-> Apply Styles came up with the following:
Current Page:
#form1
.auto-style1
.auto-style2
.Introduction
Styles.css:
#PageWrapper

This list differs somewhat from that in page 93:
Current Page:
.auto-style1
.Introduction
Styles.css:
#PageWrapper
Contexted Selector:
Styles.css:
*
In the Tag Selector, my second paragraph <p> has <span.auto-style2> behind.

Question 2:
Step 3 - "Click the Introduction class in the CSS Styles list". Are you referring to ".Introduction"?
After I click .Introduction, the following codes are in the source view:

<p class="Introduction">Feel free to have a <a href="Default.aspx">look around</a>; there are lots of interesting <span class="auto-style2">reviews and concert pictures</span> to be found here.</p>

This again is somewhat different from the text book. Did I make some wrong codes?
 
Old July 7th, 2015, 10:44 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Can you post the code for the page and the CSS file?

When you post the code, can you please paste it in Notepad first to remove color coding and then use the forum editor's Code toolbar button to wrap your code in code tags. Otherwise, this forum messes up the code.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
problem on page 93 Chapter 3 aformoftruth BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 2 January 23rd, 2010 12:36 AM
Chapter 12 (page 400) Try It Out: Applying Filter Deepeshk BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 July 12th, 2008 04:18 AM
Chapter 5 Applying themes to Page Try it Out mcauliff BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 October 3rd, 2007 11:04 AM





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