zoukankan
html css js c++ java
一段奇怪的HTML代码
一段奇怪的HTML代码,居然在IE(IE 6.0)里没有滚动效果,而在FireFox里有(相信原意是想做成滚动的):
<
table
cellpadding
=2
cellspacing
=0
style
="font-size:9pt ;color: ;background: ;align:left ;480 ;height: ;"
align
='2'
valign
='2'
width
='100%'
height
='100%'><tr
bgcolor
='#53a618'><td
style
="text-align:left;color:#ffffff;font-size:nullpt;height:22;"
>
上海市今明天气预报
</
td
></
tr
><
tr
><
td
vAlign
=top
style
='border:solid
#53a618 1px;border-top:0px'
><
marquee
onmouseover
="javascript:this.stop()"
onmouseout
="javascript:this.start()"
scrollAmount
="1"
scrollDelay
="60"
width
="98%"
height
="98%"
direction
=up><table
style
="font-size:9pt ;color: ;background: ;align:left ;480 ;height: ;"
cellpadding
='5'><tr><td><p><span>上海中心气象台预报稿
上海中心气象台2005年01月08日21时发布的今夜和明天上海市天气预报:
多云,明天晴到多云。
偏北风4-5级,
明天最高温度6度,最低温度零度,局部地区有薄冰。
今天相对湿度40%--80%, 明天相对湿度40%--80%. </span
></
li
></
td
></
tr
></
table
></
marquee
></
td
></
tr
></
table
>
不知道有什么玄机,让IE不会滚动<marquee>中的内容。初步实验,觉得是外层table的一些style与marquee在IE中有些冲突吧。呵呵,毕竟IE支持CSS2也不够彻底……
查看全文
相关阅读:
Angular 项目打包之后,部署到服务器,刷新访问404解决方法
C# yield return; yield break;
C#获取枚举描述
21、uwp UI自动化测试(WinAppDriver)
20、uwp打包失败(All app package manifests in a bundle must declare the same values under the XPath *[local-name()='Package']/*[local-name()='Dependencies'])
19、UWP 新特性(Creator Update)
18、利用 Windows Device Portal 获取用户闪退 dump
17、uwp 打包失败记录
爱奇艺招聘uwp开发
16、C++获取磁盘空间的方法
原文地址:https://www.cnblogs.com/wonderow/p/88837.html
最新文章
LeetCode题解【题2】:两数相加
Spring MVC原理简要概括
MVC中model、dao、view、controlller、service之间的关系
linux下android sdk安装使用
Android meun
将pip源更换到国内镜像
css3 选择器
js 冒泡 捕获
tornado ThreadPoolExecutor
node.js
热门文章
python fabric使用 http://fabric-chs.readthedocs.io/zh_CN/chs/tutorial.html
python3带参数的装饰器 函数参数类型检查
python 写文件
Navicat 无法使用 root 用户连接 mysql
.net core 使用GB2312
.net core二维码生成
HttpClientFactory删除
C# 对List取交集、差集以及并集
SqlServer查询字段属于哪个表
C# httpPost
Copyright © 2011-2022 走看看