is this really really bad code.. bloated, junky dreamweaver generated stuff... yes i know.. it's sad & i need help, i really want to make all the code as simple and clean as possible.
i'm just going to post the links and let you see for yourself.
(sample cd catalouge page *50 of these* whatever i do in order to clean it up will have to be done to another 50 :( )
(search page, this one is really bad-check it in netscape )
(not browse but actually sample results page)
i'm learning, this is just a fake project (obviously :o )
if you had to keep the exact same layout as in the above linked pages but clean & tidy all the code up, what would you do?
07-13-2002, 08:10 AM
use Notepad, seriously....
07-13-2002, 05:17 PM
I saw alot of <td> </td>
Thats a wast of space, you should just create one lead table and build the rest of the tables within that one, it would clean the code up nicly.
Other info ect.
Info below that table
Somthing like that, it might clean it up nicly, ;) :D
Hope this has helped :D:D
07-13-2002, 05:37 PM
here's a batch mode text editor. will allow you to make the same changes to multiple files at the same time.
i like the idea of using notepad and hand coding the whole thing but is it realistic when you have many, many pages and i also don't know code well enough -so it would be a very painstaking process- the ideal situation is to use DWMX and then know enough to be able to clean up all the crap and optimize the code :)
07-14-2002, 01:26 AM
You really need control over your raw source, once you get code generated by most WYSIWYG editors, cleaning it up can be as painstaking as hand coding. If you hand code, you can speed things up by using little shortcuts like copy/paste.
How about something down the middle...not a WYSIWYG editor, but with many built in features to speed-up your coding, such as tag tips, where you just type "<", wait a moment, and a menu will appear with a list of tags to choose from (just one example).
Here's a good free one you might want to have a look at. Very powerful! You can code quite quickley (with correct syntax checking) and still have complete control of your source ;).
07-14-2002, 01:39 AM
or, again, the batch mode editor, allowing you to make the same changes, to several files at once, so that you don't have to do every file by hand.
07-14-2002, 03:39 AM
I respectfully disagree with the statement:
the ideal situation is to use DWMX and then know enough to be able to clean up all the crap and optimize the code
Doing is most of the times faster than RE-doing.