首页
学习
活动
专区
工具
TVP
发布

java大数据

专栏作者
627
文章
442433
阅读量
29
订阅数
css当中overflow用法
5.overflow 例 1.5 <html> <head>     <meta http-equiv="content-type" content="text/html; charset=utf-8"/>     <style type="text/css">         div         {             background-color:#00FFFF;             width:100px;             height:100px;             overflow: scroll         }     </style> </head> <body> <p>如果元素中的内容超出了给定的宽度和高度属性,overflow 属性可以确定是否显示滚动条等行为。</p> <div>     这个属性定义溢出元素内容区的内容会如何处理auto|visible|hidden|scroll。如果值为 scroll,即使元素框中可以放下所有内容也会出现滚动条。马克-to-win:auto最好。默认值是 visible,怎么都能看见。溢出也能看见。 </div> </body> </html> 例 1.5_a <html> <head>     <meta http-equiv="content-type" content="text/html; charset=utf-8"/>     <style type="text/css">         div         {             background-color:#00FFFF;             width:700px;             height:50px;             overflow: auto         }     </style> </head> <body> <p>如果元素中的内容超出了给定的宽度和高度属性,overflow 属性可以确定是否显示滚动条等行为。</p>
马克java社区
2020-11-30
9700
css当中background的问题
更多请见 https://blog.csdn.net/qq_44594371/article/details/103063944
马克java社区
2020-11-27
8310
css当中hover用法
6.hover 例 1.6 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <style type="text/css"> #mymenu{ border: 1px solid black; /* refer to favo.dbk2008.com style.borderBottomWidth (Property) it corresponding CSS syntax: border-bottom-width: aWidth */ border-bottom-width: 4; width: 150px; background-color: #FF0000; } #mymenu a{ /*Elements having the display property set to "block" will be forced to start on a new line. qixy: this attribute can not be omitted.*/ display: block; /* the next statement is crucial, otherwise, there is no line inside the div. */ border-bottom: 1px solid black; } #mymenu a:hover{ font:bold 14pt Verdana; background-color: #ddddff; } </style> </head> <body> <div id="mymenu"> <a href="http://www.zhangsan.com/ ">张三</a> <a href="http://www.qixy.com">马克-to-win</a> <a href="http://www.lisi.com/">李四</a> </div> </body> </html>
马克java社区
2020-01-07
1K0
javascript当中link 的alternate stylesheet 用法
例 6.4:linkChangeCssFileIEFF.html 切换css文件:document.getElementsByTagName("link"); <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <TITLE> New Document </TITLE> <!-- 马克-to-win: here the idea is that for the whole page, sometimes, we use this css, sometimes, we use that css, with this method, we can switch. with this method, we can switch skin. "alternate stylesheet"是备用样式。 --> <link rel="alternate stylesheet" href="a.css" type="text/css" title="red" /> <link rel="stylesheet" href="b.css" type="text/css" title="green" /> <link rel="alternate stylesheet" href="c.css" type="text/css" title="blue" /> <script language="javascript"> function setActiveStyleSheet(t) { var links = document.getElementsByTagName("link"); links[0].disabled=false; links[1].disabled=true; links[2].disabled=true; alert(links[0].disabled+""+links[1].disabled+links[1].getAttribute("title")+links[2].getAttribute("href")); } </script> </HEAD> <body> 更多请见:https://blog.csdn.net/qq_43650923/article/details/102650892
马克java社区
2020-01-06
5760
javascript中html当中如何引用css文件
1.html当中如何引用css文件 马克-to-win:css:Cascading Style Sheets 例 1.1 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title></title> <!-- LINK.rel (Property) The relationship between the current element and the remote document. --> <link href="outer.css" rel="stylesheet"> </head> <body> <table width="190" height="80" border="2" > <tr> <td >张三</td> </tr> <tr> <td>qixy</td> </tr> <tr> <td>李四</td> </tr> <tr> <td>王五</td> </tr> </table> </body> </html> outer.css: table { background-color: #0000ff; } td { /*the following statement make the border to show, because of the different color.*/ background-color: #FF0000; }
马克java社区
2019-11-26
2.3K0
Scala当中什么是Transformation和 Action,以及它们俩的区别是什么?
一个完整的RDD任务由两部分组成:Transformation和 Action。Transformation用于对RDD的创建,还可以把老的RDD通过Transformation来生成新的RDD。例如,map就 是一种transformation操作,它用于将已有RDD的每个元素传入一个自定义的函数,并得到一个新的元素,然后将所有的新元素组成一个新的 RDD。但RDD一大特性是延迟(lazy)计算,即纵使你执行这些Transformation操作,这些操作也不会执行。换句话说, transformation操作不会触发spark程序执行的,它们只是先记录了对RDD所做的一系列操作,只有之后碰上一个action操作,那么前 面所有的transformation才会执行。collect和reduce就是action操作。
马克java社区
2019-07-16
7520
没有更多了
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档