FLex组件之滚动条(ScrollBar)CSS美化
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Style>
ScrollBar
{
/*划动块图片皮肤*/
thumbDownSkin: Embed(source="scrollBar/thumb.gif",
scaleGridTop=2,
scaleGridLeft=2,
scaleGridBottom=4,
scaleGridRight=4
);
thumbOverSkin: Embed(source="scrollBar/thumb.gif",
scaleGridTop=2,
scaleGridLeft=2,
scaleGridBottom=4,
scaleGridRight=4
);
thumbUpSkin: Embed(source="scrollBar/thumb.gif",
scaleGridTop=2,
scaleGridLeft=2,
scaleGridBottom=4,
scaleGridRight=4
);
/*划动块中间图片(翻页图片)皮肤*/
thumbIcon: Embed("scrollBar/thumbIcon.gif");
/*轨迹图片(划动路径图片)皮肤*/
trackSkin: Embed("scrollBar/trackBack.jpg");
相关文档:
#weblmenu
{
height:22px;
width:700px;
float:left;
display:inline;
text-align:left;
}
#weblmenu ul
{
height:22px;
width:700px;
text-align:left;
float:left;
}
#weblmenu ul li
{
height:22px;
width:110px;
float:left;
list-style-type:none;
text-align:center;
word-break:break-all;
} ......
语法:
border-width : medium | thin | thick | length
参数:
medium : 默认宽度
thin : 小于默认宽度
thick : 大于默认宽度
length : 由浮点数字和单位标识符组成的长度值。不可为负值。请参阅长度单位
说明:
如果提供全部四个参数值,将按上-右-下-左的顺 ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
<mx:Script>
<![CDATA[
//导入 ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" layout="absolute" creationComplete="initApp()">
<mx:Script>
<![CDATA[
public var pageRecordes:uint = 8;
public var totalPages:ui ......
僞类 意义
:first-child 第一个孩子元素
:first-line&nb ......