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
This was also submitted as errata.
At this point (see above) in the book I found no previous reference where a Styles folder was created and feel this may (if I am correct) cause confusion when viewing Default.aspx in the browser as Styles.css is not referenced to style the page properly.
Of course one way around this is to view the provided source code.
I figured it out, by creating a Styles folder, placing Styles.css in that folder and using ../Styles/Styles.css in the head of Default.aspx
JJ
Last edited by jpjamie; October 11th, 2014 at 05:55 PM..
Looks like you missed that in Chapter 2. On page 46 you find a Try It Out Exercise with the following steps:
1. Right-click the Planet Wrox site in the Solution Explorer and choose Add => New Folder.
2. Type Styles as the new folder name and press Enter.
3. Create another folder, called Controls. These two folders are used in the remainder of this book.
4. Drag the Styles.css file that you added earlier and drop it into the Styles folder.
Thanks Imar!
Now SO embarrassed!
I think it's the smallest TRY IT OUT in the book, just file management related and probably the easiest in the entire book!
The only saving face I have is I figured it out...
LOL!
Last edited by jpjamie; October 12th, 2014 at 01:45 PM..