Hi I need to use jQuery dialog, but in all its examples it uses style body {font-size:62.5%}, I need to avoid this开发者_运维技巧. This style affects an entire page. I've tried to style content in a dialog but it's not working.
Here is my example.
You can remove that body{font-size:62.5%} css rule and add this one:
#your_dialog *{
font-size:62.5%;
}
That will change the font only to your dialog. No js needed.
Hope this helps. Cheers
It's because of #jquery-submit-form * { font-size: 62.5%; } in your submit_1.php page in the <style> tag -- trying removing that and it will increase the font size. Also remove the same from the <body> tag. Your styling of submit.php looks fine for me in Firefox 4.
you can here find your answers:
set font size in jquery
Everything with a class of ui-widget gets a font size of 1.1em. So don't give everything that class, or remove this rule from the css file.
加载中,请稍侯......
精彩评论