|
 |
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|

December 15th, 2005, 01:19 PM
|
Registered User
|
|
Join Date: Dec 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Creating a Master Page and Importing a CSS
Chapter 2, 'Try it out', page 36:
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."
Problem: I don't get a 'Stylesheet' property option!? Only 'Title'. What could I be doing wrong?
|

December 21st, 2005, 05:03 PM
|
Registered User
|
|
Join Date: Dec 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
It didn't work for me either. I looked up help within VWD and it said to "drag" the .css file ontop of the form in design view. This worked for me and created a link in source view.
|

December 21st, 2005, 06:42 PM
|
 |
Wrox Author
Points: 72,055, Level: 100 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
|
|
I don't have the book, so I can only guess where you're instructed to add the style sheet.
However, for a Master Page the Document does have a Style Sheet property which is available in both Design View and Code View when you're editing a Master Page. Are you sure you selected Document from the Properties drop-down and not say, the <div> tag?
I could be completely mistaken as to where you're supposed to add the style tag, but for a Master Page you should be able to do it.
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: English Summer Rain by Placebo (Track 2 from the album: Sleeping with Ghosts) What's This?
|

March 3rd, 2008, 06:46 PM
|
Registered User
|
|
Join Date: Feb 2008
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I also having problem on page 36 of book ASP 2.0 NET with C#.
I have drag style sheet onto design view, and still no "Document" property of StyleSheet to set, any other suggestions?
|

March 3rd, 2008, 06:51 PM
|
 |
Wrox Author
Points: 72,055, Level: 100 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
|
|
Hi there,
Like I said, I don't have the book, so I am not exactly sure what you're supposed to do. Can you take a look at my previous reply and provide more information?
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
|

March 13th, 2008, 03:51 PM
|
Registered User
|
|
Join Date: Feb 2008
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
After creating a Master Page site.master step 5 on page 36
states the following:
5. 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. Set the Debug property to True. At the bottom of the properties list, find StyleSheet (see Figure 2-5), click its ellipses, and browse to site.css. Click Ok.
The problems is under Document there is no property called StyleSheet. The book shows the property is part of Document properties under [-] Document.
|

March 14th, 2008, 03:56 AM
|
 |
Wrox Author
Points: 72,055, Level: 100 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
|
|
The goal of the exercise is to add a style sheet to the document right? If that's the case, you can simply work around it by dragging the CSS file from the Solution Explorer onto the page.
Can't offer any other advice as I don't know what the main purpose of the exercise is.
Hope this helps,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |