gaziks52 Posted February 6, 2009 Report Share Posted February 6, 2009 (edited) <div id="right"> <div class="item">bla bla bla></div> </div> viss ir normaali... <div id="right"> <?php include('includes/page.php')?> </div> ..bet ar incluudu paraadaas kautkaada mistiska atstarpe div`a augšpusē (includaa tas pats "bla bla bla") #right { float: left; width: 200px; background: #e1e1e1; } .item { font-size: 11px; font-weight: bold; } nesaprotu kapee tur taa atstarpe???? Edited February 6, 2009 by gaziks52 Link to comment Share on other sites More sharing options...
Val Posted February 6, 2009 Report Share Posted February 6, 2009 moš kāda atstarpe starp ?> un <?php ? Link to comment Share on other sites More sharing options...
gaziks52 Posted February 7, 2009 Author Report Share Posted February 7, 2009 (edited) ...atradu vainu tikai nezinu kāpēc tā notiek ..... tad kad to include failu ar notepad++ konvertē uz ANSI viss strādā normāli , bet kā gribu uz UTF-8 tā parādās tā atstarpe???? šitā izskatās tas include fails (nekas uz aci nemainās ne ANSI ne UTF-8) <?php echo '<div class="heading"><h1>Login</h1></div>';?> a šitā izskatās firefoxa sourcis kad incluuds ir UTF-8....tā jautājuma zīme taisa to atstarpi....bet kāpēc tā vsipār tur parādās(ja inkluuds ir ANSI tad jaut. zīmes nav)???? ?<div class="heading"><h1>Login</h1></div> Edited February 7, 2009 by gaziks52 Link to comment Share on other sites More sharing options...
kechums Posted February 7, 2009 Report Share Posted February 7, 2009 Konvertē uz UTF-8 Without BOM Link to comment Share on other sites More sharing options...
gaziks52 Posted February 7, 2009 Author Report Share Posted February 7, 2009 (edited) paldies.... viss strādā Edited February 7, 2009 by gaziks52 Link to comment Share on other sites More sharing options...
Aleksejs Posted February 7, 2009 Report Share Posted February 7, 2009 Slikti nokonvertēji. Link to comment Share on other sites More sharing options...
gaziks52 Posted February 7, 2009 Author Report Share Posted February 7, 2009 nē ... nokonvertēju pareizi ...tikai html nebiju pilicis content="text/html; charset=utf-8" :) Link to comment Share on other sites More sharing options...
Recommended Posts