![]() |
Need HTML help please anyone:)
I just looked at the size on my index.html, its 166365 bytes, holly fuckin shit that is way to much. What is taking that much space, please does anyone know?
http://www.xxxmovietgp.com Thanks |
it's bloated with a shitload of < font > tags, try css.
and by that i mean 1 style for the whole thing, not 1 css attribute for each shit you have there. |
|
Quote:
|
Java-Scripts
Images Tables Non Breaking Spaces All of those can increase the size of your pages dramatically. You might want to call any JS scripts from a single file located centrally on your server instead of putting it in the HTML code in its entirity. In addition tot he JS you might also like to use CSS as you have calls for fonts, sizes etc etc for every peice of text. Likewise with the tables, if they arent needed lose them. You might also like to run your code through a program such as 'HTML Shrinker' (do a Google search) that will also cut the size of your page down considerably. In addition rather than spacing the HTML code out across multiple lines of code, have the code going constantly in one line with each section being seperated by a TAB instead of a carriage return :thumbsup |
PHP Code:
|
Quote:
Thanks Nickless, yepp you are right, it's all those font tags, I need to do some serious clean up... Thanks |
Quote:
|
Ok. It seems guys said you all the things :-)
|
You will cut the document size in half by using Cascading Style Sheets (CSS). The document is currently using them however you need to change the implimentation.
-Tony |
< td >< div align="center" >
no need for div-tag, put the align="center" into the td-tag. |
I just tested - I cut down the document to 8kb just by changing into CSS.
And there are a few other things to dp with it, and make it load faster :-) ... but that will cost you :winkwink: |
Quote:
|
Quote:
:1orglaugh :1orglaugh :1orglaugh |
Quote:
huh? |
All times are GMT -7. The time now is 05:45 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123