web前端|js教程
JS轻松实现CSS设置,DIV+CSS常用CSS设置
web前端-js教程
早些时候见过一个鸟日本人写的DW中的样式设置/uploads/07/css/index.htm,写了一大堆的代码,靠,现在派不上用场,小鸽子写了一个更好的样式生成器,适合DIV+CSS架构的网页。
(在网吧做网页的朋友,可以使用这个呀!)将常用的样式写了出来,做成DW的扩展插件多好,麻烦高手把他做成DW的扩展插件:
小鸽子个人网:/[网址助记:新白娘子]
IP流量网站源码,vscode摸鱼插件哪个好,ubuntu与caffe,tomcat卡死无日志,ebay女装爬虫,iis php 显示错误,重庆市短视频seo,摄影网站模板源码,lol模板lzw
免费p2p网贷系统源码,打开一个新的vscode,ubuntu执行.c,tomcat提示已经被使用,爬虫加热石,php上拉加载更多,巴南专业的seo优化公司lzw
<!– function hoverInput(obj,n) {if(n==1){if(obj.tagName=="INPUT" && obj.type=="text"){obj.className=hover_input;}}else{ if(obj.tagName=="INPUT" && obj.type=="text") { obj.className= ormal_input; if(obj.value!=\ && !isNaN(obj.value.substring(obj.value.length-1)))obj.value+=px; }}setSelectionWithCss(2); } var allCSSsetterCode = ""; function setSelectionWithCss(funnum) {isSetting(vcssWidth,"width");isSetting(vcssHeight,"height");isSetting(vcssBackgroundColor,"background-color");isSetting(vcssColor,"color");isSetting(vcssBorderWidth,"border-width");isSetting(vcssBorderColor,"border-color");isSetting(vcssBorderdStyle,"border-style");isSetting(vcssMargin,"margin");isSetting(vcssPadding,"padding");isSetting(vcssFloatResult,"float");isSetting(vcssDisplay,"display");isSetting(vcssVisibilityResult,"visibility");isSetting(vcssTextAlign,"text-align");isSetting(vcssLineHeight,"line-height");isSetting(vcssTextIndent,"text-indent");isSetting(vcssFontSize,"font-Size");isSetting(vcssFontFamily,"font-family");isSetting(vcssFontWeight,"font-weight");isSetting(vcssDecorationResult,"text-decoration");isSetting(vcssPosition,"position");isSetting(vcssZIndex,"z-index");isSetting(vcssLeft,"left");isSetting(vcssRight,"right");isSetting(vcssTop,"top");isSetting(vcssBottom,"bottom"); isSetting(vcssPositionResult,"list-style-position");isSetting(vcssCursor,"cursor");isSetting(vcssBackgroundRepeat,"background-repeat");isSetting(vcssBackgroundAttachment,"background-attachment");isSetting(vcssListStyleType,"list-style-type");isSetting(vcssOverflow,"overflow");isSetting(vcssClear,"clear");isSetting(vcssVerticalAlign,"vertical-align");if(vcssBackgroundImage.value!="")allCSSsetterCode+="background-image:url("+vcssBackgroundImage.value+");";if(vcssBackgroundPositionX.value!="" && vcssBackgroundPositionY.value!="")allCSSsetterCode+="background-position:"+vcssBackgroundPositionX.value+" "+vcssBackgroundPositionY.value+";";if(vcssListStyleImage.value!="")allCSSsetterCode+="list-style-image:url("+vcssListStyleImage.value+");";if(funnum==1){ alert(allCSSsetterCode);}else{ var everyRule = allCSSsetterCode.split(;); var resultCSSTEXT=vcssIdentName.value+"\r\n{\t"; for(var v=0;v
var sInitColor = null; function callColorDlg(obj){ if (sInitColor == null)var sColor = dlgHelper.ChooseColorDlg(); elsevar sColor = dlgHelper.ChooseColorDlg(sInitColor); sColor = sColor.toString(16);if (sColor.length < 6) { var sTempString = "000000".substring(0,6-sColor.length); sColor = sTempString.concat(sColor); } if(sColor!="000000"){ sColor = "#" + sColor; obj.value=sColor; obj.style.backgroundColor=sColor; }}
安卓答题系统免费源码,vscode 自己搭建git,ubuntu克隆ssh,tomcat 查看多少位,sqlite3数据库切割,美团外卖商家数据分析工爬虫工具,王者荣耀 php,安庆seo网络推广方法,全景网站互动模板,html 扁平化 模板lzw
类/标签/ID:
所有数值都不用输入单位;
宽:
高:
背景色:
前景色:
边框:
颜色:
选择soliddottednonehiddendasheddoublegrooveridgeinsetoutset
外间距 Margin :
如:10px 2px
内间距 Padding:
如:10px 2px
浮动: 左
右
×
显示:选择blockinlinenone
可见:可见
隐藏
×
文本对齐:选择leftcenterright
行高:
%无px
文字缩进:
文本:
字体:
选择宋体黑体Arial雅黑
粗细:
效果:下划线
无
×
背景图片:
重复:选择横向重复纵向重复不重复
水平位置:
垂直位置:
附件:选择固定滚动
垂直对齐:选择middlebottomtopautobaseline
清除:选择leftrightboth
Overflow:选择scrollautohidden
定位:选择绝对相对
Z坐标:
left:
top:
right:
bottom:
UL列表:类型选择nonedisccirclesquaredecimal
图像:
位置:内
外
×
光标:
选择默认手文本移动crosshairdefaultpointerhandmovehelpwaittextw-resizes-resizen-resizee-resize
这是一个使用了复杂的样式的DIV,你可以使用获取CSS来获取这个CSS
[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]