Forum Moderators: open

Message Too Old, No Replies

HTML size is 20KB...how can I reduce?

Using WYSIWYG

         

crobb305

6:00 pm on Apr 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use WYSIWYG editor, as I do not know a lot of html. I noticed the file size of my main page is 29KB, so I used the file size checker at Searchengineworld to see how I can reduce the overall size. Turns out, 20KB of the total size is html tags. That seems like a lot. How can I reduce? Does using embedded tables increase filesize significantly?

Any help would be appreciated.
Thanks

Birdman

6:07 pm on Apr 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Using CSS is one way to reduce filesize but I can't tell you how to do it effectively with an editor.

gingerbreadman

6:10 pm on Apr 26, 2003 (gmt 0)

10+ Year Member



can you send me the code to look at?

leoo24

6:12 pm on Apr 26, 2003 (gmt 0)

10+ Year Member



alot of anything increases the file size, first off i think you should look at moving anything you can into an external stylesheet.
I don't know what program you are using but things such as:
width
height
align
valign
font

these i've mentioned are deprecated for css anyway, but i've seen many poeple post code from a wysiwyg using these.
get yourself over to w3schools [w3schools.com] and see what can be one with css, leading you to be able to remove excess code from your files :)
oh, and remove as much white space as you can!

caine

11:24 am on May 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



crobb305,

if 20k of the page, out of 29k is HTML, then the code is very bloated. Area's to look at is the simplification of the page structure, also if using table's - especially with wysiwyg's watch for all the dress up code around the cell's, such as color, text size & color, table color, these can unnecessarily, and usually unknowingly increase the HTML code size out of whack.

Use the HTML as the structure of the page, and use CSS for the dress up of the page.