473,385 Members | 1,766 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,385 software developers and data experts.

ASP 2.0 Menu Control

How do I set the following style properties with the new ASP.Net 2.0 Menu
Control?

border-left:1px solid #E6E6E6;
border-right:1px solid #E6E6E6;
border-bottom:3px solid #CBCBCB;
border-top:3px solid #CBCBCB;

I am trying to give the HoverStyleItem a different background color that is
indented a few pixels from the surround 4 edges of the cell to give it a
boxed look. I can change the background color using

<StaticHoverStyle BackColor="Silver" BorderColor="Gray" BorderStyle="Solid"
BorderWidth="1px" Width="123px" />

but I cannot seem to figure out a way to perform the indent with the control.

Mar 27 '06 #1
2 1461
Have you tried
<StaticHoverStyle CssClass="Style1"/>
and then in the stylesheet you write:
..Style1{
border-left:1px solid #E6E6E6;
border-right:1px solid #E6E6E6;
border-bottom:3px solid #CBCBCB;
border-top:3px solid #CBCBCB;
}
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Chris Fink" wrote:
How do I set the following style properties with the new ASP.Net 2.0 Menu
Control?

border-left:1px solid #E6E6E6;
border-right:1px solid #E6E6E6;
border-bottom:3px solid #CBCBCB;
border-top:3px solid #CBCBCB;

I am trying to give the HoverStyleItem a different background color that is
indented a few pixels from the surround 4 edges of the cell to give it a
boxed look. I can change the background color using

<StaticHoverStyle BackColor="Silver" BorderColor="Gray" BorderStyle="Solid"
BorderWidth="1px" Width="123px" />

but I cannot seem to figure out a way to perform the indent with the control.

Mar 27 '06 #2
Hi,
WakiCoolBar for asp.net 2.1 is a new developed professional tool for
creating DHTML menus like outlook style. It¡¯s very convenient to create the
webmenu without writing javascript. And you may add menu items easily and
visual at VS by PANELS property, It can be binded with Database showing
alternative menu varying with different users authorized.
Download url : http://www.aspxcontrol.net
Demo url: http://www.aspxcontrol.net/demo/wakicoolbar/sample.aspx
Best Regards!
Waki Hunt

"Chris Fink" <Ch*******@discussions.microsoft.com> wrote in message
news:57**********************************@microsof t.com...
How do I set the following style properties with the new ASP.Net 2.0 Menu
Control?

border-left:1px solid #E6E6E6;
border-right:1px solid #E6E6E6;
border-bottom:3px solid #CBCBCB;
border-top:3px solid #CBCBCB;

I am trying to give the HoverStyleItem a different background color that
is
indented a few pixels from the surround 4 edges of the cell to give it a
boxed look. I can change the background color using

<StaticHoverStyle BackColor="Silver" BorderColor="Gray"
BorderStyle="Solid"
BorderWidth="1px" Width="123px" />

but I cannot seem to figure out a way to perform the indent with the
control.

Apr 2 '06 #3

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

Similar topics

2
by: zapazap | last post by:
Dear Snake Charming Gurus, (Was: http://mail.python.org/pipermail/python-list/2004-January/204454.html) First, a thank you to Tim Golden, Thomas Heller, and Mark Hammond for your earlier help...
6
by: Sandy | last post by:
Hello - I have a book that illustrates pulling menu items from a Sql Server table into an ascx via a stored procedure. Is this something that is done in the real world? I do like the effect...
7
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote...
5
by: dpomt | last post by:
When the ASP.NET menu is rendered on downlevel browers, the text "^ up one level" is displayed. Any ideas how I can change that text? I did not find a property for the menu control where I can...
17
by: GS | last post by:
the main menu in the application seemed to disappeared all together until I click on an control and select mainmenu1 in designer. then the mainmenu1 displays where it should be but running it or...
3
by: John | last post by:
Hi there, I was reading an article (http://avenuea-razorfish.com/articles/TheAll-MenuNavigation_Turbek.pdf) on 'all-menu navigation' and I'd like to try and implement this in my site. Can...
5
by: Brad Isaacs | last post by:
Good morning friends, I am working with ASP.NET 2.0 -- VB code behind I have created tabbed pages using the Menu control with the Multiview control. Using the menu control to display the...
2
by: MCM | last post by:
I'm working on a plotting control. The plotting control will have a context menu with basic commands for "scaling", "zooming", etc. Is there a way that, from the parent form, I can add more...
5
by: AG | last post by:
I realize that the obvious suggestion would be malware, but my definitions are up to date and I have already scanned for it. I have also tried disabling all IE add-ons. I just rebuilt and...
4
by: SAL | last post by:
Hello, is there a way to menu control dynamically center itself horizontally on a page? I have placed a menu control in a panel control (no ajax) and would like it to center itself. Depending on...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.