/    Sign up×
Community /Pin to ProfileBookmark

Weird but simple idea. Hide page-show table

I know this is wierd and it would take a lot of explaining as to why.
I have a normal page. It needs to stay the way it is. But I need to hide everything but the table in the middle. Is there a way that I can make a white layer in CSS that covers the whole page? Then, can I set my table on top of that layer?

Sorry for being weird? I think z layers could work but I don’t know if I can make a total white layer blanket to cover the page.
Thanks for any help on this idea.

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@felgallJun 19.2008 — body {visibility:hidden}

table {visibility:visible}
Copy linkTweet thisAlerts:
@LocalHeroauthorJun 19.2008 — That's it! Thanks again
Copy linkTweet thisAlerts:
@WebJoelJun 19.2008 — Also, you described something called "lightbox" pretty well. Google "lightbox" and view some kewl examples of how~to, etc. :p

The 'total white layer' would be the 'overlayOpacity' image (not important to understand what this is other than any pre-canned "lightbox" script would have it included, and you can 'tweak it' for varying levels of 'opacity' (or color of you opted to use a different image) to 'blank-out' the background-part of the page to focus upon the 'open-up' image or table)
Copy linkTweet thisAlerts:
@LocalHeroauthorJun 19.2008 — Hmm, that's not quite what I ws looking for (thatnks though!)

The "hide some show others" worked mostly.

Here is more detal of the problem.

I have a complicated site with global referances and included files. Then I have 1 page where I need to modify everything quickly so I just see the table in the middle. Hiding the body worked very well!!! But I still have the background image and I wanted just "white". I tried:
[CODE]body {
visibility:hidden;
background-color: #FFFFFF;
}
.showme {visibility:visible}[/CODE]

But even that doesn't make sense to me as I'm hiding the white I wanted. So is there a quick way to change the BG color once a page already loads it? Or is there a "white layer" option idea that could work?
×

Success!

Help @LocalHero spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.21,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...