brekulis Posted April 13, 2009 Report Share Posted April 13, 2009 (edited) Lapas galvenais saturs necentrējas izmantojot IE. Ar firefox problēmu nav. Vēl IE met jokainu gļuku, t.i. pats pataisa nedaudz tumšāku augšējo un apakšējo labās malas attēlu.?! šeit adrese: getbigger.royalhosting.lv/avg/ CSS kods, pateicoties kuram centrējas iekš FF .box { color:#999999; font-size:10px; background: url(img/top_.PNG) no-repeat bottom right; margin: 0 auto; /* margin:0 auto; - for centered box */ padding: 0; font:Verdana; Edited April 13, 2009 by brekulis Quote Link to comment Share on other sites More sharing options...
indoom Posted April 13, 2009 Report Share Posted April 13, 2009 (edited) Pieliec doctype par png var palasīt šeit http://hsivonen.iki.fi/png-gamma/ Var pamēģināt http://entropymine.com/jason/tweakpng/ programmu, caur kuru png failam izdzēs gAMA parametru, un redzēs, kā tad būs. Edited April 13, 2009 by indoom Quote Link to comment Share on other sites More sharing options...
brekulis Posted April 13, 2009 Author Report Share Posted April 13, 2009 (edited) Kā zināt kādu doctype man vajag? ar tiem PNG viss izdevās! ;) Edited April 13, 2009 by brekulis Quote Link to comment Share on other sites More sharing options...
indoom Posted April 13, 2009 Report Share Posted April 13, 2009 pēc sources spriežot, esi xhtml izmantojis <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> Quote Link to comment Share on other sites More sharing options...
brekulis Posted April 13, 2009 Author Report Share Posted April 13, 2009 izdevās, bet ne ar DOCTYPE iebāzu visu vienā tabulā un iecentrējās! Quote Link to comment Share on other sites More sharing options...
Estipois Posted April 13, 2009 Report Share Posted April 13, 2009 izdevās, bet ne ar DOCTYPEiebāzu visu vienā tabulā un iecentrējās! ... tapeec ka centreejas tikai attieciibaa pret kautko ... nu kautkaa taa :)! Quote Link to comment Share on other sites More sharing options...
mefisto Posted April 13, 2009 Report Share Posted April 13, 2009 Tu vari centrēt tā tikai block'u ar zināmu width. Quote Link to comment Share on other sites More sharing options...
brekulis Posted April 13, 2009 Author Report Share Posted April 13, 2009 negribēju taisīt jaunu topiku, tāpēc likšu tepat. ar bgcolor=#rrggbb nekrāsojas noteikta tabulas šūna. kas varētu būt par lietu? Quote Link to comment Share on other sites More sharing options...
Aikss Posted April 13, 2009 Report Share Posted April 13, 2009 (edited) Kur tādu krāsu dabūji "#rrggbb"? Tādas nav, burti ir no A līdz F, cipari no 0 līdz 9. css colors Un labāk lieto style="background-color: #000000". Edited April 13, 2009 by Aikss Quote Link to comment Share on other sites More sharing options...
brekulis Posted April 13, 2009 Author Report Share Posted April 13, 2009 jocīgi, bet tāpat nekas nenotiek. attēlu var ielikt kā backgroundu bet krāsu nē. Quote Link to comment Share on other sites More sharing options...
mefisto Posted April 13, 2009 Report Share Posted April 13, 2009 Negribu taisīt jaunu topiku, tāpēc likši tepat (kluci) : kur var nopirkt pūkainus rokudzelžus (rozā) ? brekulis, 1) no code = no help .. šis nav zīlnieku kantoris. 2) http://wsc.opera.com un http://www.htmldog.com/guides .. sāc mācīties Quote Link to comment Share on other sites More sharing options...
fest Posted April 14, 2009 Report Share Posted April 14, 2009 indoom, vai tas, ka IE normāli neatbalsta PNG alpha transparency arī salabojas ar gAMA parametra izdzēšanu, vai tur vienīgais risinājums paliek JS? Quote Link to comment Share on other sites More sharing options...
indoom Posted April 14, 2009 Report Share Posted April 14, 2009 nea, tas gAMA attiecas tikai uz to, ka uz IE png ir tumšāks nekā vajadzīgs. Quote Link to comment Share on other sites More sharing options...
marcis Posted April 14, 2009 Report Share Posted April 14, 2009 gAMA attiecas tikai uz krāsu toni. Un patiesībā īstais risinājums nav javascript's, bet css filtrs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.