New Page dialog takes master page style
-
15 กันยายน 2553 16:09I am designing a master page for my companies intranet. I started out with the simple master page that is included. I built my html and created a custom style sheet. Everything appears to work just fine. Except when I click Site Actions > New Page and I get the New Page dialog box, the box takes the style of my master page. It includes the banner and the navigation bar and squishes everything together. The textboxes are still there and they work just fine, but how do I get that box to not take the master page layout?
ตอบทั้งหมด
-
15 กันยายน 2553 16:14
Make sure that things on th emaster page that shouldn't show up in a dialog box use the 's4-notdlg' css style. That will filter them out of a dialog.
Paul Stork SharePoint Server MVP- เสนอเป็นคำตอบโดย James Yarnell 15 กันยายน 2553 17:20
- ทำเครื่องหมายเป็นคำตอบโดย dmiller21283 15 กันยายน 2553 17:58
-
15 กันยายน 2553 16:32
Just to clarify on Paul's post. You add the 's4-notdlg' class and not replace your classes.
i.e. style="my-intranet" would become style="my-intranet s4-notdlg"
Then your style will show up on normal pages but not dialog boxes.
- เสนอเป็นคำตอบโดย James Yarnell 15 กันยายน 2553 17:20
- ทำเครื่องหมายเป็นคำตอบโดย dmiller21283 15 กันยายน 2553 17:58
-
15 กันยายน 2553 17:58That worked!! Thanks. You guys are awesome!!