View Full Version : Remove paragraph spacing / line spacing in CString

09-17-2011, 07:55 AM
I have extracted the html source into the CString. I have removed the \n and \t characters in the source using CString.Remove. Also I have remove the multiple spaces in the source. However while extracting the data between the <p> tag I have noticed as problem of having line spacing (1.5, 2.0) not being remove by the above functions. Also there may be paragraph spacing (10pts...) within the source code.

Please suggest me to remove these spaces in CString

09-18-2011, 04:33 AM

Do you have any css styling those <p> tags?
Linking with any style-sheets?

Line spacing is usually a css thing.