Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    mat
    mat is offline
    Regular Coder
    Join Date
    Jul 2002
    Posts
    199
    Thanks
    0
    Thanked 0 Times in 0 Posts

    table fun & bloated extra useless code >

    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.

    www.theory1.orcon.net.nz/21.html
    (sample cd catalouge page *50 of these* whatever i do in order to clean it up will have to be done to another 50 )

    http://www.theory1.orcon.net.nz/search.html
    (search page, this one is really bad-check it in netscape )

    http://www.theory1.orcon.net.nz/browse.html
    (not browse but actually sample results page)

    i'm learning, this is just a fake project (obviously )

    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?

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Nashua, NH
    Posts
    1,724
    Thanks
    0
    Thanked 0 Times in 0 Posts
    use Notepad, seriously....
    Vladdy | KL
    "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I saw alot of <td>&nbsp;</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.

    Like this:

    Lead Table
    <table>
    <tr>
    <td>

    Second Table
    <table>
    <tr>
    <td>
    Info
    </td>
    </tr>
    <tr>
    <td>
    Other info ect.
    </td>
    </tr>
    </table>

    Info below that table
    </td>
    </tr>
    </table>

    Somthing like that, it might clean it up nicly,

    Hope this has helped
    CYWebmaster.com - See why we dot com!!
    ACJavascripts.com - Cut & Paste Javascripts!
    SimplyProgram.com - Personal Blog

  • #4
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72 W. 48' 57" , 41 N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    here's a batch mode text editor. will allow you to make the same changes to multiple files at the same time.

    http://www.simes.clara.co.uk/programs/xchange.htm
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #5
    mat
    mat is offline
    Regular Coder
    Join Date
    Jul 2002
    Posts
    199
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks,

    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

  • #6
    Regular Coder
    Join Date
    May 2002
    Location
    Maine, USA
    Posts
    574
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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 .

    http://www.chami.com/html-kit/
    boxer_1
    CodingForums Moderator
    "How did a fool and his money get together in the first place?"

  • #7
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72 W. 48' 57" , 41 N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    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.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #8
    Senior Coder
    Join Date
    Jun 2002
    Location
    Nashua, NH
    Posts
    1,724
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    Vladdy | KL
    "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •