• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • Last Modified:

Frontpage 2003 Bug?? Cellspacing

Is anyone else having this problem or only me.
When creating a table, if modifying the cellspacing = 0 and cellpadding = 0...
why does frontpage not insert the cellspacing = "0" into the html code?? but does insert cellpadding = "0"???

0
RickDai
Asked:
RickDai
  • 3
  • 2
  • 2
1 Solution
 
RanjeetRainCommented:
HTML standards demand that.
0
 
RanjeetRainCommented:
Let me explain.

Any entity, which is a non keyword, has to be quoted as per HTML standards. So, be it whatever value you assign, it has to be inside double quotes.
0
 
RanjeetRainCommented:
CELLSPACING = 0

Works but is NOT compliant.

CELLSPACING = "0"

Complies to HTML standards.



BACKGROUND = RED

Works but is NOT compliant.

BACKGROUND = "RED"

Complies to HTML standards.
0
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
seanpowellCommented:
???

Hi RickDai,

To answer your question - it's not "exactly" a bug in FP2003. Because the cellspacing attribute doesn't exist in the CSS spec - it aooears that they decided not to have it created in the html code automatically - in the same way that previous versions did.

So - the fastest option is to give cellspacing an attribute of 1, and then simply change it to 0.

Thanks,
seanpowell
0
 
RickDaiAuthor Commented:
seanpowell,

yup thats my problem... ahh damn does that mean extra work for me... lol. any quicker solution besides changing the atrribute to 1 then to 0 again?
0
 
RickDaiAuthor Commented:
RanjeetRain, you've mistaken my question/problem.
0
 
seanpowellCommented:
Not that I'm aware of. If you insert the table into the page while you're in html view, and still don't get the cellspacing attribute - then there's probably no way to speed up the process. I've used their demo quite a few times and never experienced that behvaiour - so it's very likely that it's particular to your specific OS/FP version. If you're using the beta that may be having an effect...
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now