| | |
CSS and Ajaxa Accordion
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
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
Views: 685 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for C#
.net access ado.net algorithm array barchart bitmap box broadcast buttons c# chat check checkbox class client color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing encryption enum event excel file files form format forms ftp function gdi+ httpwebrequest image index input install java label list listbox listener login math mouseclick mysql networking object operator oracle path photoshop picturebox pixelinversion post prime programming radians regex remote remoting resource saving serialization server sleep socket sql statistics stream string table tcp text textbox thread time timer treeview update usercontrol validation view visualstudio webbrowser windows winforms wpf xml





