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 December 15th, 2008, 02:03 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You need the float: left for the Sidebar to make it float at all in Firefox. If you leave it out, Firefox will display the Sidebar on the left instead of the right.

In IE, a float: left on the MainContent would be enough.With a float: left, content that follows the left-floated box will flow on its right side. From W3C:
Quote:
Content flows down the right side of a left-floated box and down the left side of a right-floated box.
You'd expect that float: left for the MainContent would be enough to float the SideBar to its right. Apparently, that's not enough for Firefox. Not sure of IE or Firefox got it right...

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:
Rachel (December 15th, 2008)
 
Old December 15th, 2008, 02:29 PM
Friend of Wrox
 
Join Date: Dec 2008
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
Default

Thanks!

Rae
 
Old June 30th, 2010, 10:15 AM
Registered User
 
Join Date: Jun 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default P76, Can't open Modify Style dialog box

I am working through the "Try it Out - Styloing the Planet Wrox Homepage" and on point 6 I cannot open the Modify Style dialog box.
I am using vs2008 and not VWD, I don't see a Style option on my Main menu, I do not see any relevent option when right-clicking the ID selector ( this is #Header, right?) and although the Style toolbar is visable, the Build Style button is greyed out.

Any advise would be appreciated.
Sam
 
Old June 30th, 2010, 10:29 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 Sam,

Are you in the right document type? What's the extension of the file you're working on?

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!
 
Old June 30th, 2010, 11:41 AM
Registered User
 
Join Date: Jun 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I opened the Styles.css document

I have just noticed that in point 4 it says to open the Styles.css from the Styles folder, my Styles.css document was not in a Styles folder. I created a new Styles folder and moved the Styles.css file, but still no luck.
 
Old June 30th, 2010, 11:50 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Which version of VS are you using exactly? Did you create a Web Site Project or a Web Application Project? And how did you open the current site you're working on?

Also, take a look at: Tools | Options | Text Editor | File Extensions. Is the CSS extension mapped anywhere there?

Finally, you could try to modify the menu as explained in Chapter 1. Maybe you can add the Styles menu yourself? (doubt if that works though).

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!
 
Old June 30th, 2010, 12:44 PM
Registered User
 
Join Date: Jun 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I'm trying to use VS 2008, I created a new Web Site. I chose VS as I have this installed on my office machine.
I have downloaded Express VWD on my home machine and tried the exercise again and it works as described in the book. At least I can continue with the book, but I'd have liked to have used VS as any work I move into will be in VS.
 
Old June 30th, 2010, 02:11 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

That doesn't sound right. Did you try repairing / reinstalling VS 2008?

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:
samkeen (July 5th, 2010)
 
Old July 5th, 2010, 08:18 AM
Registered User
 
Join Date: Jun 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks for your prompt responses. I'm requesting my VS is reinstalled and will try this again later. I'll continue on in VWD for now.





Similar Threads
Thread Thread Starter Forum Replies Last Post
save images in size .75 X .75 infotech VB How-To 2 May 11th, 2007 05:54 PM
Chapter 2 Pg. 75-77 while function joshkosmala BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 2 February 28th, 2007 04:27 PM
iFrames & ASPX Pages bandrsolutions ASP.NET 2.0 Basics 0 October 18th, 2006 04:15 AM
Debug example seemingly not quite right on page 78 kowalke BOOK: Beginning Mac OS X Programming 5 August 17th, 2006 02:04 PM
downloads for VB Oracle 8 1-861001-78-9 johnfreed0 All Other Wrox Books 6 September 23rd, 2004 07:22 PM





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