Why do I have to kill mystery pixels with CSS positioning?
4 views
Skip to first unread message
Keith Purtell
unread,
Nov 1, 2011, 7:09:43 PM11/1/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to css-d...@googlegroups.com
I'm working on a site where the last line of text (copyright etc) has to sit just above the bottom of the browser window. I've accomplished that, but not sure why I had to set the relative positioning at bottom:-20px
Unless my eyes deceive me, I zeroed out the margin and padding for body. Here's a link
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to css-d...@googlegroups.com
You did not use a CSS reset on your file and have standard browser margins on the H6. Set your h6 css with margin: 0px to get rid of the margins. then you can remove bottom -20px;