CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Is there a way to stop CCS from indenting parts of a html file?

Print topic Send  topic

Author Message
bigtoe

Posts: 115
Posted: 08/30/2004, 3:38 AM


I inserted a small 3 row table into a CCS html file.
The table code looked like this:


__________<table cellspacing="1" cellpadding="1" width="510">
____________<tbody>

______________<tr>
________________<td>
______________________<!-- RadioButton label goes here -->
________________</td>
________________<td>
______________________<!-- RadioButton code goes here -->
________________</td>
______________</tr>

______________<tr>
________________<td>
______________________<!-- RadioButton label goes here -->
________________</td>
________________<td>
______________________<!-- RadioButton code goes here -->
________________</td>
______________</tr>

______________<tr>
________________<td>
______________________<!-- RadioButton label goes here -->
________________</td>
________________<td>
______________________<!-- RadioButton code goes here -->
________________</td>
______________</tr>

____________</tbody>
__________</table>



After CCS was done with the publishing, the table still had a width
of 510 in html but it displayed more like 1000 in IE and Opera browsers.
The table looks twice as wide! The whole page looks extra wide.

So I logged into my web server and manually edited the html file.
I removed all the leading spaces on each line as represented above with the "_" character.
Put each tag on a new line. So each html tag was flushed to the left.
Saved the html file.

Then did a refresh on my IE and Opera browsers.
In both cases now the table width of 510 looks like 510.
The table looks normal. So the page looks normal.

Can someone explain this?
Thanks.


View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.