Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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 September 18th, 2009, 05:15 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi John,

I think I nailed it down.

The first problem, with the heading not aligning to the left is an Internet Explorer 8 issue. When you click the "Compatibility View" button at the end of the address bar, the heading jumps in place. IE 8 wasn't out when I wrote this book and IE 7 and FireFox (which I used to write and test the code in the book) nicely align the header to the left. The fix is easy though. Just add th (for a table heading) to the CSS selector:

Code:
 
.GridViewHeaderStyle th
{
  text-align: left;
}
Not sure if IE 8 has it wrong, or IE 7 and Firefox. Maybe the CSS rules dictate that aligning cannot bubble down from a tr to a th.

The second issue, with the links still being underlined, is just an issue with the screenshot on page 484. If you follow the code in the book, the links indeed end up underlined. Again, the fix is easy. Just add text-decoration: none; to the GridView a selector which is already present in Management.css:

Code:
 
.GridView, .GridView a
{
  color: #000;
  text-decoration: none;
}
This removes all underlining from all links in the GridView.

I'll see if I can have this added to the errata section for the book.

Hope this helps,

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!
The Following User Says Thank You to Imar For This Useful Post:
jsymons (September 18th, 2009)
 
Old September 18th, 2009, 07:14 AM
Authorized User
 
Join Date: Sep 2009
Posts: 23
Thanks: 9
Thanked 1 Time in 1 Post
Default

Imar,

This absolutely helped! Thanks for taking the time out of your day to look into this. Your also right about Figure 14-6 on page 484 being an issue with the screenshot as later in the book on page 492 Figure 14-7 the links are in fact underlined again. At the time of the original post, I wasn't that far into the book yet.

Thanks again,

John





Similar Threads
Thread Thread Starter Forum Replies Last Post
Errata: Page 483 drupalmeister BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 0 June 22nd, 2009 01:32 AM
Chapter 14 page 491 Will BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 4 April 25th, 2009 04:52 AM
Chapter 14 - Warnings on page 484 havardoj BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 5 February 22nd, 2009 04:31 PM
Chapter 14 page 580 Problems with example john_reeve41 BOOK: Beginning ASP 3.0 3 February 4th, 2004 10:21 AM
Chapter 14 Page 780-781 JonR BOOK: Professional C#, 2nd and 3rd Editions 0 August 11th, 2003 08:27 PM





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