blondine Posted May 1, 2010 Report Share Posted May 1, 2010 (edited) CSS body mistiskais 8px Edited May 26, 2010 by blondine Quote Link to comment Share on other sites More sharing options...
m8t Posted May 1, 2010 Report Share Posted May 1, 2010 Mēģināji šādi? html { padding:0; margin:0; } body { border: 1px solid red; margin: 0px auto; padding: 0px auto; text-align: center; /*center IE div*/ font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #666666; background:#c4c0be url('images/body2.jpg'); } jeb body, html { border: 1px solid red; margin: 0px auto; padding: 0px auto; text-align: center; /*center IE div*/ font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #666666; background:#c4c0be url('images/body2.jpg'); } Quote Link to comment Share on other sites More sharing options...
anyef Posted May 1, 2010 Report Share Posted May 1, 2010 man ar tavējām stiliem viss kartība, pamēģini noņemt javascipt. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted May 2, 2010 Report Share Posted May 2, 2010 Enīvei,vajadzētu iemaukt šito jebkuras lapas sākumā... :) * { margin: 0; padding: 0; } Quote Link to comment Share on other sites More sharing options...
anyef Posted May 2, 2010 Report Share Posted May 2, 2010 Enīvei,vajadzētu iemaukt šito jebkuras lapas sākumā... :) * { margin: 0; padding: 0; } vai tu neredzi, ka šitais noteikums jau ir? margin: 0px auto; padding: 0px auto; Quote Link to comment Share on other sites More sharing options...
daGrevis Posted May 2, 2010 Report Share Posted May 2, 2010 vai tu neredzi, ka šitais noteikums jau ir? margin: 0px auto; padding: 0px auto; Anyef neatšķir '*' no 'body'?? Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted May 2, 2010 Report Share Posted May 2, 2010 wildcard nav īpaši labi izmantot. Developējot vēl var, bet pēcāk ir vēlams aizstāt ar ko konkrētu... Quote Link to comment Share on other sites More sharing options...
daGrevis Posted May 2, 2010 Report Share Posted May 2, 2010 wildcard nav īpaši labi izmantot. Developējot vēl var, bet pēcāk ir vēlams aizstāt ar ko konkrētu... Nu jā, tas gan fakts. Pēc izstrādes, tad saskaiti (aptver) cik tagi tika izmantoti lapā un "make magic"; šādi: body, div, span, p, h1, h2, h3 { margin: 0; padding: 0; } P.S. BTW, šī nav pareizā sadaļa. Šis vairāk iederētos pie CSS tēmām. :P Quote Link to comment Share on other sites More sharing options...
xPtv45z Posted May 4, 2010 Report Share Posted May 4, 2010 nezinu pageidam kapec, bet viens php inkluuds taisa to 8px padding, itkaa nevienaa no php failiem netiek izmantots kaads no html tagiem... Nemeklē tagu, bet drīzāk kādu enter,space vai tab, kas ir ārpus <?php ?> 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.