Jump to content
php.lv forumi

Fūteris stāv pa vidū


false

Recommended Posts

Css:

#footer {
clear:both;
width:948px;
background: url(/img/footer.gif) repeat-x;
background-position: bottom center;
font-family: Tahoma,Arial;
height: 22px; 
bottom: 0;
}

Un mājaslapas kodā fūteris stāv šadi

<div id="footer">© 2009 - 2010</div>

Kas jamaina lai varētu to fūteri ielikt, taka otrajā attelā

#1

a7360m5niru96klww5.jpg

#2

5c1xvhpcwz4omuwfmyf.jpg

Link to comment
Share on other sites

Css:

#footer {
clear:both; 
bottom: 0;
}

No šī būtībā nav nekādas jēgas, ja Tu footeri nepozicionē vai neliec float.

 

Un vēl jautājums, vai Tu gribi, lai footeris ir lapas apakšā (un zem satura bloka, ja tā augstums ir garāks par browsera loga augstumu) vai tikai pēc satura bloka?

Ja Tu parādītu kodu satura blokam virs footera, tad varētu kaut ko apskatīties, bet vispār: Sticky footer #1, Sticky footer #2 un protams iekš google - sticky footer.

Edited by bfj
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...