Sandis Posted October 25, 2004 Report Share Posted October 25, 2004 Labsriits! Ir DIV elements web lapaa. Uz IE tas atteelojas ar scroll baru, savukaart - uz Operas7 - nee! Where's is problem. Me don't understand! Kods: <div style="overflow-x:hidden; border: #00FF99 1px solid; overflow-y:auto; width:<? echo $width;?>; height:<? echo $height;?>; text-align:justify; margin-left:30px; margin-left:30px; margin-top:30; font-size:10px"> Link to comment Share on other sites More sharing options...
Venom Posted October 26, 2004 Report Share Posted October 26, 2004 pieliec parasto overflow, overflow-x/-y ir CSS2-specific Link to comment Share on other sites More sharing options...
Sandis Posted October 26, 2004 Author Report Share Posted October 26, 2004 Bet ja es vienkaarshi noraadu 'overflow', bet tad kaa man, Venom, piemeeram, nokonfigureet, lai man 'overflow-x' ir hidden, bet, lai 'overflow-y' ir auto. Bez -x/-y jau nevar!? Link to comment Share on other sites More sharing options...
Venom Posted October 27, 2004 Report Share Posted October 27, 2004 nu tad prasi browseru taisējiem: overflow: NN 6, IE 4, CSS2 overflow-x: NN n/a, IE 5(Win), CSS n/a overflow-y: NN n/a, IE 5(Win), CSS n/a Link to comment Share on other sites More sharing options...
Raptile Posted October 27, 2004 Report Share Posted October 27, 2004 Es neesu nekaads tur lielais HTML zinaataajs, pats veel maacos, bet vai nevar daudz vienkaarsaak to scroolbar aizlaist caur stilu. tip kaut ko taadu <STYLE> BODY {scrollbar-3dlight-color:black; scrollbar-arrow-color:#FF4009; scrollbar-base-color:grey; scrollbar-darkshadow-color:#380273; scrollbar-face-color:#FFB53C; scrollbar-highlight-color:white; scrollbar-shadow-color:white} </STYLE> Nu nezinu Link to comment Share on other sites More sharing options...
bubu Posted October 27, 2004 Report Share Posted October 27, 2004 Tur jau tiek darīts ar stilu. Un tavs kods manuprāt nestrādās uz mozillām, ne? Link to comment Share on other sites More sharing options...
Sandis Posted October 27, 2004 Author Report Share Posted October 27, 2004 Ar <STYLE>, vai bez uz Operas tā lieta aizgāja,t.i, horizontālo scrollu "var" noņemt, ja, piemēram, tabulas izmēri, kas atrodas <DIV> elementā, ir mazāki par <DIV> elementa izmēriem. Rēcīgi, bet tieši tur man bija problēma! :) Secinaaju, ka 'overflow-x/-y' strādā tikai uz IE, bet vienkaarshi overflow (overflow:auto) straadaa uz IE, Mozilla, Opera7; nestraadaa uz Netscape un Opera5; Link to comment Share on other sites More sharing options...
Sandis Posted October 27, 2004 Author Report Share Posted October 27, 2004 Vēl neliels komentārs - ja iepriekš minētās tabulas platums ir lielāks par <DIV> elementa platumu, tad ar 'overflow-x:hidden' palīdzību tomēr IE izdosies noņemt horizontālo scrollu, bet pārējos pārlūkos nē! Link to comment Share on other sites More sharing options...
Recommended Posts