开发者

how to display contplaceholder in the center of the browser [closed]

开发者 https://www.devze.com 2022-12-17 21:00 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorica开发者_运维技巧l andcannot be reasonably answered in its current form.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorica开发者_运维技巧l and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

can somebody tell me how can i open my contentplaceholder in the center of the browser.


The contentplaceholder itself does not render any html. You can however put a div around the contentplaceholder in your masterpage and assign any css style to it.

In order to center a div in css you need to use

margin-left: auto; 
margin-right: auto;

Hope it helps

0

精彩评论

暂无评论...
验证码 换一张
取 消