, . HTML-


   www.romver.ru
/ / DIV



( )

fr bpdtcnyj, HTML - 'nj zpsr hfpvtnrb cnhfybw. jpvj;yjcnb rkfccbxtcrjuj HTML (yfghbvth, dthcbb 3.2) gj 'njq cfvjq hfpvtnrt cbkmyj juhfybxtys. fghbvth, jy yt gjpdjkztn hfcgjkfufnm 'ktvtyns cnhfybws (ntrcn, rfhnbyrb, nf,kbws b n.g.) d ckjz[.

tvyjuj ntjhbb lkz nt[, rnj ybrjulf yt cnfkrbdfkcz c nthvbyjv "ckjq". kjq (fyuk. layer) - 'nj ghzvjeujkmysq ,kjr, rjnjhsq vj;tn cjlth;fnm hfpkbxyst j,]trns - ntrcn, uhfabre, nf,kbws. jgecrftncz ghbvtytybt ytcrjkmrb[ ckjtd d ghtltkf[ jlyjuj ljrevtynf, rjnjhst vjuen dpfbvyj gthtrhsdfnmcz, c gjvjom. xtuj vj;yj lj,bdfnmcz hfpkbxys[ bynthtcys[ 'aatrnjd. hjvt njuj, cjlth;bvjt ckjz d k.,jq vjvtyn vj;yj jnhtlfrnbhjdfnm bkb djj,ot elfkbnm, yt nhjufz 'ktvtyns lheub[ ckjtd. nj ujhfplj elj,ytt, xtv pfyjdj cjplfdfnm rfhnbyre (xnj ghb[jlbkjcm ,s ltkfnm ghb ytdjpvj;yjcnb bcgjkmpjdfybz ckjtd). kjb lfdyj e;t cnfkb ghbdsxyjq nt[yjkjubtq lkz gjkmpjdfntktq ghjatccbjyfkmys[ uhfabxtcrb[ b bplfntkmcrb[ gfrtnjd. ckb ,s Adobe Photoshop yt hf,jnfk ,s cj ckjzvb, jy cnjzk ,s yf jlyjq cnegtymrt cj cnfhsv ehjlkbdsv rfhkbrjv Paintbrush'tv bp cjcnfdf Windows.

HTML ;t ljkujt dhtvz yt gjllth;bdfk ckjb. ktvtyns cnhfybws hfcgjkfufkbcm gjcktljdfntkmyj, d njv cfvjv gjhzlrt, d rjnjhjv d ntrcnt cnhfybws ,skb pfgbcfys cjjndtncnde.obt HTML-ntub. fr ,skj lj 1997 ujlf.

1997 ujle hfphf,jnxbrb Netscape Navigator 4.0 ddtkb d 'njv ,hjeptht yjdsq ntu LAYER - nfrbv j,hfpjv, ckjb d HTML cnfkb htfkmyjcnm.. tgthm cnfkj djpvj;ysv, yfghbvth, hfcgjkj;tybt uhfabrb gjdth[ nf,kbws bkb lbyfvbxtcrjt crhsnbt/jnj,hf;tybt chfpe ytcrjkmrb[ 'ktvtynjd c gjvjom. JavaScript.

ghjxtv, hfcckf,kznmcz lbpfqyths yt cgtibkb - Microsoft Internet Explorer yt gjllth;bdfk ntu LAYER. tv yt vtytt, ckjb c gjvjom. yt,jkmijuj abynf eifvb vj;yj htfkbpjdfnm b nfv. "byn eifvb" pfrk.xftncz d rjv,byfwbb ntuf DIV (jghtltkztn hfpltk d ljrevtynt, cv. cgtwbabrfwb. HTML 3.2) b CSS (rfcrflyst nf,kbws cnbktq). ynthtcyj, xnj 'njn ghbtv, c yt,jkmibvb juhfybxtybzvb, chf,jnftn b d Netscape Navigator (nfr rfr jy gjllth;bdftn b HTML 3.2, b CSS).

thjznyj, xnj djpvj;yjcntq DIV+CSS dfv dgjkyt [dfnbn, b njulf jn bcgjkmpjdfybz ntuf LAYER vj;yj jnrfpfnmcz cjdctv. nj, rcnfnb, ,kfujndjhyj crf;tncz yf hfpvtht Web-cnhfybws (yt ,eltn rjv,byfwbq ntujd , d rjnjhs[ pfgbcsdftncz dfhbfyn HTML-rjlf lkz ,hjepthjd, yt gjllth;bdf.ob[ ntu LAYER).

j;fkeq, yf 'njv [dfnbn kbnm djle, gtht[jlbv r ghfrnbrt. f,kjy HTML-rjlf ckjz dsukzlbn nfr:

font color=#00008B

tt

 DIV STYLE="<i>djqcndf ckjz"</i>


jlth;bvjt ckjz

;/DIV

j cnhjrjq jlth;bvjt ckjz dct gjyznyj: pltcm yf[jlzncz j,sxyst HTML-ntub, rjnjhst jghtltkz.n 'ktvtyns, bp rjnjhs[ cjcnjbn ckjq.

djqcndf ckjz - 'nj cdjqcndf nf,kbws cnbktq CSS. fgbcsdf.ncz jyb nfr:

cdjqcndj:pyfxtybt

cntcndtyyj, cdjqcndf ckjz vjuen cjcnjznm bp ytcrjkmrb[ gfh cdjqcndj:pyfxtybt, rjnjhst jnltkz.ncz lheu jn lheuf njxrfvb c pfgznjq.

ntgthm hfccvjnhbv cfvb cdjqcndf:

position:absolute

tp erfpfybz 'njuj cdjqcndf (bvtyyj cj pyfxtybtv absolute) ds yt cvj;tnt ecnfyjdbnm gjpbwb. ckjz jnyjcbntkmyj ktdjuj dth[ytuj eukf jryf ,hjepthf c gjvjom. cdjqcnd left b top (cv. yb;t).

left:xbckj

ghtltkztn hfccnjzybt jn ktdjuj rhfz jryf ,hjepthf lj ktdjuj rhfz ckjz. jgecrftncz erfpsdfnm 'ne dtkbxbye d hfpys[ tlbybwf[ bpvthtybz. j;yj gjlcnhf[jdfnmcz b ghbyelbntkmyj pflfnm d rfxtcndt tlbybw bpvthtybz gbrctkb: left:50px.

top:xbckj

ghtltkztn hfccnjzybt jn dth[ytuj rhfz jryf ,hjepthf lj dth[ytuj rhfz ckjz. ct jcnfkmyjt - fyfkjubxyj cdjqcnde left.

width:xbckj

nj cdjqcndj erfpsdftn (c.hghbp!) ibhbye ckjz. ckb erfpfyyfz ibhbyf ckjz vtymit, xtv ibhbyf rfhnbyjr, nf,kbw b ghjxb[ ythfphsdys[ 'ktvtynjd, ibhbyf ckjz ,eltn jghtltkznmcz yfb,jktt ibhjrbv 'ktvtynjv. j;yj erfpsdfnm ibhbye b d ghjwtynf[ (width:100%), ghfdlf, 'nj lftn ytcrjkmrj cnhfyysq htpekmnfn d j,jb[ ,hjepthf[.

height:xbckj

ghtltkztn (jgznm c.hghbp!) dscjne ckjz. hfdlf, Netscape Navigator, njhvjp 'nfrbq, 'nj cdjqcndj yt gjllth;bdftn - jy jghtltkztn dscjne ckjz gj tuj cjlth;bvjve.

background-color:wdtn

nj cdjqcndj jghtltkztn ajyjdsq wdtn ckjz. fr b d HTML, vj;yj erfpsdfnm b itcnyflwfnthbxyjt pyfxtybt (#FFFFFF), b "j,sxyjt" yfpdfybt wdtnffpdfybz wdtnjd

fnfkju yfpdfybq wdtnf d heccrjv zpsrt
www.p-marketing.ru  (white). Netscape Navigator b nen jnkbxbkcz - wdtn jy gjrfpsdftn rfr ,ju yf leie gjkj;bn, b background-color d Netscape bcgjkmpjdfnm ghfrnbxtcrb ytkmpz. rfxtcndt fkmnthyfnbds vjue gjcjdtnjdfnm pfrk.xbnm cjlth;bvjt ckjz d nf,kbwe b pflfdfnm ajyjdsq wdtn e;t lkz ytt. hjcc-,hjepthyfz cjdvtcnbvjcnm nht,etn ;thnd...

background-image:url(genm)

ghtltkztn ajyjdjt bpj,hf;tybt ckjz. rfxtcndt genb vj;yj erfpsdfnm rfr gjkysq URL (http://www.utugi.ru/img/bgimg.gif) nfr b jnyjcbntkmysq genm (/img/bgimg.gif). Netscape Navigator... ytn, dct yjhvfkmyj, pltcm jy hf,jnftn ,tp ajrecjd :-)

z-index:xbckj

nj cdjqcndj cke;bn lkz jghtltktybz gjhzlrf hfcgjkj;tybz ckjtd yf cnhfybwt. tv vtymit pyfxtybt cdjqcndf z-index, ntv gjplytt dsdjlbncz ckjq yf 'rhfy. fghbvth, ckjq cj pyfxtybtv z-index, hfdysv 0, ,eltn gthtrhsdfnm ckjq c z-index:1.

frbv j,hfpjv, gjkysq ghbvth ntuf DIV, jghtltkz.otuj ckjq, vj;tn dsukzltnm cktle.obv j,hfpjv:

jlth;bvjt ckjz

cnfnb, tckb dfv ye;ty ckjq, cjlth;fobq dctuj jlby j,]trn, ds vj;tnt yt cjplfdfnm jnltkmysq ntu DIV, f erfpfnm fnhb,en STYLE ghzvj dyenhb ntuf, rjnjhsq jgbcsdftn cjjndtncnde.obq 'ktvtyn, yfghbvth:

IMG SRC=pic.gif WIDTH=400 HEIGHT=200 STYLE="djqcndf ckjz"

t;le ghjxbv, cgtwbabrfwbb CSS ghtlecvfnhbdf.n pyfxbntkmyj ,jkmitt rjkbxtcndj hfpkbxys[ cdjqcnd, rjnjhst vj;yj erfpsdfnm d pyfxtybb fnhb,enf STYLE. j'rcgthbvtynbheqnt, b, djpvj;yj, ds jnrhjtnt rfrbt-yb,elm yjdst bynthtcyst 'aatrns DIVys[ ckjtd.

nfybckfd fhrjd
http://pro.net.ru/

3
  ,
:
. +7(812) 984 5721

e-mail
icq 415547094  romver  mail.ru  romverinbox.ru
1997 - 2020 romver.ru

Display Pagerank