Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 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 December 15th, 2005, 01:15 PM
Registered User
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating a Master Page and Importing a CSS

Hi,
I am doing the 'Try it out' in chapter 2.
Step 5 says:
"Switch back to Design View to set the style sheet. At the top of the Properties box, drop down the list of controls and select Document. At the bottom of the properties list, find Style Sheet (see
Figure 2-5), click its ellipses, and browse to site.css. Click OK."

I don't have a 'Stylesheet' option in the properties of 'document', the only property I get is 'Title'.

What could I be doing wrong??

 
Old April 19th, 2006, 02:57 PM
Registered User
 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am having the exact same problem. I am using VS 2005 professional. Is there a setting that i need to change ?

 
Old April 19th, 2006, 03:13 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

When the master page is in Design View, you can just drag the .CSS file from the Solution Explorer on the page. VWD will automatically add the necessary stuff to the <head> section of the page.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
While typing this post, I was listening to: Olympic Flame by Tiesto (Track 7 from the album: Parade Of The Athletes) What's This?
 
Old April 19th, 2006, 03:43 PM
Registered User
 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

 Thanks for the quick response Imar.. I did what you suggested, at first it didn't work,but when i closed visual studio and reopened the project BAMMMM.. i got the "Stylesheet" option under the documents property..

Thanks a bunch.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a Master Page and Importing a CSS rubends BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 6 March 14th, 2008 03:56 AM
Master Page and Content Page with Java script Harjinder ASP.NET 2.0 Professional 1 February 1st, 2008 10:31 AM
how to add css to master pages? shaileshcdac Classic ASP Basics 0 April 5th, 2007 04:01 AM
Access Master page control from Content page. angshujit ASP.NET 2.0 Basics 3 January 11th, 2007 06:20 AM
Add dynamic css to master/content page proj-How? VictorVictor ASP.NET 2.0 Basics 6 June 9th, 2006 12:09 PM





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