locked
Hide modal popup title bar RRS feed

  • Question

  • hi

    can any one share the idea to hide the modal dialog popup title bar ,

    in my scenario i am having a custom application page which open as a modal dialog using

    SP.UI.ModalDialog.showModalDialog(NewPopUp);

    what i want to hide the title bar of that open dialog , i used

     

    <style type="text/css">
      .ms-dlgTitle
            {
                 display:none;
            }
           
            </style>

    it work well but by usng this it hide the tile bar from all the default application page also , can any one suggest the solution so that in default pages it work as it is but in my custom application page i don't want title bar.

     


    regards Vimal
    Tuesday, December 6, 2011 12:33 PM

Answers

  • Hi,

     

    maybe it helps when you write: 

    <style type="text/css">

    body div.ms-dlgBorder div.ms-dlgTitle

    {

     display:none;

    }

    </style>

    The problem is, that the dialog did not have any ID and the classes are used by different elements.

     


    Falco - http://www.msscorner.de
    • Edited by Falco Ostermann Wednesday, December 7, 2011 8:53 PM
    • Marked as answer by star.wars Friday, December 16, 2011 9:28 AM
    Tuesday, December 6, 2011 1:07 PM