Monday, March 26, 2012

tabpanels have a white strip on them

Hi! I am using a Ajax tabcontainer, but the buttons are not displayed properly, there us like a while line about 4pxheight that crosses all the buttons. Here is the code I am using:

<asp:ContentID="Content1"ContentPlaceHolderID="BodyContent"Runat="Server">

<asp:ScriptManagerID="ScriptManager1"runat="server">

</asp:ScriptManager>

<cc1:TabContainerID="TabContainer1"runat="server"ActiveTabIndex="2"Height="369px">

<cc1:TabPanelID="TabPanel1"runat="server"HeaderText="TabPanel1">

<HeaderTemplate>

TabPanel1

</HeaderTemplate>

</cc1:TabPanel>

<cc1:TabPanelID="TabPanel2"runat="server"HeaderText="TabPanel2">

<HeaderTemplate>

TabPanel2<br/>

</HeaderTemplate>

</cc1:TabPanel>

<cc1:TabPanelID="TabPanel3"runat="server"HeaderText="TabPanel3">

</cc1:TabPanel>

</cc1:TabContainer>

</asp:Content>

Do I have to configure something else?? Thanks!

I did the same thing in a regular page and it worked fine. Why is the master page messing it up? Thanks!


I figured where the problem is from, I am using:<htmlxmlns="http://www.w3.org/1999/xhtml"> instead of

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

But now all pages are messed up when I put <!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> like the footer gets bigger...

0 comments:

Post a Comment