Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : 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 May 13th, 2011, 11:08 PM
Registered User
 
Join Date: May 2011
Posts: 5
Thanks: 0
Thanked 2 Times in 1 Post
Default monochrome and darkgrey css

Hello
I am working on the Try It Out exercise on p224, Ch6. I have copied the provided CSS sheets and images into a App_Themes, but they do not appear in my browser as they should. For example, the images and background colors are correct, but the border spacing on the left and right is missing (below the menu and sidebar), the sidebar is on the bottom left instead of the upper right, and the text is not white. The nice background formatting around the Menu Goes Here text is missing.

I don't know if I should be able to include a screen clipping of this, or if the HTML code that runs would be helpful...

Thanks so much for any help. I too love this book and really appreciate the help.

Best,

Wade
 
Old May 14th, 2011, 04:33 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 Wade,

The fact that you do see colors and images seems to indicate the theme itself is applied correctly. The first thing I would check is capitalization of the <div> elements in the Master Page. There's a difference between MainContent and maincontent for example.

If that doesn't help, can you post the code for the Master Page and the final HTML from the page in the browwser?

If you post code, 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,
I
mar
__________________
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!
 
Old May 14th, 2011, 06:49 AM
Registered User
 
Join Date: May 2011
Posts: 5
Thanks: 0
Thanked 2 Times in 1 Post
Thumbs up

Quote:
Originally Posted by Imar View Post
Hi Wade,

The fact that you do see colors and images seems to indicate the theme itself is applied correctly. The first thing I would check is capitalization of the <div> elements in the Master Page. There's a difference between MainContent and maincontent for example.

If that doesn't help, can you post the code for the Master Page and the final HTML from the page in the browwser?

If you post code, 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,
I
mar

Ah Ha! There's also a difference between MainContent and Main Content. Thanks for identifying my issue so quickly.

Best,
whenning





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with DarkGrey (chapter 6) friendl BOOK: Beginning ASP.NET 4 : in C# and VB 6 February 18th, 2011 05:28 AM
Working with the DarkGrey.css theme demac3 BOOK: Beginning ASP.NET 4 : in C# and VB 4 December 12th, 2010 11:30 AM
Monochrome cannot be found bpl BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 5 September 28th, 2010 10:29 AM
Monochrome Theme jack_hilary BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 4 April 18th, 2010 12:45 PM
page 221 - problems with Monochrome and dark grey css sarala BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 7 April 16th, 2010 02:35 AM





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