CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/8/2007 3:38:32 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 23 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
LSUgirl
Asp.Net User
Setting menu width=100%???3/8/2007 3:38:32 PM

0/0

Hi everyone,

I want to set my menu to screen width 100%.  Right now, it's only filling half the page width with about 6 level one menu items.  I'm using a skin and I've tried changing it everywhere without any luck.  I've adding "width=100%" to the skin file and everywhere on the ascx page (it's a custom control wrapper).

 from skin file:

<asp:Menu Orientation="horizontal" runat=server

DynamicHorizontalOffset="-2"

StaticSubMenuIndent="10px"

Height="17px"

StaticPopOutImageUrl="~/Images/arrowDownslim.ico"

DynamicPopOutImageUrl="~/Images/arrowRightslim.ico"

CssClass="toolbarMain">

<DynamicHoverStyle CssClass="toolbarDynamicHover" />

<DynamicMenuStyle CssClass="toolbarDynamicMain" />

<DynamicSelectedStyle CssClass="toolbarDynamic" />

<DynamicMenuItemStyle CssClass="toolbarDynamic" />

<StaticMenuItemStyle CssClass="toolbar" />

<StaticSelectedStyle CssClass="toolbar" />

<StaticHoverStyle CssClass="toolbar" />

</asp:Menu>

 

thanks in advance,

 jessica


Thanks, Jessica
cmorrisey
Asp.Net User
Re: Setting menu width=100%???3/8/2007 8:49:18 PM

0/0

Let me see if I understand your goal:

Make each of the 6 level one menu items be roughly 16% each so they are equal? (Well 16*6 = 96 not 100, but you get my point).

Can you post your CSS classes here too?



 


Don't forget to mark the most helpful post(s) as Answer so the community knows.
~*~*~*~*~*~
Thanks,
Chelsea
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Ajax For Dummies Authors: Steven Holzner, Pages: 359, Published: 2006
Photoshop CS for Windows and Macintosh: Visual QuickStart Guide Authors: Elaine Weinmann, Peter Lourekas, Pages: 586, Published: 2004
Flex 3 Cookbook: Code-Recipes, Tips, and Tricks for RIA Developers Authors: Joshua Noble, Joey Lott, Todd Anderson, Chafic Kazoun, Pages: 673, Published: 2008
Struts: The Complete Reference Authors: James Holmes, Pages: 800, Published: 2006
Beginning JavaScript Authors: Paul Wilton, Pages: 1056, Published: 2000
DHTML and CSS for the World Wide Web: Visual QuickStart Guide Authors: Jason Cranford Teague, Pages: 592, Published: 2001
Professional CSS: Cascading Style Sheets for Web Design Authors: Christopher Schmitt, Mark Trammell, Ethan Marcotte, Dunstan Orchard, Todd Dominey, Pages: 434, Published: 2005
Special Edition Using Microsoft Office FrontPage 2003: Special Edition Authors: Jim Cheshire, Paul Colligan, Pages: 1080, Published: 2003
Dreamweaver CS3: The Missing Manual Authors: David Sawyer McFarland, Pages: 995, Published: 2007
CSS Cookbook: Covers CSS 2.1 Authors: Christopher Schmitt, Pages: 252, Published: 2004

Web:
Sub menu width 100% when using frames [resolved] The sub menu items span all the way 100% of the window and I want them to be a fixed width. I tried setting itemwidth and that didn't work. ...
CSS Drive- JK Cool CSS Menu The hover effect is created by setting each menu link () to "display: block" ... Lastly, for the percentage width of each menu link, IE is fed 100% while ...
ASP.NET 2.0 Setting Menu width issue May 18, 2006 ... Hello, In an asp:menu, if you set the width to 100%, the menu takes up the whole length of the div [ which is what I want] but unfortunately ...
Ruby Red Flash Menu. This Dreamweaver extension provides you with a 100% width span, ... You need to set the flash object width according to the real menu width (which appears ...
Bug: incorrect Start Menu width when Font Size set to 100 DPI ... When Vista's system Font Size (DPI) is set to certain custom sizes, for example 100 DPI, the Start Menu is not adjusted properly.
dynamically set menu items width to percentage programmatically ... dynamically set menu items width to percentage programmatically ... The menu items don't have an equal width. The menu is 100%, and I want each item to take ...
Menu Width Try the following, 1st set your fontsize to "100%" in your ... and even if you set menu width, the css is the dominant code for that since ...
Setting Menu width issue - ASP.NET Forums Setting Menu width issue. Last post 07-01-2008 12:09 PM by Dave Sussman. ... and then the width="100%" which stretches across the whole ...
CSS Creator ie7 problems. setting padding-right on body sets ... Nov 13, 2008 ... Whenever I set padding-left to 126 it also sets the padding-right to 126, .... html framecontentTop { width:100%; } /* MENUS*/ ul#menu a{ ...
WordPress › Support » setting minimum width on fluid template I set the width from 100% to 800px in the container, but no result. .... #menu form { margin: 0 0 0 13px; } #menu input#s { width: 80%; background: #eee; ...

Videos:
Gradients in MS Paint How to make a gradient in Ms Paint 1: Set width to 100 (height doesn't matter) 2: draw the lines with the colors you want to gradi-ize... The ...
MIDIBOX SID Datassette BassLine 8bit Synth - the LFO 1 MIDIBOX SID Datassette BassLine 8bit Synth. This is a prototype equipped with 2 MOS 8580 SID and 1 MidiBox CORE. Case it's not closed as you ...
iTouchDS review this is my review of the iTouchDS thank you dealwoot for contributing this flashcart for me ------------------------------ list of features ...
Charlie Rose - Media Coverage of the war in Iraq / Eduardo ... Segment 1: A panel on media coverage of the war in Iraq with guest host Mary Matalin, former counselor to Vice President Cheney. She talks to ...
AK vs. FACE Boxing




Search This Site:










how to check client authentication bfore sending mail

removing the <httphandlers> element?

need advice. client wants to go from dnn to html

asp.net does not work with visual foxpro 5.0?

sql server 2005 with asp.net 1.1

understanding oo and classes

ibuyspy store with access

insert datetime into the database

request - loginpage that breaks out the website

will the new class designer support use cases in vs 2005

quiz module

problem to install club starter kit

error on upgrade to 3.0.12

validating dates with comparevalidator

ppc engine?

outlook calendar and .net

replace doesnt work in codebehind

printing from a web server...weird problem!!

unable to establish secure connection with the server - active directory

child portal problem

own template project

system.net.webexception: the remote server returned an error: (401) unauthorized.

dnn resource directory page is broke

new to asp.net 2.0

how to transfer a page to another page?

new problem! (w/printscreen)

need help calling aspx in subdirectory

impersonation & sql server trusted connections

timespan calculation error?

css stops my absolute positioning??

 
All Times Are GMT