View Single Post
Old July 26th, 2004, 03:02 PM
happygv happygv is offline
Friend of Wrox
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post

What do those html pages usually contain? And also remember, there should be WIDTH and HEIGHT used in every possible image,table etc... else those don't use WIDTH and HEIGHT attributes would not be reduced to a smaller value in your so called rude method;).

So how do you act upon the texts? It would be better to scan for all font tags and replace them with size attribute of value that fits your requirement.

May be you can post your code here or upload to somewhere and post the URL here, once you are done with it. Someone might suggest a better way of doing it or would fine tune it for you and for anyone who would come up with such a requirement in future.

Who knows, you can name it as Madhu's HTML Diminisher and release it soon.;)


- Vijay G
Strive for Perfection