Tag: dreamweaver

Breaking out of Dreamweaver for PC’s interface

If you’ve found the new DreamweaverMX 2004 for Windows interface as confining as I did, you will know the frustration of trying to get more room for your work out of the screen. I have 2 monitors, so had plenty of horizontal space, but I could not get rid of the Properties panel and other items that were taking up vertical real estate.

It took me several months to figure out that they can be dragged out of the interface. Why the actual PAGE cannot be similarly dragged, I don’t know, except that it is more consistent with the irritating way that Powerpoint’s interface behaves on a PC. An example of 2 panels hogging space is shown below with the Design and Files panels.. I realize the panels could be set to not be on top, but I wanted them OUT of there – over on the left monitor, without having to make the entire interface 2 monitors wide, which causes other problems.

Continue reading

PHP Alternating Color Table Rows for Drupal or Dreamweaver sites

This is based on the great tutorial by phpfreak at phpfreaks.com For a more complete explanation of this, take a look at his article.

The main variation I have made here is to adapt it for the drupal database and to separate the HTML more from the PHP to make it easier for designers to alter without needing to escape the code characters: a big source of errors for those of us who are not writing code day in and day out.

This will also work well dropped into a Dreamweaver-created php site – just change “nid” and “title” to whatever fields you want to display instead, and use the query dreamweaver generates when you define a recordset.

If you are new at this, it may go more smoothly if you first create a dynamic site in Dreamweaver, then create a dynamic table with whatever fields you want, THEN add in the additional code to generate the colors by comparing that file and this.

Continue reading

Dreamweaver, Lists, and CSS

Dreamweaver sometimes has trouble assigning styles consistently. When you select some text in Design View, and apply a CSS style, Dreamweaver seems to make a guess as to which element the style should be applied to, and doesn’t always guess right.

For example – try this:
Paste this into the BODY area of a new Dreamweaver HTML document.

Download Code Here

It should look like this:

noListcode.jpg

Continue reading