Output Form to HTML - change CELLSPACING

nags97

New member
Local time
Today, 01:58
Joined
Mar 27, 2014
Messages
5
I have a hundered or so forms containing my product data that I send to my website so the data appears as lists in HTML pages, using "Output To" in a Macro.
Im using Access 2003.
Now I want to make these pages Mobile friendly and overcome the "Links too close together" problem.
Ive found that if I change the default CELLSPACING=0 to CELLSPACING=1, then the pages then pass the Google test for being webfriendly.
"OutPut To" automatically puts this into the resulting HTML:
<TABLE BORDER=1 BGCOLOR=#ffffff CELLSPACING=0><FONT FACE="Arial" COLOR=#000000>
Ive tried putting CELLSPACING=1 into the HTML template, but this has no effect.
How can I make the Form/Macro/Template change CELLSPACING from 0 to 1 ?
 
No idea how to manipulate the template, whatever there might be of one. You could always reopen the produced HTML file afterwards as pure text, and line by line replace all CELLSPACING=0 with CELLSPACING=1
 
I found a work around that fixed it.
If anyone else has the problem, ask me.
 
Why not posting what you found ?
It will stay here even if you dont.
This the idea of forums.
 
Put this in the Head of the HTML Template:

<!--Give the cells some spacing for mobile friendly (overrides CELLSPACING=0)-->

<style type="text/css">
table.space {
border:2px solid black;
border-spacing: 25px 30px;
}
td {
border:2px dotted orange;
}
</style>
<!-- Place the above styles between the document's <head></head> tags or in an external stylesheet -->
 

Users who are viewing this thread

Back
Top Bottom