...

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



ahsima
09-17-2011, 06: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

morongo47
09-18-2011, 03:33 AM
ahsima,

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

Line spacing is usually a css thing.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum