masters10 Posted October 22, 2006 Report Share Posted October 22, 2006 Tātad man ir forums.. Pašā lejā zem foruma visā foruma platumā esmu izveidojis tabulu (rāmi) Un virs tā ir uzrakstīts Reklāma! Nu tas tāa.. Es ielieku bannerus (2) tie tā smuki izkārtojas viens otram blakām bet kad pievienoju tresho tad tas ir zem vinjiem un tad sanaak ka vienaa rindaa ir 2 banneri :( pa visu garo foruma apakshu.. Kaa man jaamaina tas raamis vai ari kas man jaamaina banneru scriptos lai visi banneri izvietotos viens otram blakaam pa visu foruma apakshas garumu un ta kad pirmaa rinda ir pilna saaktos otra un taa uz priekshu? Link to comment Share on other sites More sharing options...
andrisp Posted October 22, 2006 Report Share Posted October 22, 2006 (edited) Nu varbūt tev tie banneri tīri fiziski nesatilpst vienā rindā ? Ja vajadzētu satilpt (atceries, ka elementiem (arī attēliem) mēdz būt "neredzamas" malas (margin), tātad reālais platums ir lielāks nekā izskatās ), tad meklē vai kautkur nav iespraucies kāds block elements vai <br />. Edited October 22, 2006 by andrisp Link to comment Share on other sites More sharing options...
IM24LV Posted October 22, 2006 Report Share Posted October 22, 2006 mozh kodu paraadi? Link to comment Share on other sites More sharing options...
masters10 Posted October 22, 2006 Author Report Share Posted October 22, 2006 ?> <h2>Reklāma</h> <table width=100% border=1 cellspacing=0 cellpadding=10><tr><td align=center> <a href="http://adrese" target="_blank"><img src="http://adrese" alt="nosaukums" border="0" height="31" width="88" /></a> <table class=main border=1 cellspacing=0 cellpadding=5> <a href="http://adrese" target="_blank"><img src="http://adrese" alt="nosaukums" border="0" height="31" width="88" /></a> <table class=main border=1 cellspacing=0 cellpadding=5> <a href="http://adrese" target="_blank"><img src="http://adrese" alt="nosaukums" border="0" height="31" width="88" /></a> <table class=main border=1 cellspacing=0 cellpadding=5> <? P.S. Pirmais banneris ar otro ir vienaa rindaa bet treshais ir zem vinjiem abiem! :( Banneru izmeeri 88x31 Link to comment Share on other sites More sharing options...
andrisp Posted October 22, 2006 Report Share Posted October 22, 2006 (edited) Pilnīgi un galīgi nepareizi ;) Pameklē gūglē, kā jāveido tabulas. Piem., http://www.w3schools.com/html/html_tables.asp Bet vispār es tev ieteiktu kautkā šādi (css ir tikai tīram piemēram): <style> div.reklamas { bordre: 1px solid gray; } div.reklamas a { margin: 5px; } </style> <h2>Reklāma</h2> <div class="reklamas"> <a href="http://adrese" target="_blank"><img src="http://adrese" alt="nosaukums" border="0" height="31" width="88" /></a> <a href="http://adrese" target="_blank"><img src="http://adrese" alt="nosaukums" border="0" height="31" width="88" /></a> <a href="http://adrese" target="_blank"><img src="http://adrese" alt="nosaukums" border="0" height="31" width="88" /></a> </div> Edited October 22, 2006 by andrisp Link to comment Share on other sites More sharing options...
v3rb0 Posted October 22, 2006 Report Share Posted October 22, 2006 kam tur tās tabulas? <a href="http://adrese" target="_blank"><img src="http://adrese" alt="nosaukums" border="0" height="31" width="88" /></a> <a href="http://adrese" target="_blank"><img src="http://adrese" alt="nosaukums" border="0" height="31" width="88" /></a> <a href="http://adrese" target="_blank"><img src="http://adrese" alt="nosaukums" border="0" height="31" width="88" /></a> ar css piekabini margin banneru <a> vai img tagam un būs arī atstarpes. Link to comment Share on other sites More sharing options...
masters10 Posted October 22, 2006 Author Report Share Posted October 22, 2006 noupe viss tagad ir kaartiibaa! vnk visu laiku aiz katra bannera scripta biju netiishaam iekopeejis kautkaadu tabulas scirptu un tas visu izjauca! Tagad zem katra bannera to tabulu izdseesu un nu ir viss vienaa rindaa :) Bet bez juusu ieteikumiem nebuutu es to iedomaajies :D Link to comment Share on other sites More sharing options...
andrisp Posted October 22, 2006 Report Share Posted October 22, 2006 Un peistoji šo kodu šeit, tad neievēroji, ka tev nevajadzīgs kods tur ir ? Link to comment Share on other sites More sharing options...
masters10 Posted October 22, 2006 Author Report Share Posted October 22, 2006 nee :lol: Link to comment Share on other sites More sharing options...
andrisp Posted October 22, 2006 Report Share Posted October 22, 2006 mjā Link to comment Share on other sites More sharing options...
Recommended Posts