Astrolab Posted March 5, 2018 Share Posted March 5, 2018 i have try with <center> tags and with adding style in body. this example working in https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_center_test <!DOCTYPE html> <html> <head> <style> .center_it { text-align:center; } </style> </head> <body class='center_it'> <br><B>some text</B></br> <body> </html> Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 5, 2018 Share Posted March 5, 2018 Hi, Which edition and build are you using ? And sorry, your question is not very clear Quote Link to comment Share on other sites More sharing options...
Astrolab Posted March 6, 2018 Author Share Posted March 6, 2018 1425 Quote Link to comment Share on other sites More sharing options...
Astrolab Posted March 6, 2018 Author Share Posted March 6, 2018 I put html content in unihtmlframe.html property and align are to left instead of center. it is are profesional edition Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 6, 2018 Share Posted March 6, 2018 1425 Which edition? Quote Link to comment Share on other sites More sharing options...
Astrolab Posted March 7, 2018 Author Share Posted March 7, 2018 professional edition i am programmer in Systek GMBH Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 7, 2018 Share Posted March 7, 2018 Hi, If you are using a licensed edition, please, first of all visit here: http://forums.unigui.com/index.php?/topic/6291-new-users-please-adjust-your-forum-email-address/ Quote Link to comment Share on other sites More sharing options...
Astrolab Posted March 7, 2018 Author Share Posted March 7, 2018 i have added my email Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 7, 2018 Share Posted March 7, 2018 i have added my email Ok, Thanks i have try with <center> tags and with adding style in body. this example working in https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_center_test <!DOCTYPE html> <html> <head> <style> .center_it { text-align:center; } </style> </head> <body class='center_it'> <br><B>some text</B></br> <body> </html> Sorry, can you clarify your question again, also can you make a simple testcase if possible ?! Quote Link to comment Share on other sites More sharing options...
Astrolab Posted March 7, 2018 Author Share Posted March 7, 2018 object MainForm: TMainForm Left = 0 Top = 0 ClientHeight = 270 ClientWidth = 635 Caption = 'MainForm' OldCreateOrder = False MonitoredKeys.Keys = <> PixelsPerInch = 96 TextHeight = 13 object UniHTMLFrame1: TUniHTMLFrame Left = 0 Top = 0 Width = 635 Height = 270 Hint = '' HTML.Strings = ( '<!DOCTYPE html>' '<html>' '<head>' '<style>' '.center_it {' ' text-align:center;' '}' '</style>' '</head>' '' '<body class='#39'center_it'#39'>' '<br><b>Center it test</b></br>' '</body>' '' '<html>') Align = alClient Anchors = [akLeft, akTop, akRight, akBottom] ExplicitLeft = 200 ExplicitTop = 88 ExplicitWidth = 256 ExplicitHeight = 128 end end Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 7, 2018 Share Posted March 7, 2018 Hi, I couldn't reproduce this issue, Can you try it with this demo example?: \FMSoft\Framework\uniGUI\Demos\Desktop\URLFrame(HTML) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 7, 2018 Share Posted March 7, 2018 Sorry, in this demo we use UniURLFrame Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 7, 2018 Share Posted March 7, 2018 Can you use UniURLFrame instead ?! Quote Link to comment Share on other sites More sharing options...
Astrolab Posted March 8, 2018 Author Share Posted March 8, 2018 yes i can and test it it working thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.