PDA

View Full Version : how would you code this page?


mat
08-30-2002, 12:34 AM
http://www.theory1.orcon.net.nz/code.gif

So i made that page with dreamweaver, but now feel a bit guilty. the html is so messy and there are empty cells and stuff all over the show but atr the same time when i try to clean it up in DW it turns to **** and many times doesn't display right in other browsers i go into notepad but i still don't really know what i'm doing in terms of code.

I used a style sheet for the text formatting and some of the cell properties i.e border size + color, width..

the thing is even with DW i still couldn't get it right, if you look at the plus button thing which is a plus.gif inside a cell with a border, the cell is not the right size it's too big on the right, but no matter how i tried to resize the damn thing it just messed up,

how can i code this page so that it's clean and includes only code that is actually nessecary?

x_goose_x
08-30-2002, 02:38 AM
Capital X is a speaker with the font Webdings, but the user may not have the font.

I wrote you it up quickly, but didn't use the webding.

Take a look (http://pages.infinit.net/mvideos/temp/)

I did it without using tables within tables. Instead there is one table for the top part and one for the bottom.

mat
08-30-2002, 05:24 AM
nice one , i'm studying the code now :D what makes it a more complicated is that i have some CFQUERY, CFIF + CFOUTPUT stuff going on throughout the doc but hey i have a wee play...

redhead
08-30-2002, 07:21 PM
Originally posted by mat
So i made that page with dreamweaver, but now feel a bit guilty. the html is so messy and there are empty cells and stuff all over the show but atr the same time when i try to clean it up in DW... on one of my unrelated notes... :eek: just out of complete curiosity... what version of DreamWeaver are you using? I've been using DreamWeaverMx recently and the code is clean and absolutly fine...

i cant help but think... DW... Drum Workshop? :D

jujubees
08-30-2002, 07:36 PM
Originally posted by redhead
I've been using DreamWeaverMx recently and the code is clean and absolutly fine... Have you noticed significantly cleaner code with MX over DW4? I've been hesitant to upgrade, since MX's only new perk seemed to be menus to incorporate scripting.

DW4 has a tendency to leave lots of redundant and empty tags, if the user depends solely on DW's "design view" (and YES, my users do this :rolleyes: ).

Anyone have firsthand experience to share about DW4 vs DW-MX?

Thanks in advance. :D

redhead
08-30-2002, 10:33 PM
Originally posted by jujubees
Have you noticed significantly cleaner code with MX over DW4?Slightly off topic now but... If your gonna go for WYSIWYG and have the cash (or a contract where someone else is paying for it :o) Dreamweaver MX is the tool. It created zero (0) messy code, and its got heaps more features than... anything I've ever used (being Notepad...)

I am not on the Macromedia advertising team ;)

Hope that helps your 'lil quest... :cool: