 |
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
|
|
|
|

December 15th, 2008, 02:03 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
The Following User Says Thank You to Imar For This Useful Post:
|
|

December 15th, 2008, 02:29 PM
|
Friend of Wrox
|
|
Join Date: Dec 2008
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
|
|
Thanks!
Rae
|

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

June 30th, 2010, 10:29 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Sam,
Are you in the right document type? What's the extension of the file you're working on?
Imar
|

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

June 30th, 2010, 11:50 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|

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

June 30th, 2010, 02:11 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
That doesn't sound right. Did you try repairing / reinstalling VS 2008?
Imar
|
The Following User Says Thank You to Imar For This Useful Post:
|
|

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