Monday, June 29, 2009

Common Doctype Difference

Most of designers will remove doctype for their html files. This is most easy way to get what they wanted. Such as 100% table and center all the contents. If you do this. You never pass W3C Validation. But we choose one doctype. Some of effect will be disabled. I tried to list some common difference for the doctype.



!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

Most of old version browser will support this type. And this doctype is the most similar to remove doctype effect.

  • Support - Height 100%

  • Support - IE Scrolling Bar Coloring

  • Not Support - Margin:0 Auto

  • Getting error for appling Img Padding and Border





!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"

One of Dreamweaver selection doctype

  • Not Support - Height 100% (If you need to do 100%, you need to set html and body to 100% at your CSS sheet)

  • Not Support - IE Scrolling Bar Coloring

  • Support - Margin:0 Auto

  • Support- Img Padding





!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&

Another one of Dreamweaver selection doctype. Xhtml type is almost no difference than above one. But you need to take care for writing html code at Xhtml file. The structure of coding is need at XHTML file.

  • At html file you can write

  • <strong><p>Content</strong></p>

  • But at XHTML type it will become an error

  • You also need to close the <br> tag be <br />




There are other difference doctype at html setting. If you have an interest. You can search it at Google. There is a lot of result for detail informations.


Powered by: i-web-design.org:Web Design,SEO Company | Smart-Info: Web Hosting,Web Design

Thursday, June 4, 2009

Doctype 基本屬性比較

Doctype 很容易會影響Layout上的表現,很多設計師為了方便直接地把Doctype刪除。可是這樣子是不能通過W3C的檢測。可是用上Doctype又做不到想要的東西。在這裡先說明一下doctype和常用的屬性通用性。



!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"


老舊版本的瀏覽器多半是相容模式,基本上是最接近將Doctype刪除的Doctype。

  • Height 100% 支援

  • Margin 0 Auto 不支援

  • IE Scrolling Bar轉色支援

  • Img Padding 和Border 共時使用會出現問題




!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"


Dreamweaver預計時提供的DTD文件之一

  • Height 100% 不支援 (需要在Body中加入Height 100%,FireFox則需於Body及Html加入Height 100%)

  • Margin 0 Auto 支援

  • IE Scrolling Bar轉色不支援

  • Img Padding 支援




!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" ""


Dreamweaver預設時提供的DTD文件之一,Xhtml的內碼會比較特殊。 如<BR/> <P/>
,要求亦比較嚴肅…詳細不在此說明。

  • Height 100% 不支援 (需要在Body中加入Height 100%,FireFox則需於Body及Html加入Height 100%)

  • Margin 0 Auto 支援

  • IE Scrolling Bar轉色不支援

  • Img Padding 支援








Powered by

i-web-design.org:Web Design,SEO Company

Smart-Info: Web Hosting,Web Design

aacez.eu.org aagmo.eu.org aalks.eu.org aasid.eu.org aazps.eu.org abbmg.eu.org abeiy.eu.org abekg.eu.org abekj.eu.org abekr.eu.org abeld.eu.org abelr.eu.org abemm.eu.org abhth.eu.org abiir.eu.org abiiz.eu.org abilx.eu.org abisq.eu.org abkns.eu.org abmbd.eu.org absml.eu.org abyxx.eu.org abzvt.eu.org acaft.eu.org acaiz.eu.org acdci.eu.org aceyl.eu.org acmgf.eu.org acsre.eu.org acupr.eu.org acuwe.eu.org adayg.eu.org addsz.eu.org addzg.eu.org adkdf.eu.org adkyo.eu.org adoeh.eu.org adpem.eu.org adpxl.eu.org aebtv.eu.org aefri.eu.org aewag.eu.org afgcu.eu.org afmsf.eu.org afoti.eu.org afscd.eu.org afsnw.eu.org afswv.eu.org afthr.eu.org aftvn.eu.org afxal.eu.org afyah.eu.org agegm.eu.org agizu.eu.org agmfp.eu.org agwsc.eu.org agyde.eu.org ahaox.eu.org ahkei.eu.org ahkwa.eu.org ahqan.eu.org ahrel.eu.org ahsuk.eu.org aiabj.eu.org aiddr.eu.org aiepd.eu.org aiinx.eu.org aisqu.eu.org aixik.eu.org aiyst.eu.org ajbbq.eu.org ajqcj.eu.org ajzyq.eu.org akelm.eu.org akstb.eu.org akwmp.eu.org alaxp.eu.org alchr.eu.org aldhm.eu.org alduv.eu.org alfnw.eu.org alrma.eu.org alukd.eu.org alysr.eu.org amabh.eu.org amacj.eu.org amacq.eu.org amahh.eu.org amaxu.eu.org amdob.eu.org amduf.eu.org amgdc.eu.org amggp.eu.org amlzb.eu.org amniz.eu.org ampyf.eu.org amqco.eu.org amxcn.eu.org ancng.eu.org andmh.eu.org angfj.eu.org anouf.eu.org anzoc.eu.org anzze.eu.org aobtv.eu.org aogog.eu.org aohct.eu.org aokov.eu.org aomaz.eu.org aombr.eu.org apbaf.eu.org apcex.eu.org apoad.eu.org aqfin.eu.org aqxwy.eu.org aqzqc.eu.org arckt.eu.org ariuh.eu.org artxk.eu.org aruab.eu.org arwnd.eu.org ascox.eu.org asdoy.eu.org ashkk.eu.org ashqh.eu.org asibv.eu.org asjha.eu.org asjhx.eu.org asnsx.eu.org asttb.eu.org asuwb.eu.org atbom.eu.org atdha.eu.org atlsn.eu.org atpfl.eu.org atrpr.eu.org attda.eu.org attru.eu.org atumc.eu.org atwcn.eu.org aunum.eu.org aurym.eu.org ausnn.eu.org awbid.eu.org aweib.eu.org awgdk.eu.org awjfc.eu.org awocc.eu.org axhmy.eu.org axsre.eu.org aybes.eu.org aybln.eu.org ayibe.eu.org ayliu.eu.org aymah.eu.org aywed.eu.org azgnn.eu.org azown.eu.org baiwq.eu.org bamiz.eu.org bayqt.eu.org baywu.eu.org bbcav.eu.org bbmex.eu.org bbnoc.eu.org bcfra.eu.org bcjac.eu.org bcnad.eu.org bdcit.eu.org bdizi.eu.org bemou.eu.org benwl.eu.org bepka.eu.org bepvn.eu.org bescr.eu.org bfaiv.eu.org bfetc.eu.org bfmoh.eu.org bgany.eu.org bgofc.eu.org bhidd.eu.org bhmrx.eu.org bhopp.eu.org bhton.eu.org biocx.eu.org bitju.eu.org bivoz.eu.org biyoe.eu.org blahq.eu.org blcea.eu.org blgus.eu.org blkhi.eu.org boeii.eu.org bofuk.eu.org bohja.eu.org bomcz.eu.org bopsh.eu.org bosdn.eu.org botld.eu.org bowuz.eu.org bpcsl.eu.org bpofc.eu.org bqtex.eu.org brfav.eu.org brore.eu.org bskna.eu.org bsmam.eu.org btboe.eu.org bueks.eu.org buluy.eu.org bumde.eu.org bunpu.eu.org bunur.eu.org bycni.eu.org byduk.eu.org bynuo.eu.org byrag.eu.org bzgay.eu.org bzljh.eu.org cadzg.eu.org caffz.eu.org cafyf.eu.org cagtx.eu.org caibn.eu.org cankk.eu.org caoee.eu.org capbi.eu.org caupp.eu.org cbben.eu.org cbfra.eu.org cchad.eu.org ccsod.eu.org ccvig.eu.org ceorp.eu.org cesjb.eu.org ceslv.eu.org cfahm.eu.org cfeol.eu.org cfgod.eu.org cfilo.eu.org cfjal.eu.org cflaz.eu.org cfqzu.eu.org cfrim.eu.org cfrun.eu.org cfseq.eu.org cftus.eu.org cgces.eu.org cgiri.eu.org chcbi.eu.org chiqx.eu.org chnlu.eu.org chrho.eu.org chsut.eu.org chsye.eu.org chuph.eu.org chxda.eu.org cimct.eu.org cishq.eu.org cjacx.eu.org cjlfg.eu.org cjwed.eu.org ckion.eu.org ckoci.eu.org cnvfp.eu.org cnwte.eu.org cosuu.eu.org cqhec.eu.org cqlvs.eu.org cqwez.eu.org csnoe.eu.org csodb.eu.org ctmvn.eu.org cyokc.eu.org czome.eu.org dcgsl.eu.org dchxa.eu.org dgcup.eu.org djdgo.eu.org dlaic.eu.org dlaqn.eu.org dshir.eu.org dvdkg.eu.org dyeeo.eu.org ecnok.eu.org ecsci.eu.org efgnv.eu.org ehgol.eu.org elkho.eu.org eondm.eu.org ersci.eu.org erycd.eu.org etiar.eu.org eysgb.eu.org faacd.eu.org fbead.eu.org fbora.eu.org fdvla.eu.org finjp.eu.org frmws.eu.org fxylj.eu.org gadsp.eu.org galsx.eu.org gdgle.eu.org glebk.eu.org goqai.eu.org gptad.eu.org gpubr.eu.org gsgsa.eu.org gssna.eu.org gtseg.eu.org guqii.eu.org haizh.eu.org hdxsl.eu.org heetc.eu.org hencq.eu.org hhxit.eu.org hhyut.eu.org hiqil.eu.org hiusf.eu.org hjdnz.eu.org hlfru.eu.org hnaol.eu.org hqpee.eu.org hrbpa.eu.org hrraj.eu.org htypu.eu.org hycav.eu.org hysow.eu.org hzigi.eu.org iaboe.eu.org iafam.eu.org ibcpt.eu.org ibutf.eu.org ictck.eu.org ihsba.eu.org inthq.eu.org isbjb.eu.org isrmt.eu.org itxyl.eu.org izhow.eu.org jflhz.eu.org jfqxj.eu.org jhdog.eu.org jkrnm.eu.org jlsaz.eu.org jobyd.eu.org jomsc.eu.org jpaph.eu.org jsugo.eu.org jttie.eu.org jxefa.eu.org kmomt.eu.org kpdca.eu.org ksapk.eu.org kxdcq.eu.org kybuk.eu.org lahpm.eu.org lcict.eu.org liocy.eu.org lizdr.eu.org ljgif.eu.org lmslj.eu.org ltmec.eu.org lxdpc.eu.org mannk.eu.org mgugu.eu.org mitth.eu.org mjcam.eu.org mleci.eu.org mnimt.eu.org mobrs.eu.org moxku.eu.org moysf.eu.org mpafs.eu.org mqvod.eu.org mthxq.eu.org mulml.eu.org mwias.eu.org mxcao.eu.org myaqh.eu.org mzido.eu.org naubr.eu.org ndpcs.eu.org ndtoe.eu.org necux.eu.org neomn.eu.org njzol.eu.org noweu.eu.org noynn.eu.org nozub.eu.org nvarg.eu.org nxteq.eu.org nyepe.eu.org oarpg.eu.org obpix.eu.org obrtc.eu.org olmfs.eu.org opmhd.eu.org oppsf.eu.org ounra.eu.org oymxk.eu.org ozefx.eu.org pdili.eu.org phpom.eu.org pkexx.eu.org plzst.eu.org pmrdr.eu.org pmwok.eu.org prcau.eu.org ptxme.eu.org pwobj.eu.org pxcol.eu.org qacsa.eu.org qglic.eu.org qjpsb.eu.org qlltx.eu.org raafc.eu.org ralpc.eu.org rbirg.eu.org rgden.eu.org rlspr.eu.org rysyb.eu.org rzycp.eu.org sciye.eu.org scpso.eu.org sdaot.eu.org seehc.eu.org sepig.eu.org sjdrv.eu.org sjylj.eu.org slhec.eu.org smfoc.eu.org ssivn.eu.org sumhu.eu.org svstm.eu.org swwah.eu.org sytot.eu.org syxas.eu.org tccei.eu.org tckit.eu.org tdguk.eu.org tdihr.eu.org teosn.eu.org tgunn.eu.org tinmk.eu.org tjyay.eu.org tkohd.eu.org tomxj.eu.org tqvod.eu.org trinv.eu.org tvqoo.eu.org tvsaa.eu.org tytad.eu.org uoshi.eu.org usenp.eu.org uswra.eu.org vbbiz.eu.org vcixi.eu.org vhjsc.eu.org vnftp.eu.org wcwai.eu.org wdili.eu.org wemup.eu.org wituh.eu.org wshad.eu.org wtanc.eu.org wwoem.eu.org wxmux.eu.org wxwow.eu.org xdlbz.eu.org xhtqd.eu.org xlddn.eu.org xlyfh.eu.org xmabn.eu.org xrlwd.eu.org xsgaf.eu.org xsjax.eu.org xymoo.eu.org xzivi.eu.org xzsos.eu.org yasuw.eu.org ybdiy.eu.org yijiy.eu.org yjrpx.eu.org yrfyd.eu.org yrick.eu.org yteku.eu.org yuejo.eu.org zcdec.eu.org zceye.eu.org zepht.eu.org zhsuv.eu.org zigjo.eu.org zijam.eu.org zkgas.eu.org zljrj.eu.org zroxy.eu.org zsbok.eu.org zsbuh.eu.org ztdqh.eu.org ztsnt.eu.org zzamt.eu.org zzime.eu.org