Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Cannot hide link in responsive layout. Re: Cannot hide link in responsive layout.

#127974
kmj2318
Participant

No luck, #back or #back a is not responding to anything I do to it. Here’s my css for #back:

#back {
/* establish a positioning context for the closer */
position: relative;

}
#back a {
/* turn the link into a ghost */
background: transparent;
border: 0;
text-indent: -999em;
/* make it fill the screen */
position: absolute;
top: -101em;
bottom: -101em;
left: 0;
right: 0;
/* ensure it sits behind the other links */
z-index: 0;
}

I got this code from a tutorial. When I delete all of this code, it changes nothing. So I’m guessing it’s inheriting something that I can’t figure out how to change.