Archive for April 5th, 2008

Dreamweaver CS3 And CSS

Because of its ability to separate design from content, Cascading Style Sheets (CSS) has become an extremely important technology in web development. A single CSS document can contain information regarding the position of elements on all the pages in a web site as well as style information such as font, sizes and colours. In terms of building websites, CSS definitely represents the future.

The range of computer users who have some involvement in building web pages and web sites is vast and a good many of these users choose Dreamweaver as the software tool that helps them create the web content they need without needing to become an expert on underlying technologies such as CSS. Dreamweaver CS3 includes better support for Cascading Style Sheets than previous versions. However, there is still room for improvement.

Previous versions of Dreamweaver assumed that most users would be using tables to control the layout of their web pages. Dreamweaver CS3 is the first version of the program which encourages users to create CSS-based web page layouts. When the users create a new web page, they are offered a series of CSS layouts, on which they can base the new page, consisting of single, double and three column designs.

Pages created using CSS rely heavily on the use of the HTML DIV element, a multipurpose container of web content. Choosing one of the Dreamweaver CSS presets creates a page containing a series of DIV elements complete with placeholder text and the CSS code necessary to control the position and dimension of the DIVs. The placeholder text and HTML code both contain brief explanations of the techniques used and advice on how to customise these basic pages for your own purposes.

The CSS generated by Dreamweaver when creating these preset layouts is embedded within the page itself. Updating a site where every page has embedded CSS code would be extremely inefficient. A far better arrangement is to keep all of the CSS in a single file. Luckily, Dreamweaver has a nifty feature for moving CSS definitions from an HTML page to an external CSS file. You just highlight all of the CSS you wish to export, right click the selection and choose “Move CSS Rules” from the “CSS Styles” context menu.

Although this ability to move CSS around is really great, it’s not something that beginners will necessarily think of doing. It points to the fact that Dreamweaver could still do with a few enhancements to its implementation of CSS.

Dreamweaver CS3 still has includes the automatic creation of CSS styles whenever the user applies font attributes to text. Simply removing the ability to select text and apply these basic attributes would prevent this from happening. From a beginner’s point of view, it would be far more useful to just have a “Style” menu with an option to create a new style if no styles already exist.

The writer of this article is a developer and trainer with  Macresource Computer Solutions, an independent computer training company offering  Adobe Dreamweaver Classes at their central London training centre.

Add comment April 5th, 2008


Calendar

April 2008
M T W T F S S
« Mar   May »
 123456
78910111213
14151617181920
21222324252627
282930  

Posts by Month

Posts by Category

Friends


Add to Google

IVA Advice
Get IVA advice at IVA Info UK. Use the simple online form to ask for free IVA advice.

Iva Answers
Need IVA answers. An IVA is an agreement with your creditors to make a single reduced payment each month. Get free IVA help and advice here.

Debt Consolidation
Debt Consolidation is a way which can help put all your debt into one easy to pay option this way you can spread your payments and have a easy time. Check it out!

Debt management UK
Struggling financially, falling behind with your debt management? UK based online company, The Debt Clinic, is there to help you. Visit them online today.

Car Loans
Want a car but can't quite afford it? Never fear, uSwitch.com are here to help. Get car loans from a range of top providers. Compare and contrast online.

personal loan uk
Live in the UK? Need some extra cash? Get a personal loan in the UK, online, at All About Loans.

discount ink
Buy directly from the factory with us to get discount ink. After your first order with us you can get 10% off all your future orders!!!