|
Rank: Member Groups: Member
Joined: 6/19/2013 Posts: 23
|
I want to set the Header Style to "text-align: center", I've used
<HeaderStyleActive CssText="text-align: center;" />
But it is not working, I am using v11 on IE 10.
<eo:Dialog ID="dlgPopup" runat="server" AllowMove="false" AllowResize="false" HeaderHtml="Test" InitialState="Visible" ContentUrl="dummy.htm" CloseButtonUrl="Blank" MinimizeButtonUrl="Blank" RestoreButtonUrl="Blank" VerticalAlign="Middle" HorizontalAlign="Center" Height="200px" Width="200px"> <HeaderStyleActive CssText="text-align: center;" /> </eo:Dialog>
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
"text-align:center" should work. But you must remove VerticalAlign="Center" and HorizontalAlign="Center" on the dialog.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 6/19/2013 Posts: 23
|
I've downloaded v11.0.20.2 and the header is always left align. here is the my aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <eo:Dialog ID="dlgPopup" runat="server" AllowMove="false" AllowResize="false" HeaderHtml="Test" InitialState="Visible" ContentUrl="dummy.htm" Height="200px" Width="200px"> <HeaderStyleActive CssText="text-align: center;" /> </eo:Dialog> </form> </body> </html>
The code behind is empty.
I'm testing on IE 10 and Chrome 28. Visual Studio 2008 and 2010 on Windows 8; Project Target .Net Framework 3.5 or 4.0
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Again we tested your code and it works fine.
Thanks
|
|
Rank: Member Groups: Member
Joined: 6/19/2013 Posts: 23
|
Sorry, my bad. I had Theme/Skin which was over-writing my settings. Again sorry to waste you time. Thanks for the fast and great support.
|
|