473,379 Members | 1,167 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Why does the menu items take so much space?

Hi,

Can somebody tell me why the menu on the url below needs so much space
between menu items? (between the home, browses, forms, pages).

Maybe a margin / padding problem, but I cannot seem to find it.

The URL: http://www.genwise.com/temp/ordersbrowse.aspx.htm

Thank you!

--
Ward Bekker
Mar 24 '06 #1
6 1660
Fri, 24 Mar 2006 16:36:01 +0100 from Ward Bekker
<wa**@NospaaMequanimity.nl>:
Can somebody tell me why the menu on the url below needs so much space
between menu items? (between the home, browses, forms, pages).

Maybe a margin / padding problem, but I cannot seem to find it.

The URL: http://www.genwise.com/temp/ordersbrowse.aspx.htm


I started looking at it, and gave up because it's too complicated.
You've got multiple classes, the entire Web page is nested inside a
<form>, tables are used for layout, there's Javascript, and god knows
what all. Oh yes, a validator finds 25 errors

Fix your broken HTML; that might even fix our problem. If not, start
pulling things out until you have either a small case that duplicates
the behavior or (more likely) one increment of trimming down makes
the problem go away.

Please see "Why we won't help you", below, for useful advice about
getting your question resolved.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Mar 24 '06 #2
Stan Brown wrote:

I started looking at it, and gave up because it's too complicated.
You've got multiple classes, the entire Web page is nested inside a
<form>
Unfortunately, I don't think much can be done about that (the entire
page being inside a <form>), because that is the wat .NET renders the page.
tables are used for layout, there's Javascript,


..NET also puts in a lot of messy javascript, too.

Doesn't mean nothing should be done about the problems - but my
experience in working with .NET generated pages is that they are quite
messy.
Mar 24 '06 #3
Ward Bekker wrote:

Can somebody tell me why the menu on the url below needs so much space
between menu items? (between the home, browses, forms, pages).

..table td { padding: 10px; }

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Mar 24 '06 #4
Fri, 24 Mar 2006 12:15:19 -0800 from Tony <tony23
@dslextreme.WHATISTHIS.com>:
Unfortunately, I don't think much can be done about that (the entire
page being inside a <form>), because that is the wat .NET renders the page.


Seems to me the solution is obvious -- if the tool produces a bad
result, either it's the wrong tool or the user is using is wrong.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Mar 24 '06 #5
Stan Brown wrote:
Fri, 24 Mar 2006 12:15:19 -0800 from Tony <tony23
@dslextreme.WHATISTHIS.com>:
Unfortunately, I don't think much can be done about that (the entire
page being inside a <form>), because that is the wat .NET renders the page.


Seems to me the solution is obvious -- if the tool produces a bad
result, either it's the wrong tool or the user is using is wrong.


Well, these things happen when .NET is used correctly, so I'll let you
make your own conclusions...
Mar 24 '06 #6
Hi Stan,

Yes, some of the mess, like the menu using tables is because of dot net.
I would like to clean it up a much as possible, but I need to start
somewhere. Because other people on other forums also suggested to first
loose the tables, I'm going to see if there is a way to fix this for the
standard menu control for .Net.

Regards,

--
Ward Bekker
"Asp.Net Discussions for the Professional Developer"
http://www.dotnettaxi.com

"Free .Net 2.0 C# to/from VB.Net Code Converter"
http://www.dotnettaxi.com/Tools/Converter.aspx
Mar 27 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: Marek Mand | last post by:
How to create a functional *flexible* UL-menu list <div> <ul> <li><a href=""></li> <li><a href=""></li> <li><a href=""></li> </ul> </div> (working in IE, Mozilla1.6, Opera7 (or maybe even...
2
by: Jackson Yap | last post by:
can someone kind enough to help me look at the attached html and js file? Why is it that the javascript menu could not work at www.apchosting.net but could work at...
7
by: Todd Cary | last post by:
I inherited an application where the Flyout works in Firefox but not in IE. My JavaScript background is sparse, so I am not sure how to approach the problem. Any suggestions are welcomed! The...
3
by: Heather | last post by:
I notice the Tag property for menu items. Is there a way to assign say a 1 to the Tag property of certain menu items and then make those menu items not visible programatically? Thanks! Heather
4
by: Lynn Morrison | last post by:
I cannot find this feature at all. There is no bitmap property for menu items nor is there an imagelist property for the menu itself... How do I put images to the left of menu items? Thanks, ...
1
by: Ziphyre | last post by:
Hi, I've got some problems with horizontal drop down menu. It looks fine under Firefox, a mess under IE. I've noticed the following differences/problems: - Extra space between menu items and...
0
by: nonsensitor | last post by:
I would like to provide a scalable horizontal menu. Here's the twist: I want to keep the menu items on a single line for as many 'upscales' as possible. So I basically need 2 solutions: 1) For...
1
by: proplady | last post by:
I've had this menu for some time, and periodically make changes. I've made some changes now (just some menu items), and the menu will not show up on my webpages. I know it's something simple,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.