Hi Which is better regarding css? Tables or Layers (using APDIV tags), and why. It is just an information website i am building Thanks Andy
Hmmm, I guess I'd agree too if those are the only two choices. Absolute positioning makes your page very brittle-- tables can grow and flow to acommodate the content. However, depending on how you present the information, "normal" divs using document flow can be more flexible design-wise (meaning, once you write the HTML and you decide later on to change the design, tables are very difficult to change, whereas a div called "sidebar" can be moved anywhere on the page).
You know, EVERY time I hear 'layers' I keep thinking people are talking about Nyetscape 4 My answer is akin to Stomme - because the answer for most situations is NEITHER... But then I consider using dreamweaver (which is what I'm assuming you mean by APDIV and layers) for anything to be a total /FAIL/ at intarweb in the first place. Do yourself a favor and chuck that steaming pile of bloated CRAP in the trash, and learn to code PROPERLY without that overpriced crutch. The only thing one can learn from Dreamweaver is how NOT to code a website.
are any other programs available that color-code the tags and such? granted, the dreamweaver templates, widgets, design-view and pretty much everything else is trash, but the color coding is so handy for someone who doesn't professionally code (i.e. its a hobby, not a job)
I used to use Dreamweaver Design view when i started big mistake because i thought the only way to position things were by layers, until i came accross this site! Now i only use Dreamweaver code view, dzdrazil i don't think there are any problems with this it is very handy as it gives you possible options and also colours the code as you stated. As far as im aware it is fine. However some hardcore coders use notepad which is a great skill, but for me Dreamweaver code view for now
well, i don't have an inexpensive option for getting dreamweaver beyond its 30-day trial. just curious if anything else has the color-coding... sorry if this is off topic!
dz, you're in luck-- almost every Notepad rip-off that comes with any OS has the colour option. Even vi in the terminal (default in Knoppix). I think Notepad itself is one of the few that doesn't. You could use Notepad++, EditPlus, gEdit, Kate/KWrite... I dunno any Mac programmes, but they've also got their editors. : )