Options

CSS Help Please for Text Alignment

MotorsportsMotorsports Registered Users Posts: 26 Big grins
edited October 29, 2013 in SmugMug Customization
I am trying to do the simplest thing but struggling - would be most grateful for another pair of eyes!

I am using the 'entire site' customisation to add HTML & CSS to add a copyright message at the bottom of the page that stays fixed. This works perfectly .... except that I cannot get it to align right which is what I want.

html:

<div id="copyright" style="text-align:right;">
© blah blah etc
</div>

css:

#copyright {
background: #000;
background-color: rgba(0, 0, 0, 0.4);
padding: 3px;
position: fixed;
bottom: 10px;
font-size: .8em;
color: #fff;
text-align: right;
margin-right: 36px;
margin-left: 36px;
filter: alpha(opacity=70);
}

If I use this in a straight web page it works as expected with the message right aligned. But not in smugmug. I am using a stretchy smugmug layout - is there some limitation preventing this from working? You'll see that I have the align statement on both the html and the css but either or still does not work.

Just to explain, I have my header pinned and so can't use the standard footer and pin that. I'd like the copyright message to be visible all the time on every page at the bottom.
Mike

____________________________

http://photos.gridshots.com

Comments

Sign In or Register to comment.