Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old May 20th, 2008, 08:26 PM
Authorized User
 
Join Date: Apr 2008
Location: , , .
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?

  #2 (permalink)  
Old May 21st, 2008, 12:20 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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.
  #3 (permalink)  
Old May 21st, 2008, 06:48 PM
Authorized User
 
Join Date: Apr 2008
Location: , , .
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

  #4 (permalink)  
Old May 21st, 2008, 10:24 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

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
  #5 (permalink)  
Old May 22nd, 2008, 01:58 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I think applications such as MS Word and Excel are written in C++. Wrox has a great Beginning C++ book available in case you want to learn more: http://www.wrox.com/WileyCDA/WroxTit...470225904.html

Cheers,

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.
  #6 (permalink)  
Old May 22nd, 2008, 07:19 AM
Authorized User
 
Join Date: Apr 2008
Location: , , .
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

  #7 (permalink)  
Old May 22nd, 2008, 07:34 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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.
  #8 (permalink)  
Old May 22nd, 2008, 07:36 AM
Authorized User
 
Join Date: Apr 2008
Location: , , .
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

  #9 (permalink)  
Old May 22nd, 2008, 07:43 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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.
  #10 (permalink)  
Old May 23rd, 2008, 02:59 PM
Authorized User
 
Join Date: Apr 2008
Location: , , .
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
navigation in a web site..... mallikalapati ASP.NET 2.0 Professional 3 February 11th, 2008 12:06 PM
how to add breadcrumb navigation to a LAMP site avail1now PHP How-To 0 February 17th, 2006 05:03 PM
how do i change the site icon on a geocitiies site uprocker2 HTML Code Clinic 2 March 4th, 2005 07:20 AM
Site navigation fortgjort XSLT 0 February 24th, 2004 10:59 AM
Site navigation stu9820 ASP.NET 1.0 and 1.1 Basics 7 December 1st, 2003 06:03 PM





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