473,322 Members | 1,911 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

To hide a tag

Hi at all

I'ld want to hide a tag during display on screen and I want to show the tag
when I print the page.

I try:

<td style="display:none">

or

<div style="display:none">

<td></div>

but the <tdis always displayed and it work also on screen

How can I do please?

Best regards and thank you in advance
Mar 8 '08 #1
10 2472
Scripsit Paolo:
>@media screen { .print-only { display: none; } }

Problem solved?

NO!
You didn't apply the advice properly.

To get more specific information, enter more specific information of
what you tried. This means telling us the URL.

It's generally counter-productive to spot people's errors unless they
show us the URL. Sometimes it is possible, but it will teach them (and
others) bad habits. So is it immoral for me continue before we have the
URL? Maybe, but I feel a bit bad guy today...
I try to apply that you wrote but the result is to hide the content
of the second <tdand not only the <tdtag
What? Are you really trying to hide _tags_ and not elements? (The
confusion is common, but it was already correct in this thread. Please
stand corrected until you understand the point.) And what is "the second
<td>" as opposite to "the <td>tag"?
I'ld wanted to display my tables into a single column on screen and
into two columns printing the page to have printed one page only.
Sounds strange. I wonder what the real use case is.
I wrote here a little sample
URL, please.
<style>
Use valid markup. Moreover, close all table-related elements with
exlplicit end tags to avoid browser bugs.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Mar 9 '08 #2
"Jukka K. Korpela"
wrote
URL, please.
sorry but

I have not put online the page because is php and because it do not wark
still now
>
>What?
>Are you really trying to hide _tags_ and not elements? (The
confusion is common, but it was already correct in this thread. Please
stand corrected until you understand the point.)

What want you tell me with this phrase?

I do not understand fine this
>Are you really trying to hide _tags_ and not elements?


It is not the some?

please try to help me with a little sample

Thank you
Mar 9 '08 #3
Paolo vertrouwde ons toe:
"Jukka K. Korpela"
wrote
[snipped]
>What? Are you really trying to hide _tags_ and not elements?

It is not the some?
please try to help me with a little sample

Thank you
If you do not know the difference between *tag* and *element*
it is time for you to read up on HTML-mark up.

This is a tag: <td>

This is an element: <td>content</td>

Good luck.

--
Rob
Mar 9 '08 #4
In article <aP********************@reader1.news.saunalahti.fi >,
"Jukka K. Korpela" <jk******@cs.tut.fiwrote:
Scripsit Jonathan N. Little:
Removing a random TD from a table without compensating on other rows
almost always buggers the table display across browsers...

... And there is nothing in the odd concept that imples that
the table will be "buggered".
I was shocked that Jonathan should use this concept without
asking permission from us Australians.

--
dorayme
Mar 9 '08 #5
On 2008-03-09, dorayme wrote:
In article <aP********************@reader1.news.saunalahti.fi >,
"Jukka K. Korpela" <jk******@cs.tut.fiwrote:
>Scripsit Jonathan N. Little:
Removing a random TD from a table without compensating on other rows
almost always buggers the table display across browsers...

... And there is nothing in the odd concept that imples that
the table will be "buggered".

I was shocked that Jonathan should use this concept without
asking permission from us Australians.
Did the Aussies ask permission from the Brits?

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
================================================== =================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Mar 13 '08 #6
In article <23***************************@TEKSAVVY.COM>,
"Chris F.A. Johnson" <cf********@gmail.comwrote:
On 2008-03-09, dorayme wrote:
In article <aP********************@reader1.news.saunalahti.fi >,
"Jukka K. Korpela" <jk******@cs.tut.fiwrote:
Scripsit Jonathan N. Little:

Removing a random TD from a table without compensating on other rows
almost always buggers the table display across browsers...

... And there is nothing in the odd concept that imples that
the table will be "buggered".
I was shocked that Jonathan should use this concept without
asking permission from us Australians.

Did the Aussies ask permission from the Brits?
C'mon Chris, I don't think you understand how Australian this is.
Perhaps I can help. It is so Australian that the Brits got it
from the Australians through backwards causation.

--
dorayme
Mar 13 '08 #7
dorayme wrote:
In article <23***************************@TEKSAVVY.COM>,
"Chris F.A. Johnson" <cf********@gmail.comwrote:
>On 2008-03-09, dorayme wrote:
>>In article <aP********************@reader1.news.saunalahti.fi >,
"Jukka K. Korpela" <jk******@cs.tut.fiwrote:

Scripsit Jonathan N. Little:

Removing a random TD from a table without compensating on other rows
almost always buggers the table display across browsers...
... And there is nothing in the odd concept that imples that
the table will be "buggered".
I was shocked that Jonathan should use this concept without
asking permission from us Australians.
Did the Aussies ask permission from the Brits?

C'mon Chris, I don't think you understand how Australian this is.
Perhaps I can help. It is so Australian that the Brits got it
from the Australians through backwards causation.
This seems all Greek to me ;-)
PhilK (sweltering in OZ)

--
http://kempster.info
Mar 14 '08 #8
In article <13*************@corp.supernews.com>,
Phil Kempster <ph**@kempster.infowrote:
dorayme wrote:
In article <23***************************@TEKSAVVY.COM>,
"Chris F.A. Johnson" <cf********@gmail.comwrote:
On 2008-03-09, dorayme wrote:
In article <aP********************@reader1.news.saunalahti.fi >,
"Jukka K. Korpela" <jk******@cs.tut.fiwrote:

Scripsit Jonathan N. Little:

Removing a random TD from a table without compensating on other rows
almost always buggers the table display across browsers...
... And there is nothing in the odd concept that imples that
the table will be "buggered".
I was shocked that Jonathan should use this concept without
asking permission from us Australians.
Did the Aussies ask permission from the Brits?
C'mon Chris, I don't think you understand how Australian this is.
Perhaps I can help. It is so Australian that the Brits got it
from the Australians through backwards causation.
This seems all Greek to me ;-)
PhilK (sweltering in OZ)
The sort of causation that people are used to, especially
pommies, is either of the instantaneous (up to the speed of
light) variety:

President Bush presses the horn ring on the steering wheel of his
pickup on his farm down Texas way and the horn blares, a steer
jumps out of his way.

or of the forward/future directed kind:

Bush presses a button and a cruise missile with a nuclear bomb
wipes out Tehran several minutes later.

There was an accusation that "bugger" was a Brit word even though
it is used in a particularly famous and pointed manner in
Australia.

To cut a long story short, the grounds for the suggestion that we
owe it to the Brits may be based on these conceptions of
causation. But if something in the future can cause something in
the past, and the Brits using "bugger" is a case of this, then
Australians do not owe any debt to the Brits for it.

My evidence, after much research on this matter suggests that the
Brits and therefore the Yanks, got it from us. But it is too OT
to go into here. Please send $10 (not US at the moment if you
don't mind) for more on this.

--
dorayme
Mar 14 '08 #9
dorayme wrote:
My evidence, after much research on this matter suggests that the
Brits and therefore the Yanks, got it from us. But it is too OT
to go into here. Please send $10 (not US at the moment if you
don't mind) for more on this.
Does the source real matter? I love etymology, but since when can any
group claim exclusive rights for the usage of any word?

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Mar 14 '08 #10
In article <64***************************@NAXS.COM>,
"Jonathan N. Little" <lw*****@central.netwrote:
dorayme wrote:
My evidence, after much research on this matter suggests that the
Brits and therefore the Yanks, got it from us. But it is too OT
to go into here. Please send $10 (not US at the moment if you
don't mind) for more on this.

Does the source real matter? I love etymology, but since when can any
group claim exclusive rights for the usage of any word?
I never thought of things in this light. You know, you are right,
it does not matter. What was I thinking?

------------
(But... psst... if anyone still wants the lowdown ... send $5
instead...)

--
dorayme
Mar 14 '08 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Steve | last post by:
Visual Studio 2003 C# Windows: I have a tree view control as my main menu control down the left side of my application. This has 2 Parent Nodes on it (Jobs and Employees). beneath these 2 main...
3
by: alex | last post by:
I'd like to have a show/hide widget on my web site, kind of like "show details" / "hide details" in Google Groups. Is there a tutorial explaining how to make them? Google's is a bit complex and...
0
by: Efkas | last post by:
I have a full custom application with some widged extending Controls like Label and PictureBox. I build a menu with these widgets. When I click on one of them, it calls a function to display...
7
by: FP | last post by:
I'm new to Java Script. I'm displaying comments people have made. Below each persons' comment I want to add 2 buttons "Reply" and "Amend". Clicking "Reply" would display an empty text field...
5
by: ali | last post by:
Hello every one i need you help regarding div hide and show. i am having a link like <a href="#" onClick="expandWin()">show/hide </a> <div id=showHide> </div> within div i have lots of...
1
by: pamate | last post by:
hi, I want to show hide layers. I am able to show and hide layers but i am facing problem that, cant view the cursor in Mozilla,but i can type in input text box, its overlapping the layers. ...
6
by: Ralph | last post by:
Hi, I was reading effictive C++ and some other books again and they all tell you about hiding implementation details (proxy/pimpl/inheritance) but they never really explain when to use it. I...
6
by: Doogie | last post by:
Hi I have an img control I am trying to hide upon certain types of commands in my code behind. When to hide it is directly tied to a asp:dropdownlist control. So depending on what the user...
2
by: richard | last post by:
In using the simple code below, how do I tell it NOT to hide a division when the link is clicked on if that division is already visible? would it be as simple as using a 2nd function and setting...
0
Debadatta Mishra
by: Debadatta Mishra | last post by:
Introduction In this article I will provide you an approach to manipulate an image file. This article gives you an insight into some tricks in java so that you can conceal sensitive information...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.