Vertically align (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


Xylina -> Vertically align (7/12/2006 15:43:50)

I have just one more question now, still regarding print styles. Someone suggested that I add a copyright notice to the articles (now, why didn't I think of that first). I have it on there now, but I want it to print at the bottom of the page, rather than right after all of the other text.

See http://coxandcompany.biz/TalkingBusiness/BeatingBigBox.htm for an example of what I mean. If you look at the print preview, you will get a better picture of what I am talking about.

Currently, this is the cods I have:

<div class="c4">
<p class="c5">Copyright © 2005 KM Cox & Company Inc.</p>
</div>
</body>

Any help with this will be appreciated,

Thank you,

Xy




c1sissy -> RE: Vertically align (7/12/2006 16:00:22)

All you need to do is to add this to the print style sheet where you want it to print.

I'm sure you aren't printing your footer so in place of the footer, which I would guess you have set not to print, put a div with the information that you want to print.




curious monkey -> RE: Vertically align (7/12/2006 16:02:23)

what is the styling that you're using for the div c4 etc.
that sounds like a positioning issue


<edit> Damn someone smarter got here first![&o]</edit>




Xylina -> RE: Vertically align (7/12/2006 17:44:17)

I needed to add the following snippet of code to my printstyles.css for div.c4

position: absolute; bottom: 0;

Thanks for the help,

Xy




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125