HighDots Forums  

Why does the menu items take so much space?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Why does the menu items take so much space? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ward Bekker
 
Posts: n/a

Default Why does the menu items take so much space? - 03-24-2006 , 10:36 AM






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

Reply With Quote
  #2  
Old   
Stan Brown
 
Posts: n/a

Default Re: Why does the menu items take so much space? - 03-24-2006 , 02:12 PM






Fri, 24 Mar 2006 16:36:01 +0100 from Ward Bekker
<ward (AT) NospaaMequanimity (DOT) nl>:
Quote:
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


Reply With Quote
  #3  
Old   
Tony
 
Posts: n/a

Default Re: Why does the menu items take so much space? - 03-24-2006 , 03:15 PM



Stan Brown wrote:
Quote:
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.

Quote:
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.


Reply With Quote
  #4  
Old   
Jim Moe
 
Posts: n/a

Default Re: Why does the menu items take so much space? - 03-24-2006 , 03:45 PM



Ward Bekker wrote:
Quote:
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)


Reply With Quote
  #5  
Old   
Stan Brown
 
Posts: n/a

Default Re: Why does the menu items take so much space? - 03-24-2006 , 04:35 PM



Fri, 24 Mar 2006 12:15:19 -0800 from Tony <tony23
@dslextreme.WHATISTHIS.com>:
Quote:
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


Reply With Quote
  #6  
Old   
Tony
 
Posts: n/a

Default Re: Why does the menu items take so much space? - 03-24-2006 , 04:41 PM



Stan Brown wrote:
Quote:
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...


Reply With Quote
  #7  
Old   
Ward Bekker
 
Posts: n/a

Default Re: Why does the menu items take so much space? - 03-27-2006 , 01:50 AM



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

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.