| | |
CSS and Ajaxa Accordion
Please support our C# advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Dec 2007
Posts: 41
Reputation:
Solved Threads: 0
hi
i have problem with css and accordion when i change the color of accordion head at css the accordion become very slow when close and open it i do not know what is the problem this is the part of css code that belong to accordion header
.accordionHeader
{
border: 1px solid #2F4F4F;
color: #d2b48c;
background-color: #50a3be;
font-family: Arial, Sans-Serif;
font-size: 14px;
font-weight: bold;
padding: 5px;
margin-top: 5px;
cursor: pointer;
vertical-align: middle;
text-align: center;
background-image: url(images/edge2.gif);
}
.accordionContent
{
background-color: #fafafa;
border: 1px dashed #2F4F4F;
border-top: none;
padding: 5px;
padding-top: 10px;
}
.accordionLink
{
vertical-align: middle;
text-align: center;
}
AND THIS PART FROM ASPX FILE :
<td align="right" valign="middle" width="100%" colspan="4">
<cc1:Accordion ID="Accordion1" runat="server" SelectedIndex="0"
HeaderCssClass="accordionHeader"
ContentCssClass="accordionContent"
FadeTransitions="false"
FramesPerSecond="40"
TransitionDuration="150"
AutoSize="None"
Width = "100%">
plz any one can helpe
Best Regards
i have problem with css and accordion when i change the color of accordion head at css the accordion become very slow when close and open it i do not know what is the problem this is the part of css code that belong to accordion header
.accordionHeader
{
border: 1px solid #2F4F4F;
color: #d2b48c;
background-color: #50a3be;
font-family: Arial, Sans-Serif;
font-size: 14px;
font-weight: bold;
padding: 5px;
margin-top: 5px;
cursor: pointer;
vertical-align: middle;
text-align: center;
background-image: url(images/edge2.gif);
}
.accordionContent
{
background-color: #fafafa;
border: 1px dashed #2F4F4F;
border-top: none;
padding: 5px;
padding-top: 10px;
}
.accordionLink
{
vertical-align: middle;
text-align: center;
}
AND THIS PART FROM ASPX FILE :
<td align="right" valign="middle" width="100%" colspan="4">
<cc1:Accordion ID="Accordion1" runat="server" SelectedIndex="0"
HeaderCssClass="accordionHeader"
ContentCssClass="accordionContent"
FadeTransitions="false"
FramesPerSecond="40"
TransitionDuration="150"
AutoSize="None"
Width = "100%">
plz any one can helpe
Best Regards
Last edited by IT_Techno; Dec 4th, 2008 at 3:27 am.
![]() |
Other Threads in the C# Forum
- Previous Thread: How to store an xml file in the Protected Storage?
- Next Thread: listview looping
| Thread Tools | Search this Thread |
.net access algorithm array asp.net bitmap box broadcast c# check checkbox client combobox control conversion csharp database datagrid datagridview dataset datetime dbconnection decryption degrees design developer draganddrop drawing encryption enum eventhandlers excel file firefox focus form format forms function gdi+ grantorrevokepermissionthroughc#.net hospitalmanagementsystem image input install interface java libraries list loop marshalbyrefobject math mouseclick movingimage mysql netcfsvcutil.exe numeric operator path photoshop php picturebox pixelinversion platform polynomial post programming properties radians read regex remote remoting richtextbox server sleep socket sql statistics string stringformatting study system.servicemodel table tcpclientchannel text textbox thread time timer update usb usercontrol validation visualstudio webbrowser winforms wpf wpfc# xml





