Ok to remove style="border-collapse: collapse"

J

Just a guy

I received an email from someone in an online forum about my site. I
had indicated that the borders on my site do not appear the same in IE
and NN. The person told me to remove all references to

style="border-collapse: collapse"

I did that on the main page of my site and saw no change (good thing)
but was wondering what the purpose of this tag was and would it affect
my site if I removed it?
 
M

Murray

That style prevents the borders on your table cells from doubling. In other
words if you have two adjacent cells, each with a 1px border, it prevents
you from having 2px of border between them. I doubt that its removal would
achieve what you want. Wanna show me the page?
 
J

Jens Peter Karlsen[FP MVP]

Used to remove borders on browsers that support CSS2.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
M

Murray

Which way do you want them to be? IE or NN? Also, do you want an outer
border around the table?
 
M

Murray

By the way - would you please remove that right click thing (useless) from
your pages?
 
M

Murray

Actually, I can find no instance of border-collapse being used on either
page. But I do see that you have not specified a background color for the
page, and browsers that use gray if it's not specified will not be kind to
your layout!
 
T

Tom Pepper Willett

....Murray, as you know, the right click thing doesn't stop anyone from
getting the image. It's already in the visitor's browser cache. Or,
available when you view the source, such as:

http://www.kcflorist.com/11.site/new.kcflorist.gif
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
===
| By the way - would you please remove that right click thing (useless) from
| your pages?
|
| --
| Murray
|
| | > This is the page where I removed the collapse line (it is my backup
| > copy)
| >
| > http://www.kcflorist.com/index.html
| >
| > THis is the backup copy I made before removing the collape line...I
| > see no difference.
| >
| > http://www.kcflorist.com/11.site/index.html
| >
| >
| >
| > On Tue, 7 Sep 2004 18:00:25 -0400, "Murray"
| >
| >>That style prevents the borders on your table cells from doubling. In
| >>other
| >>words if you have two adjacent cells, each with a 1px border, it
prevents
| >>you from having 2px of border between them. I doubt that its removal
| >>would
| >>achieve what you want. Wanna show me the page?
| >
|
|
 
M

Murray

Of course. That's why I asked the OP to remove it. It only aggravates
those who try to troubleshoot problems for them! 8)
 
J

Just a guy

Thanks for the feedback. I just assumed that if you do not specify a
background color that it defaults to white. Would you recommend that
I specify the background color as being white on every page?

Also, I know the right-click thing is a pain but you would be
surprised how many people in our industry steal images from each
other, such as FTD images, when they are not FTD. The right-click
disable slows them down...not so much the tech wizards who know how to
get aorund it or by checking their cache.
 
M

Murray

Thanks for the feedback. I just assumed that if you do not specify a
background color that it defaults to white. Would you recommend that
I specify the background color as being white on every page?

Yes. It's easy if you do it once in an external stylesheet and then link
each page to that stylesheet. On the web, it's normal and usual that not
specifying something means "use *YOUR* default value here", not "use *MY*
default value here"! It just happens that IE's default is unlike any other
browser in that it's white. All other browsers default to green polka dots
(just kidding - it's gray).
Also, I know the right-click thing is a pain but you would be
surprised how many people in our industry steal images from each
other, such as FTD images, when they are not FTD. The right-click
disable slows them down...not so much the tech wizards who know how to
get aorund it or by checking their cache.

It only slows down the ones who wouldn't take anything anyhow. It has no
effect on those who know how to steal them. Please. Get rid of it. It's a
waste of your effort and an insult to your visitors.

Now - on to the border thing. Which rendering do you want - Netscape's or
IE's? And why am I not able to find an instance of border-collapse being
used anywhere on your pages?
 

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