footer

Discutii despre idei - probleme legate de design, layout, scheme de culori, navigare.Adobe Photoshop,Jasc PaintShop Pro, Corel, Fireworks si alte aplicatii.

Moderator: Moderatori

LightManIs
PHPRomania Supporter
Mesaje: 21
Membru din: Joi Iun 07, 2012 8:48 pm

footer

Mesajde LightManIs » Mar Iun 19, 2012 2:43 pm

Salut am si eu o problema, am o baza de date in php si cand fac o cautae si imi returneaza multe rezultate footerul numai apare jos el apare undeva la mijlocul paginii
css este asta

Cod: Selectaţi tot

/* Site Colors:
   #1A446C - blue grey
   #689DC1 - light blue
   #D4E6F4 - very light blue
   #EEE4B9 - light tan
   #8D0D19 - burgundy
*/

html { height: 100%; width: 100%; }
body { width: 100%; height: 100%; margin: 0px; padding: 0px; border: 0px;
   font-family: Verdana, Arial, Helvetica, sans-serif; background: #D4E6F4;
   font-size: 13px; line-height: 15px; }
img { border: none; }
table, tr, td { border-collapse: collapse; vertical-align: top; font-size: 13px; line-height: 15px;}
a { color: #8D0D19;}

#header { height: 170px; margin: 0px; padding: 0px; text-align: left;
   background: #1A446C; color: #D4E6F4; }
#header h1 { padding: 1em; margin: 0px;}
#main { margin: 0px; padding: 0px; height: 600px; width: 100%; background: #EEE4B9; }
#structure { height: 600px; width: 100%; }
#footer { height: 2em; margin: 0px; padding: 1em; text-align: center;
   background: #1A446C;  color: #D4E6F4; }

/* Navigation */
#navigation { width: 200px; padding: 1em 2em; color: #D4E6F4; background: #8D0D19; }
#navigation a { color: #D4E6F4; text-decoration: none; }

/* Page Content */
#page { padding-left: 2em; vertical-align: top; background: #EEE4B9; }
#page h2 { color: #8D0D19; margin-top: 1em;}
#page h3 { color: #8D0D19; }


footeru are codul

Cod: Selectaţi tot

      </div>
      <div id="footer">&#169 Copyright 2012, Scrab Ionut</div>
   </body>
</html>
<?php
   // 5. Close connection
   mysql_close($connection);
?>

Unde e greseala?



Avatar utilizator
vectorialpx
Senior Member
Mesaje: 4832
Membru din: Mar Mar 01, 2005 9:48 am
Localitate: Bucuresti
Contact:

Mesajde vectorialpx » Mar Iun 19, 2012 5:48 pm

nu stiu exact ce ai tu prin pagina dar, incearca sa pui in css
#footer { clear:both }

MarPlo
Senior Member
Mesaje: 885
Membru din: Mie Sep 24, 2008 9:32 am
Localitate: Braila
Contact:

Mesajde MarPlo » Mar Iun 19, 2012 5:50 pm

Salut
Probabil eroarea este in codul HTML cu rezultatele returnate. Daca studiezi sursa acelei pagini poate gasesti unde e problema.
Incearca sa ai codul HTML valid W3C.


Înapoi la “Design”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 7 vizitatori