开发者

styling divs with jquery ui title

开发者 https://www.devze.com 2023-03-14 07:58 出处:网络
Is there any way 开发者_C百科i can style a regular div container with the styling applied to jquery dialogs. I basically want to have a div panel with some text content but with title bar styling just

Is there any way 开发者_C百科i can style a regular div container with the styling applied to jquery dialogs. I basically want to have a div panel with some text content but with title bar styling just like the jquery ui dialog boxes.

Thanks in advance.


Well from my understanding the jQuery UI Dialog is something like:

<div> main container
    <div></div> title area
    <div></div> content area
</div>

So you could simply have that structure and apply the appropriate styles?

Here is a lazily plagiarized version from copying some of the styles from the default dialogue.

0

精彩评论

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