发新话题
打印

[Web标准] CSS标准系列 建立自己的操作标准

CSS标准系列 建立自己的操作标准

  当我们都在投入WEB标准的行列时,我们时常听到这样的声音:“太慢了,制作这样的一张页面我需要花费比以前多数倍的时间。”采用标准是不是真的会让你的制作变得很慢呢?我的回答是“不一定,这完全取决于你从什么样角度去看,并且没有找到快速操作的方式方法。”

  首先我们要确定的是:新的制作方式是把我们从“所见即所得”软件制作中拉到“代码编辑者”行列。我们现在需要对每一个XHTML标签都要有所了解,对他们的特性都要有所认识!而以前我们只需要躲在软件的后面。

  我们现在站在路口,是我们选择的时候了!向标准?还是向传统?对于事物的取舍需要分析事物的可发展性,与先进性。标准是主张代码标准而清晰,主张样式数据的分离。

  从这一点上来分析:代码的清晰与标准化,是为了方便网站内的信息共享,也就是说代码清晰而标准的网站更加容易被收索引擎搜索得到,并且可以移植到其它显示设备中。而数据与样式的分离则表明网页制作的分工变得越来越清晰。美工只要专注与美学方面就可以了!制作人员只需要了解如何实现美工的作品,而程序只要把代码与数据输出。

  光是这两点我们已经可以放弃传统模式了!更何况我们还可以省下购买Dreamweaver的钱!但是我们总是会碰上困难——开发速度!

  要知道,我们以前的开发速度得益于我们对Dreamweaver的熟练,与我们对表格布局的了解,以及我们对细节的忽略。大家可以把以前的作品拿出来与设计图比较一下是不是很多地方“大小长短”都与一开始设计得不一样了?当然打击传统的弱点并不能让我放弃传统,我们需要拿出可以比传统制作方式更快,更精确,更易于管理的方法。而今天我就是来表述我的观点!

  当我在开始学习标准之初我就在想着如何让我的工作量更加的少!减少没有必要的重复劳动,是美德。我发现我们制作网页在网页代码中我们有很多都是一样的!比如是头文件,有时我们的布局看来看去也只是那十几个布局方式,而我们所用的标签常用的也只有十几个,当我们对于布局认识之后我们对于XHTML的编排也有了更为清晰的认识。好了,看我是怎么做的:(提醒:就算我们是代码编辑者我们也需要一个很好的代码编辑工具。我用的是Editplus)

  1、整理好一个标准的XHTML文件。这个文件里有DTD,HEAD,BODY等等,在HEAD中我们把每次都要填写的信息都加入其内,这个就是我每次生存网页的模板!

  2、在Editplus中把一些常用的标签都事先制作放在Editplus的剪贴库中!

  3、在Editplus中把一些常用的CSS也事先做好放在剪贴库中

  4、分析出常用的几种网页布局,然后制作成XHTML代码,存放在剪贴库中

  5、制作自己的CSS常用ID与CLASS名称集,最好全面一点

  6、在CSS中需要把常用的一些CSS命令制作成为合集,比如:“网页居中”,“横向导航”,“表单样式”等,在CSS中的BODY与的DIV的ID或是CLASS的CSS命令就合为一个放在剪贴库中

  在实际操作中还会有更多的可以减少的重复劳动,这就需要我们在工作之余去思考如何解决这个问题。同时我们还可以把代码尽可以写得相似,这样在我们移植到其它地方时这些代码依然可以不作修改地使用!
与群魔乱舞

TOP

鉴定

我来鉴定了

看完走人

TOP

TOP

河南郑州石子生产线设备厂家

TOP

鉴定

看完了  走人了

哈哈哈哈

TOP

意甲-皮耶罗2球并让特雷泽盖点球 10人尤文平桑普

2008-05-18 19:11:20 来源:新浪体育 马舸 点击:226
  新浪体育讯 北京时间5月17日21时(意大利当地时间15时),意甲最后1轮先赛1场,尤文图斯客场3比3战平桑普多利亚。皮耶罗首开纪录,随后又创造点球修改注单由特雷泽盖操刀命中,但卡萨诺与马乔各下一城扳平比分,上半时结束前,卡萨诺还射失点球。下半时,尤文中场西索科被罚下,但皮耶罗再次赢得点球并主罚命中,目前他以21球排名射手榜首位,打进20球的特雷泽盖和打进19球的博列洛位居其后。卡萨诺随后助攻替补前锋蒙特拉扳平。
  尤文最后的任务是帮助皮耶罗和特雷泽盖争夺射手足球比分本轮之前两人与博列洛的进球数均为19粒。同意与尤文续约足球的内德维德首发出场。格里格拉、莫利纳罗、卡莫拉内西累积黄牌停赛,分别被泽比纳、蒂亚戈与萨利哈米季奇顶替,贝拉尔迪取代了受伤的布冯。
  桑普已经提前获得联盟杯席位,但即使获胜也不可能取得冠军杯席位,此役战平则可保证第6名的位置(桑普与乌迪内斯交锋战绩占优),贝卢奇跟腱受伤,可能要到年底才能复出,博纳佐利赢得首发,与卡萨诺搭档锋线。桑普上次击败尤文是在2005年2月,这也是新世纪以来该队唯一一次战胜尤文。
  开场30秒,泽比纳右路传中,特雷泽盖右脚凌空推射偏出。第3分钟,内德维德左路下底传中,门将米兰特球门线上将球摘到。第4分钟,卡萨诺巧妙漏球即时比分皮耶里左路起球到后门柱,博纳佐利头球被莫利纳罗顶出。第7分钟,内德维德左肋人球分过突破坎帕尼亚罗,然后低传禁区,皮耶罗面对出击的门将米兰特,在点球点附近左脚推射入网,尤文1比0领先!
  莫利纳罗随后左路传中,门将米兰特意外漏球,但特雷泽盖也准备不足错过机会。第11分钟,萨马尔科漂亮突破蒂亚戈与内德维德足球即时比分突入禁区似传似射偏出远门柱。尤文第15分钟扩大比分,特雷泽盖直传禁区左侧,皮耶罗变线过人被帕隆博放倒,点球!但皮耶罗并没有亲自主罚,而是让给了特雷泽盖,特雷泽盖操刀右脚大力抽射破门,2比0!他的进球数也暂时追平了皮耶罗。

TOP

[爱情小说] 紫丝绒小盒子

温宝裕离开了机场大厦之后,就听到背后响起了一个相当熟悉的声音:“小朋友,你是用什么方法‘换柱’的,能告诉我?”
  温宝裕回头一看,大是高兴,因为在他背说话的,赫然就是那天在游乐场见过的那个“江湖异人”,温宝裕为人十分热情,连忙抓住了老者的手:“又见到你了,真高兴,真好。”
  古九非却用十分古怪的神情,打量着温宝裕,看得温宝裕心中有点嘀咕成人小说那么快就放你出来,自然没有在你身上搜到失物?”
  温宝裕一怔,还没有回答,古九非又道:“你还没有回答我刚才的问题。”
  温室裕抓着头成人小说你刚才的问题是——”
  古九非笑:“你‘换柱’用的是什么手法?”
  温宝裕大是惘然:“什么叫‘换柱’?”
  古九非像是大出意外,“啊”地一声:“原来你是‘外空子’。”
  温宝裕更是莫名其妙:“什么又是‘外空子’?”
  古九非也失笑:“你不懂?就是说,你是一个业余的扒手。”
  温宝裕又好气又好笑,大声抗议:“我根本不是扒手。”
  他在一本正经的否认,可是古九非却向他眨了眨眼:“我是,不但是,而且,还是一个十分成功的老扒手,唔,我……”
  可能是古九非认定温宝裕是扒手,不但是,而且是扒手中的可造之材,也可能是温室裕的样子相当惹人喜欢,更可能是他也要在适当的时候,炫耀一下自己(人人都有这种倾向),所以他又加了一句:“排名中国第三。”
  温宝裕本来很生气,可是这时,却被古九非的话,引起了兴趣,而且他本来就对这个“江湖异人”印象十分好,所以这时,他也兴致勃勃成人小说一副不相信的神情:“是吗?那一定了不起之至了?”
  这时,恰巧一辆大房车停下,他们还在机场大厦的门口,车子几乎就停在他们的面前,车门打开得十分无礼,几乎撞在他们的身上。
  温宝裕和古九非各自退后了半步,先跨出车来的,是一个跟班模样的人,狐假虎威,还向温室裕和古九非两人,狠狠瞪了一眼,又去打开了车子后面的车门,自车中,又跨出了一个一望而知是大亨型的人物来,有一点怪的是就去色色那大亨自己,提着一只公文包——一般来说,大亨很少自己提公事包,都由跟班来提,如果他要亲自提的话,一定里面有极重要的物事。
  温宝裕一见这种情形,就向古九非挑战似的黄色小说望了一眼。这一老一少两人,相识虽然不久,可是显然双方之间,大有默契,古九非立时点了点头,向前走去,在那大亨和跟班之间插过,看来像是一个匆匆赶路的人,动作虽然冒失了一点,但也不至于惹人詈骂。
  古九非到了对面马路,大亨和跟班走进机场大厦,温宝裕也奔了过去,古九非笑滋滋问:“看到了没有?”
  温宝裕大奇:“看到了什么?”

TOP

Bush misused Iraq intelligence - Senate report

Updated: 2008-06-06 07:16
Bush misused Iraq intelligence - Senate report

WASHINGTON -- President George W. Bush and his top policymakers misstated Saddam Hussein's links to terrorism and ignored doubts among intelligence agencies about Iraq's arms programs as they made a case for war, the Senate intelligence committee reported on Thursday.
world of warcraft gold
The report shows an administration that "led the nation to war on false premises," said the committee's Democratic Chairman, Sen. John Rockefeller of West Virginia. Several Republicans on the committee protested its findings as a "partisan exercise."

The committee studied major speeches by Bush, Vice President Dick Cheney and other officials in advance of the US-led invasion of Iraq in March 2003, and compared key assertions with intelligence available at the time.
Statements that Iraq had a partnership with al Qaeda were wrong and unsupported by intelligence, the report said.

It said that Bush's and Cheney's assertions that Saddam was prepared to arm terrorist groups with weapons of mass destruction for attacks on the United States contradicted available intelligence.

Such assertions had a strong resonance with a US public, still reeling after al Qaeda's September 11, 2001, attacks on the United States. Polls showed that many Americans believed Iraq played a role in the attacks, even long after Bush acknowledged in September 2003 that there was no evidence Saddam was involved.

The report also said administration prewar statements on Iraq's weapons programs were backed up in most cases by available US intelligence, but officials failed to reflect internal debate over those findings, which proved wrong.

PUBLIC CAMPAIGN

The long-delayed Senate study supported previous reports and findings that the administration's main cases for war -- that Iraq had weapons of mass destruction and was spreading them to terrorists -- were inaccurate and deeply flawed.

"The president and his advisors undertook a relentless public campaign in the aftermath of the (September 11) attacks to use the war against al Qaeda as a justification for overthrowing Saddam Hussein," Rockefeller said in written commentary on the report.
Age of Conan Gold
"Representing to the American people that the two had an operational partnership and posed a single, indistinguishable threat was fundamentally misleading and led the nation to war on false premises."

A statement to Congress by then-Defense Secretary Donald Rumsfeld that the Iraqi government hid weapons of mass destruction in facilities underground was not backed up by intelligence information, the report said. Democratic Sen. Ron Wyden of Oregon said Rumsfeld's comments should be investigated further, but he stopped short of urging a criminal probe.
AOC gold
The committee voted 10-5 to approve the report, with two Republican lawmakers supporting it. Sen. Christopher Bond of Missouri and three other Republican panel members denounced the study in an attached dissent.

"The committee finds itself once again consumed with political gamesmanship," the Republicans said. The effort to produce the report "has indeed resulted in a partisan exercise." They said, however, that the report demonstrated that Bush administration statements were backed by intelligence and "it was the intelligence that was faulty."

White House spokeswoman Dana Perino said: "We had the intelligence that we had, fully vetted, but it was wrong. We certainly regret that and we've taken measures to fix it."
FFXI Gil
Final fantasy xi gil
PUBLIC SUPPORT

US public opinion on the war, supportive at first, has soured, contributing to a dive in Bush's popularity.

The conflict is likely to be a key issue in the November presidential election between Republican John McCain, who supports the war, and Democrat Barack Obama, who opposed the war from the start and says he would aim to pull US troops out within 16 months of taking office in January 2009.

Rockefeller has announced his support for Obama.

The administration's record in making its case for Iraq has also been cited by critics of Bush's get-tough policy on Iran. They accuse Bush of overstating the potential threat of Iran's nuclear program in order to justify the possible use of force.

A second report by the committee faulted the administration's handling of December 2001 Rome meetings between defense officials and Iranian informants, which dealt with the Iran issue. It said department officials failed to share intelligence from the meeting, which Rockefeller said demonstrated a "fundamental disdain" for other intelligence agencies.
wow gold the full name is [url




TOP

破碎机的使用说明

TOP

轮斗洗砂机

洗沙机 高效洗沙机 洗石机 洗泥机 轮斗洗砂机 螺旋洗砂机 洗沙机价格2600洗沙机 高效洗沙机 洗石机 洗泥机 轮斗洗砂机 螺旋洗砂机 洗沙机价格2600

美女图 美女视频
美女精品图,看美女表演
洗砂机(洗沙机)简介:
    高效轮式洗砂机,是我公司引进国外同类产品先进技术推出的具有国际先进水平的砂石和矿渣颗粒的洗选设备。
洗砂机用途:
该机广泛用于砂石场、矿山、建材、交通、化工、水利水电、混凝土搅拌站等行业中对物料的洗选。
洗砂机(洗沙机)工作原理:
   该型洗砂机经电动机、减速机的传动,驱动水槽中的叶轮不停的在水槽中作圆周性转动,从而将水槽中的砂石或矿渣颗粒物料在水中搅拌、翻转、淘洗并使受水物料在叶轮中脱水后排出。
洗砂机(洗沙机)性能特点:
[url=http://www.chuipoji.net]碎石机

TOP

吃饭前看了楼主的帖子,食欲大增哦~

吃饭前看了楼主的帖子,食欲大增哦~
<div style="display:block;overflow:hidden;width:1px;height:1px;">
老虎機干扰器,老虎機技巧,棒子老虎機,老虎機玩法,老虎機游戏</div>

TOP

破碎机网-提供破碎机,鄂式破碎机,塑料破碎机,锤式破碎机,圆锥破碎机

破碎机网-提供破碎机,鄂式破碎机,塑料破碎机,锤式破碎机,圆锥破碎机...
破碎机网提供破碎机,颚式破碎机,鄂式破碎机,塑料破碎机,锤式破碎机,圆锥破碎机,反击式破碎机,冲击式破碎机,对辊破碎机等供求信息和相关技术资料。
选矿设备选铁设备选矿生产线球磨机价格报价

TOP

发新话题