|
|
 |
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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |
|

May 20th, 2008, 09:26 PM
|
|
Authorized User
|
|
Join Date: Apr 2008
Location: , , .
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, 01:20 PM
|
 |
Wrox Author
Points: 33,554, Level: 80 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,228
Thanks: 7
Thanked 203 Times in 201 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, 07:48 PM
|
|
Authorized User
|
|
Join Date: Apr 2008
Location: , , .
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, 11:24 PM
|
 |
Friend of Wrox
Points: 16,368, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 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, 08:19 AM
|
|
Authorized User
|
|
Join Date: Apr 2008
Location: , , .
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, 08:34 AM
|
 |
Wrox Author
Points: 33,554, Level: 80 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,228
Thanks: 7
Thanked 203 Times in 201 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, 08:36 AM
|
|
Authorized User
|
|
Join Date: Apr 2008
Location: , , .
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, 08:43 AM
|
 |
Wrox Author
Points: 33,554, Level: 80 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,228
Thanks: 7
Thanked 203 Times in 201 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, 03:59 PM
|
|
Authorized User
|
|
Join Date: Apr 2008
Location: , , .
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.
|
| 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
|
|
|
|
 |