andrisp Posted September 28, 2005 Report Posted September 28, 2005 piemeeram ja man ir <div style="width: 100px; "><a href="display: block; width: 100px; ">links</a></div> tad kaa likums <a> elements iztiepsies vairaak kaa 100px ieksh ff.. kaapeec taa ? ps. arii nenoraadot a elementam 100px width, tas vienalga izstiepjas paari..
Analgiins Posted September 28, 2005 Report Posted September 28, 2005 moshka raksti style="display: block; width: 100px; " nevis href="display: block; width: 100px; " href tachu noraadam URL`u
andrisp Posted September 28, 2005 Author Report Posted September 28, 2005 moshka raksti style="display: block; width: 100px; " nevis href="display: block; width: 100px; "href tachu noraadam URL`u 23383[/snapback] steigaa te taa ierakstiiju bet nu visiem doma skaidra taapat.. <a href="#" style="display: block; width: 100px; ">
andrisp Posted September 28, 2005 Author Report Posted September 28, 2005 margini/paddingi netraucē? 23385[/snapback] pad meegjinaaju divam uzstaadiit padding: 0 un <a> elemental margin: 0; .. taapat gljuko .
andrisp Posted October 3, 2005 Author Report Posted October 3, 2005 pie vainas bija, tas ka ieksheejam <a> tika noraadiits width un arii padding, kas nezkaapeec vinju pastiepa vairaak nekaa vajag .. zinu, ka kodaa nekas taads nav, bet taa man buus maaciiba turpmaak likt pilniigaakus kodus, lai vareetu labaak debugot.. :)
andrisp Posted October 3, 2005 Author Report Posted October 3, 2005 pie vainas bija, tas ka ieksheejam <a> tika noraadiits width un arii padding, kas nezkaapeec vinju pastiepa vairaak nekaa vajag .. zinu, ka kodaa nekas taads nav, bet taa man buus maaciiba turpmaak likt pilniigaakus kodus, lai vareetu labaak debugot.. :) 23765[/snapback] plus veel tam atklaaju cik firefox ir zveeriigs prieksh developeeshanas :).. it iipashi aadvark tuulis (ar peli uzbraucot vinjs iekraaso attieciigo elemenu) un webdev menu vai kautkaa taa, kuram ir fiicha, ka var editeed css "in realtime" :).. tieshaam eerti un aatri var atrast kljuudas
ansis Posted October 3, 2005 Report Posted October 3, 2005 .. it iipashi aadvark tuulis (ar peli uzbraucot vinjs iekraaso attieciigo elemenu) un webdev menu vai kautkaa taa, kuram ir fiicha, ka var editeed css "in realtime" :).. tieshaam eerti un aatri var atrast kljuudas 23770[/snapback] web developer izmantoju - arii ljoti patiik. Tikai probleema, ka lielaakaa dalja browseetaaju vienalga ir ar IE - varu kaut ko skaistu uzmargot, bet IE paraada melnu malu un izbiida visus attaalumus... :(( Klau, bet kas tas par verki - aadvark? FF maajas lapaa taadu neatrod... :((
bubu Posted October 3, 2005 Report Posted October 3, 2005 http://www.karmatics.com/aardvark/ Kaugan man tās aardvark iespējas nevajag. Man pietiek ar DOM inspector un Web Developers Outline Selected Element fīču (nu +citas dažas ar).
andrisp Posted October 4, 2005 Author Report Posted October 4, 2005 atgriezhoties pie teemas: <div style="width: 100px; border: 1px solid orange; ">text</div> <div style="width: 100px; border: 1px solid orange; padding-left: 10px; ">text</div> neviens browseris vinjas neatteelo vienaadaa garumaa .. tad sanaak, ka taa arii ir pareizi, ja ? nu tas, ka reaalais width = padding + noraadiitais width ? man liekas baigi stulbi, bet no ko tas es <_<
bubu Posted October 4, 2005 Report Posted October 4, 2005 Protams, ka paerizi: http://www.w3.org/TR/CSS21/box.html#box-dimensions
andrisp Posted October 4, 2005 Author Report Posted October 4, 2005 Protams, ka paerizi:http://www.w3.org/TR/CSS21/box.html#box-dimensions 23859[/snapback] njaa, taa es sapratu.. bet kaapeec ir taa ? kaapeec nav taa kaa tabulas shuunaam (td), kad uzstaada paddingu? vienkaarshi man liekas taa baigi neerti.. :(
Recommended Posts