![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Hi,
style_systemers, a question about link positioning...
A few weeks ago foxfirefey gave me wonderful code that produces a link back to the top of the page (Transmogrified normally lacks this link). I love it and have gently coaxed it to do everything I want except stop moving around. It has a mind of its own so depending on what resolution you use, it will hop, skip and jump all over the place.
I've been unable to conjure any CSS and/or HTML that will keep it in place.
The only resolution it currently behaves at is 1440 x 900 - my native res - because I beat it down hard until it did. But when you change screen res, it waltzes off wherever the heck it feels like it.
Examples at three resolutions:
Can anyone tell me how to make it behave? I've tried floats, absolute positioning, margins, padding, text-align:center - it's all failed to tame it.
no subject
This is the current (probably no-longer-applicable but also not-breaking-anything code):
.top /* thanks to foxfirefey for the s2 this CSS hooks to */
{background: url("http://intoolate.files.wordpress.com/2011/01/return-to-top1.png");
background-repeat: no-repeat; padding-left:1.6em; position:absolute!important;left: 21.8em; right: 0em;
margin-top: -18em; font-family: corbel, "trebuchet ms", sans-serif;letter-spacing: 1px;}
.top a {color: #8d8d8d!important;font-size: 1em;font-variant: small-caps; font-style: oblique;font-weight:bold;}
.top a:hover {color: #af230c!important;}
.page-entry .top, .page-reply .top,.page-archive .top, .page-month .top, .page-day .top, .page-tags .top, .page-read .top, .page-network .top {margin-top: -12em;}
ETA: Just to be clear, I found the back-to-top link on the entry view
(still don't see it on recent)(finally found it buried in the last paragraph of the last entry on the page - whew) but the page is broken from the new s2 whether I leave in the current .top CSS or take it out.ETA 2: I'll take out my .top CSS now just to make sure it's not something on my end.
ETA 3: Took it out - same deal - except now the back-to-top link is more viewable, instead of floating around in entry text and comment boxes, but the sidebar is still broken.
no subject