cionow
|
Posted: 02/07/2002, 1:42 PM |
|
Is there anyway to get rid of the   in the CC templates? These tend to get in the away of some more advanced formatting, and cause minor display problems.
|
|
|
Andrew B
|
Posted: 02/07/2002, 6:50 PM |
|
Perhaps you could toy with 'DBlocks' (see templateobj.asp).
Try putting code like this somewhere on the page, at least before it either does the call to parse("main") or printvar("main").
DBlocks("main") = Replace(DBlocks("main"), " ", "")
This is asp, but i remember php has a similar function.
This will go through the dblocks array and replace all the nb's with nothing. It only works if you are using template code, though.
If you don't like this method, one thing you can do is go get a search and replace program and replace all the nbsp's with nothing in the template html or even in the non templated version. We use this program (actually bought it)
http://ourworld.compuserve.com/homepages/funduc/
regexp replaces, saving of s&r operations, quick and small and good shell integration. if you need help using it, i can work out the commands you will need to get it doing what you want.
|
|
|
|