半点优化网 http://www.bdxc.net/
当前位置首页 > 网站建设> 正文

网页设计 IFRAME代码问题

2022-09-22 06:21:40 暂无评论 134 网站建设 网页设计   滚动   字体

POSITION: absolute; 绝对定位

TOP: -300px; LEFT: -200px,是指距离顶-300PX,距底-200PX

height=520,这是调用的IFRAME是520PX

src=a_files/2012.htm,这是指调用的文件地址

frameBorder=0,这是指IFRAME无边线

width=698,是指宽度698PX

scrolling=no,是指无滚动条

什么叫HTML,CSS代码?是网页设计的吗?

从美工图到网页的呈现,是需要代码去实现的。HTML、CSS以及JavaScript是网页实现的基本组成部分,可以认为是三种语言。HTML管的是网页的基本结构(比如不同模块如何放置,这种布局操作),CSS处理网页中的样式(如文字的颜色、段落的首行缩进等等),JavaScript管的是网页中的行为,比如你点击了向左向右的按钮,图片发生了滚动等。HTML和CSS不属于网页设计,更确切的说是网页制作。如果结合JavaScript,会被称为前端开发。另外,HTML5和CSS3的发展,为网页添加了很多新特性新功能,涉及这方面的被称为HTML5开发

网页设计字体滚动代码?

  文字滚动是由<marquee></marquee>控制的。marquee的参数如下:1、方向 <direction=#> #=left, right如:<marquee direction=left>啦啦啦,我从右向左移!</marquee><marquee direction=right>啦啦啦,我从左向右移!</marquee>2、方式 <bihavior=#> #=scroll, slide, alternate如:<marquee behavior=scroll>啦啦啦,我一圈一圈绕着走!</marquee><marquee behavior=slide>啦啦啦,我只走一次就歇了!</marquee><marquee behavior=alternate>啦啦啦,我来回走耶!</marquee>3、循环 <loop=#> #=次数;若未指定则循环不止(infinite)如:<marquee loop=3 width=50% behavior=scroll>啦啦啦,我只走 3 趟哟!</marquee><marquee loop=3 width=50% behavior=slide>啦啦啦,我只走 3 趟哟!</marquee><marquee loop=3 width=50% behavior=alternate>啦啦啦,我只走 3 趟哟!</marquee>4、速度 <scrollamount=#>如:<marquee scrollamount=20>啦啦啦,我走得好快哟!</marquee>5、延时 <scrolldelay=#>如: <marquee scrolldelay=500 scrollamount=100>啦啦啦,我走一步,停一停!</marquee>6、对齐方式(Align) <align=#> #=top, middle, bottom如:<font size=6><marquee align=# width=400>啦啦啦,我会移动耶!</marquee></font>7、底色 <bgcolor=#>#=rrggbb 16 进制数码,或是下列预定义色彩:Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime,Fuchsia, White, Green, Purple, Silver, Yellow, Aqua如:<marquee bgcolor=aaaaee>啦啦啦,我会移动耶!</marquee>8、面积 <height=# width=#>如:<marquee height=40 width=50% bgcolor=aaeeaa> 啦啦啦,我会移动耶!</marquee>9、空白(Margins)<hspace=# vspace=#><marquee id=scrollarea direction=up scrolldelay=10 scrollamount=1 width=150 height=80 onmouseover=this。
  stop(); onmouseout=this。start();>------------------------------------------------------------------------------------------------------------------------------<marquee></marquee>以下是1个最容易的例子:代码如下:<marquee><font size=+3 color=red>Hello, World</font></marquee>下边这2个事件常常用到:onMouseOut=this。
  start() :用来设置鼠标移出该区域时继续滚动onMouseOver=this。stop():用来设置鼠标移入该区域时停止滚动代码如下:<marquee >onMouseOut=this。
  start() :用来设置鼠标移出该区域时继续滚动 :用来设置鼠标移入该区域时停止滚动</marquee>这是1个完整的例子:代码如下:<marquee align=left behavior=scroll bgcolor=#FF0000 direction=up height=300 width=200 hspace=50 vspace=20 loop=-1 scrollamount=10 scrolldelay=100 >这是1个完整的例子</marquee>该标签支持的属性多达11个:align设定<marquee>标签内容的对齐方式absbottom:绝对底部对齐(与g、p等字母的最下端对齐)absmiddle:绝对中央对齐baseline:底线对齐bottom:底部对齐(默认)left:左对齐middle:中间对齐right:右对齐texttop:顶线对齐top:顶部对齐。
  

随机文章


    Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/bdxc.net/e/class/connect.php) is not within the allowed path(s): (/www/wwwroot/www.bdxc.net/:/tmp/) in /www/wwwroot/www.bdxc.net/1.php on line 4

    Warning: require(/www/wwwroot/bdxc.net/e/class/connect.php): failed to open stream: Operation not permitted in /www/wwwroot/www.bdxc.net/1.php on line 4

    Fatal error: require(): Failed opening required '/www/wwwroot/bdxc.net/e/class/connect.php' (include_path='.:/www/server/php/56/lib/php') in /www/wwwroot/www.bdxc.net/1.php on line 4