This content has been marked as final. Show 3 replies
> I'm very new to HTML and Dreamweaver and was just wondering, is it normal
> have discrepancies between the Design and the Code? Meaning: many times I
> changed something in the Design view and it doesn't quite work, so I end
> having to directly change the code. Is it just a buggy program or are all
> editors this way?
You have to understand HTML to use most any web editor. So, it's not really
buggy, it's just how HTML works.
As well as the links below - another way to learn (including anyone else's bad habits) is to find a page you like, and then tell your web browser to show you the code view for the page and/or do a "Save As" and save the page to your computer to then copy & paste code segments into your file (in IE click View at the top, select Source from the options)
HTML and/or DW Tutorials, and other information links that I have saved
Download User Guide as PDF for easy search
http://lynda.com/ Hours of videos. (must pay)
If not PDF (link above) an online guide to read
Customizing the layouts that come with CS3 (VIDEO)
For those using MySQL - Installing PHP and MySQL on Windows XP
Community MX lessons http://www.communitymx.com/abstract.cfm?cid=3D074
There are imperfections in the way in which Dreamweaver expresses code in design view - in that sense its a bit like a web browser, and as we all know, expecting consistent results across all web browsers is unrealistic unless we take time to test and work around the foibles of each.
I use design view as a quick check of how things are looking, and also for shortcuts around adding dynamic behaviours, building forms, tables and so on, but invariably setting up my XHTML / CSS is done in code view.
Often I start with a quick sketch of all the necessary containing DIVs for my page, figuring out their sizes and what CSS rules might be needed for each.
Build this framework in code view, and then start using design view to throw in content.
To get started with CSS layouts there are good resources in John's list above, and Dreamweaver's built in XHTML/CSS templates are a reasonable starting point, even if the CSS is a bit verbose.
The techniques here are invaluable: