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

May 20th, 2008, 08:26 PM
|
|
Authorized User
|
|
Join Date: Apr 2008
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Site Navigation
Hi,
how do you get the menu controls drop down list to be all the same sizes across their respective nodes?
For example.
You have:
Home About Us Contact
and when you hover over them you get a drop down menu selection. How do yo make Home, About Us and Contact be exactly the same width?
|
|

May 21st, 2008, 12:20 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
H there,
This is done with the MainMenu class that is defined as follows (in the Monochrome CSS file):
.MainMenu
{
/*
The Menu gets a white border on all four sides.
*/
border: 1px solid white;
width: 814px;
height: 19px;
background-color : #cccccc;
}
The menu gets an explicit width of 814px. Each cell then automatically gets an equal width based on this size. Since there are five menu items, each cell gets 20% of the total table width.
Hope that helps,
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.
|
|

May 21st, 2008, 06:48 PM
|
|
Authorized User
|
|
Join Date: Apr 2008
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for your input Imar.
I have one other question, a little off topic but nonetheless about programming.
If your interested in learning how to develop applications such as Microsoft Excel, and Microsoft outlook express etc.. What programming languages would you need to learn? And what other practical knowledge would you have to know?
Thanks !!!
|
|

May 21st, 2008, 10:24 PM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
Visual Studio Tools for Office (VSTO) is a .NET technology for integrating .NET programs with the Office productivity suite. However, I have heard from a very seasoned office application developer that VSTO isn't all it's cracked up to be. But you could certainly look into it.
-Peter
compiledthoughts.com
|
|

May 22nd, 2008, 07:19 AM
|
|
Authorized User
|
|
Join Date: Apr 2008
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi,
Maybe I should have asked the following question because I'm trying to figure out what language I need to learn.
What types of applications can you build/what are the differences between the following languages?
Visual Basic .NET?
C#?
C++?
|
|

May 22nd, 2008, 07:34 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
VB.NET and C# can pretty much do the same. It's mostly a matter of personal preference, and demand for either in your area. If you search this forum, you'll find many opinions on this subject, but most come down to preference and demand.
Both VB.NET and C# require the .NET framework, which gives you a host of options, at the price of a small performance penalty. Both can be used to create all kinds of applications, including Windows applications, web apps, Windows services, console applications and more. You could create an Word or Excel-like application with both languages.
C++ is considered a lower level language, giving you more power and performance, at the cost of a much higher learning curve.
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.
|
|

May 22nd, 2008, 07:36 AM
|
|
Authorized User
|
|
Join Date: Apr 2008
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
so basically you can create the same things with all the languages I listed above? It's just personal preference?
For example, there is nothing I can create with VB.NET/C# that I could not create with C++?
|
|

May 22nd, 2008, 07:43 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
I didn't say that. VB.NET and C# are very similar and can pretty much do the same thing. However, they require the .NET Framework to operate.
C++ is different, and doesn't require .NET. This gives it a performance advantage and enables scenarios that aren't possible with .NET (write apps for Linux, Apple, high performance server side functionality and so on).
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.
|
|

May 23rd, 2008, 02:59 PM
|
|
Authorized User
|
|
Join Date: Apr 2008
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Imar,
I sent you a private message with one final question regarding this topic so that I don't flood this topic with non ASP.NET information, although it is linked to ASP.NET in a way.
|
|
 |