Hiding part of a page

A

Andrew Chalk

Suppose I have a web page where I want to hide half of it. For example, a
pending announcement.What is the easiest way to do this?

Many thanks.
 
S

Stefan B Rusynko

Wrap the content in comment tags
- or better still use server side scripting to prevent it from even being in the source view

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Suppose I have a web page where I want to hide half of it. For example, a
| pending announcement.What is the easiest way to do this?
|
| Many thanks.
|
|
 
J

Jon Spivey

I'd be careful doing this, search engines are quite well up on the hiding
content in comment tags trick and may see a lot of content in comment tags
as an attempt to spam which would be penalised. Ideally this should be
hidden with some server side logic, eg
<%if Something = true%>
.....content.....
<%end if%>

Cheers,
Jon
 
A

Andrew Chalk

Thanks.

Jon Spivey said:
I'd be careful doing this, search engines are quite well up on the hiding
content in comment tags trick and may see a lot of content in comment tags
as an attempt to spam which would be penalised. Ideally this should be
hidden with some server side logic, eg
<%if Something = true%>
....content.....
<%end if%>

Cheers,
Jon

Stefan B Rusynko said:
Wrap the content in comment tags
- or better still use server side scripting to prevent it from even being
in the source view

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Suppose I have a web page where I want to hide half of it. For example,
a
| pending announcement.What is the easiest way to do this?
|
| Many thanks.
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top