softwarea
asked on
Panel GroupingText
Hi Experts,
does anybody how to modify the style of a panel's GroupingText property e.g. font size or color of the border?
Thanks, Ingmar
does anybody how to modify the style of a panel's GroupingText property e.g. font size or color of the border?
Thanks, Ingmar
ASKER
Hi Max,
what label are you talking of?
The standard ASP.NET panel has a property called "GroupingText". This property is of type string. If you set a value to this property a border and a caption will be added to the panel. I'm looking for a way to modify the style of this caption because it always appears in blue color, but I want it in black.
Yes, Stylesheet would be nice, but I don't know which property to use...
Thanks, Ingmar
what label are you talking of?
The standard ASP.NET panel has a property called "GroupingText". This property is of type string. If you set a value to this property a border and a caption will be added to the panel. I'm looking for a way to modify the style of this caption because it always appears in blue color, but I want it in black.
Yes, Stylesheet would be nice, but I don't know which property to use...
Thanks, Ingmar
I don't use this groupingtext myself, but as far as I know, it generates a label, so that label should logically be changeable...
I will look into it if you require more help, but I'm unfortunately quite busy and cannot find the time to do this for you right now...
Regards,
Max.
I will look into it if you require more help, but I'm unfortunately quite busy and cannot find the time to do this for you right now...
Regards,
Max.
ASKER
Thank you very much Max,
that would be very nice. And it's not that urgent. I just need a solution for the problem within the next two weeks.
By the way: Looking in the HTML code a Panel with "GroupingText" is rendered like that (maybe it helps):
<div...>
<fieldset>
<legend>
My Caption
</legend>
....Content of the panel
</fieldset>
</div>
So, if you find a way on how to assign a style to the <legend> tag that would be great.
Thanks so much!
Ingmar
that would be very nice. And it's not that urgent. I just need a solution for the problem within the next two weeks.
By the way: Looking in the HTML code a Panel with "GroupingText" is rendered like that (maybe it helps):
<div...>
<fieldset>
<legend>
My Caption
</legend>
....Content of the panel
</fieldset>
</div>
So, if you find a way on how to assign a style to the <legend> tag that would be great.
Thanks so much!
Ingmar
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect Max!
The second suggestion (#divname legend { color: #000000; } ) is working!!!
Thanks so much for your fast help.
Ingmar
The second suggestion (#divname legend { color: #000000; } ) is working!!!
Thanks so much for your fast help.
Ingmar
You are very welcome :)
Regards,
Max.
Regards,
Max.
Regards,
Max.