Click here to Skip to main content
15,887,822 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to change align of title of open dialog to right in JQuery

C#
$(function () {
        $("#SearchDialog").dialog({
            autoResize: true,
            bigframe: true,
            show: "clip",
            hide: "clip",
            height: 'auto',
            width: '400px',
            autoOpen: false,
            modal: true,
            position: 'center',
            draggable: true,

            title: "کالای جدید",
           
               });
Posted

There is a similar post at JQuery forums. You might want to have a look at this.
 
Share this answer
 
Comments
Morl99 14-Jun-11 6:24am    
yeah just what I thought. Thanks for looking this up! my 5
RakeshMeena 14-Jun-11 6:26am    
Anything for JQuery :)
XML
<style type="text/css">
    .ui-dialog-title {
        float:none !important;
        display: block;
        text-align: center
    }
</style>
 
Share this answer
 
I don't know anything about the JQuery Dialog. But how does the generated html look like? CSS would probably work... text-align:right on the div with the title in it. If you give me details about the html, I can tell you what you have to do exactly. Maybe upload a Demo of your Page somewhere and paste the link!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900