View Single Post
Old 04-10-2016, 02:00 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,201
Karma: 60406678
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by larysa View Post
ok with <div style="margin-bottom: 0"> not work!
also <div style="position: fixed; bottom: 0;"> or <div style="position: absolute; bottom: 0px; width: 100%"> not work!
I've solved with <div style="margin-top: 300px"> but only after various attempts!

i have a page with:
TITLE
SUBTITLE





note 1
note 2
note 3
note 4

and repeat my question (please write a valid example code): how to have 4 lines note at the end of my page?? (excluded margin-top rule)
You really need to learn HTML and CSS

This is really ugly code, but it works.
<div>note 1<br />note 2<br /><br />note 3<br />note 4</div> space between

But I rarely use a DIV.
IMHO DIV is a special needs container. Any other use is unnecessary code bloat

<p class="notes" >note 4 </p>
</body>

If that does not work. Look at the Containing block which is BODY in my example. It may have a bottom margin set. OR a padding-bottom SET (the default is none, so padding: 0 is bloat unless you HAD padding inside the BLOCK)
theducks is offline   Reply With Quote