ArticleZones.com » Internet » Web-design » Dreamweaver Cs3 And Cascading Style Sheets
View PDF | Print View
Article By: AndrewWhiteman
Total views: 5
Word Count: 495
Dreamweaver Cs3 And Cascading Style Sheets
Cascading Style Sheets (CSS) has become as pivotal a technology in the building of websites as HTML. Originally, CSS was mainly used for defining the appearance of text (font, size, colour, etc.). However, with the improvement of browser compatibility with the CSS specification, CSS is now the recommended method of controlling all aspects of the presentation of HTML documents within the browser window.
Adobe Dreamweaver has long had support for the use of CSS and has responded to the growing importance of this pivotal technology. Dreamweaver's implementation of CSS is all the more important since many of the people using the program are not specialist web developers and rely on Dreamweaver to guide them through the maze of technologies which drive web pages.
One of the most noticeable changes in this the latest version of Dreamweaver is that users are now positively encouraged to create web pages using CSS for page layout rather than tables. Each time a new web page or template is created, Dreamweaver offers you a choice of basing the page on one of about thirty preset CSS layouts with names like "3 Column Elastic" and "3 Column Fixed".
CSS page layout is based in the DIV element, an HTML container which can be used to hold an arbitrary amount of web content. The CSS rules control the appearance and positioning of DIVs on the page. Dreamweaver CS3's preset CSS layouts create a series of DIVs containing placeholder text and basic formatting. The placeholder text, as well as the code underlying the page, both contain useful explanations of how the page has been constructed and a few tips on how to personalise them.
CSS works most efficiently when you can place all of your CSS code in one external file and link that file to each of your HTML pages. Dreamweaver CS3 still does not make it easy for inexperienced users to create CSS-based pages in this way. If the user creates ten web pages based on Dreamweaver's preset CSS designs, each will have its own code embedded within the page itself. There is, however, a great feature for moving embedded code across to an external CSS file. You just select a series of CSS definitions, right-click and choose "Move CSS Rules" which is available in the "CSS Styles" section of the 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.
Another area where Dreamweaver still handles CSS inefficiently is the way in which it generates CSS class styles with names like "style1", "style2", etc. whenever the user applies attributes like font, size or colour to highlighted text. This must be really confusing for beginners and can easily be solved by simply removing these "raw" attributes and replacing them with CSS-friendly options.
Article Source: ArticleZones.com
About the Author
The The writer of this article is a trainer and developer with Macresource Computer Solutions, an independent computer training company offering Adobe Dreamweaver Classes at their central London training centre. This article is available as a unique content article with free reprint rights.
Comments
No comments posted.Add Comment
You do not have permission to comment. If you log in, you will be able to comment.More articles in this Category
1. Five Google Adsense Secrets To Increase Your Revenue!2. Need For A Professional Website Design
3. Professional Web Site Design
4. Some Precious Web Design Guidelines
5. Guidelines for Choosing A Web Designer
