/    Sign up×
Community /Pin to ProfileBookmark

display: none with <tr> ?

Hi guys,

I’m facing a problem using a script to hide and display text,

I use display: none; and Block to display and hide, although with the <tr> tag I can’t seem to get the correct output for the <tr> tag..

I read that I can try and use the table-cell attribute, but tried and didn’t work..

Any suggestions ?

Thank you

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@tirnaJun 02.2010 — post your code because from memory I don't think you can use display:block for <tr>'s.
Copy linkTweet thisAlerts:
@FangJun 02.2010 — Use an empty string to re-set to default:obj.style.display=(obj.style.display=='none')? '' : 'none';
×

Success!

Help @nrodri 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.14,
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,
)...