‘CSS’ Tagged Posts

Build Rapid Web Sites With Adobe Dreamweaver

If you've ever wanted to create your own website, you might not be sure where to start. If you've done your research and you're looking for the easi...

 

If you’ve ever wanted to create your own website, you might not be sure where to start. If you’ve done your research and you’re looking for the easiest program for everyday people to use, it’s likely that you’ve discovered Adobe Dreamweaver. This is one of the friendliest web design programs to use, and the fact that it includes an HTML editor just makes it that much more desirable. It doesn’t matter if you’re looking to design a website for personal or for business use. There’s something for every type of user in Adobe Dreamweaver, but before you dive into design, you need to learn how to use the program effectively.

There are so many different books and tutorials out there on Adobe Dreamweaver, but you might not know how to select the right one. First of all, if you want learning the program to be as simple as using it is, you’ll need to leave computer books on the shelf.

Reading is great for other things, but when it comes to learning web design, having that hands-on experience can make or break your success in using the program. Just like children, who learn the alphabet much more quickly by seeing it and writing it, our brains are wired to learn things through example and by being shown. It’s human nature for us prefer “show me” rather than “tell me” when it comes to learning.

With computers, hands-on use is essential to your understanding of everything. If you can’t see the computer screen, you won’t know the difference between the cursor and the pointer, except that one is shaped like an arrow and the other is a blinking line. It’s all basic common sense. If you use training software to learn Adobe Dreamweaver, your brain will get to see how the program works, and duplicate it better. If you just read a book, your brain will likely get stuck between the information and execution stages and this is because it hasn’t seen the program in use before.

Adobe Dreamweaver makes website building super easy for anyone. Taking the time to invest in training software and tutorials that can show you how to succeed with Dreamweaver will make learning the program just as simple as using it can be. It doesn’t matter if you’re a web designer professionally, or if you just want to build your own website. You can learn Adobe Dreamweaver much easier if you take the time to get involved in a hands-on training method.

The writer of this article is a developer and trainer with TrainingCompany.Com, an independent computer training company offering Adobe Dreamweaver Classes in London and throughout the UK.

Top New Features In Adobe Dreamweaver CS4

 

New Additions to Spry Widgets

The Property Inspector can be used to change the attributes of any element you select on an HTML page. In previous versions of Dreamweaver, changing the attributes of highlighted text would cause the program to create CSS classes with names like “Style1″, “Style2″, etc. in the head area of the current page. This random creation of styles was often responsible for getting new web developers into bad habits.

Whenever you open a file which contains linked files, Dreamweaver displays each of the linked files in the Related Files Bar. To access a related file just click on its name. If you make any changes to a related file and asterisk appears next to its name in the Related Files Bar to remind you to save your changes. When you do, the impact of the changes is immediately visible in the main file.

Brand new Spry widgets

Spry is Dreamweaver’s Ajax solution which uses JavaScript and CSS to add sophisticated interactivity to your web pages. Dreamweaver CS4 includes some useful additions to its existing range of Spry widgets. The Spry Validation Password widget allows you to specify the minimum and maximum number of characters, numbers, uppercase and special characters which can be included in the password entered. The Spry Validation Confirm widget checks that the entries in two fields are identical and displays a customizable error is they are not. This makes it ideal for creating “Password/Confirm Password” or “Email/Confirm Email” functionality.

Other new widgets include the Spry Tooltip widget which allows you to create a tooltip which will appear when the mouse is placed over the specified text or object. Since the tooltip is inside a DIV element, this offers tremendous flexibility as to the appearance of the tooltip. For example, it could include an image or a Flash movie.

Inserting Photoshop Smart Objects

The Photoshop integration which was begun in Dreamweaver CS3 has been enhanced in CS4 to offer via the use of Adobe’s Smart Objects technology. A Photoshop file can be imported directly into Dreamweaver and will automatically come in as a smart object.

Whenever you open a file which contains linked files, Dreamweaver displays each of the linked files in the Related Files Bar. To access a related file just click on its name. If you make any changes to a related file and asterisk appears next to its name in the Related Files Bar to remind you to save your changes. When you do, the impact of the changes is immediately visible in the main file.

HTML is a notoriously sparse environment which relies on files created with other technologies to add functionality to web pages. Typical examples of related files are server-side includes, CSS, JavaScript and XML. Dreamweaver now includes a feature called “Related Files” which enables you to edit the content of such files, without having to open them separately, and to instantly see the effect of your changes on the main file.

The Photoshop integration which was begun in Dreamweaver CS3 has been enhanced in CS4 to offer via the use of Adobe’s Smart Objects technology. A Photoshop file can be imported directly into Dreamweaver and will automatically come in as a smart object.

Improvements in working with CSS

The Property Inspector can be used to change the attributes of any element you select on an HTML page. In previous versions of Dreamweaver, changing the attributes of highlighted text would cause the program to create CSS classes with names like “Style1″, “Style2″, etc. in the head area of the current page. This random creation of styles was often responsible for getting new web developers into bad habits.

In Dreamweaver CS4, the Property Inspector contains buttons which allow you to switch between HTML and CSS options. When working in the CSS options, you can now target a specific CSS rule before choosing an attribute or, if necessary, create a new rule.

The author is a training consultant with TrainingCompany.Com, an independent computer training company offering Adobe Dreamweaver training courses in London and throughout the UK.

Working With HTML and XHTML in Adobe Dreamweaver CS4

 

HTML is a markup language used to create web pages designed to be accessed across the World Wide Web using browser software such as Internet Explorer or Firefox. The version of HTML in current use is referred to as XHTML, a stricter, rationalised version of the original HTML specification. One important fact to note about HTML and XHTML pages is that they describe the content and structure of the page rather than the position and presentation of the elements on the page.

The first difference between an HTML and XHTML page is the document type definition. There are several ways in which this specification can be made in Dreamweaver. One of the simplest is to go to the Modify menu and choose Page Properties. Here, in the Title/Encoding category, one of the options reads Document Type (DTD).

There are quite a few options available in the drop-down menu next to this setting, some relating to HTML version 4 and some to XHTML version 1. These DTD settings specify the rules that the mark-up language must follow so that the browsers can render the content correctly. For any new content you may be creating, the best specification to choose is XHTML 1.0 transitional since it uses the current XHTML specification while allowing backward compatibility with slightly older browsers.

When looking at an HTML page, the structural content may not be immediately apparent. However Dreamweaver provides a number of useful tools for keeping tabs on the structure of your web page content. One of these is called the Tag Selector. Wherever the cursor is positioned, the HTML code relating to that part of the page is displayed in the bottom left of the page on the Status Bar in an area known as the Tag Selector.

When the browser reads the page, the tags surrounding text and other elements communicate to the browser the structural importance of each element. Thus, for example, the H1 tag tells the browser that a piece of text is a major heading, while the H2 tag signifies a sub-heading, and so on. When these tags are displayed in the Tag Selector, you can get an idea of the structure of the page and you can also click on any tag to select the element(s) it contains.

The tags tell the browser the structural importance of each element but the page doesn’t contain any information that helps the browser decide how each element should be displayed. This job is done by CSS (Cascading Style Sheets). An XHTML page is still basically an HTML page. However, the syntax used is stricter.

One example of this difference is that XHTML is case sensitive while HTML is not. In XHTML, all tags are lowercase so the H1 tag has to be written h1. In HTML, h1 or H1 can be used.

In XHTML, the closing tag is obligatory: in HTML it is permissible to have an opening tag without a closing tag. One such example is a horizontal rule (hr) which creates a dividing line between two sections on a webpage. This element is represented by a single tag, since it can never be used as a container. In XHTML, there is a special syntax for such elements: a single tag which is both an opening and closing tag (hr/). In HTML, the single opening tag is used with no closing tag (hr).

In summary, XHTML is the current version of HTML and this is the standard that you should use for any new projects. However, existing projects that you may inherit may well contain HTML rather the XHTML. Therefore, you should be aware of both. Remember also that HTML and XHTML describe only the structure of web page content: neither of them should contain information regarding the presentation and display of this content. The display and presentation of web content should be done using CSS.

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

Dreamweaver Training Can Help To Demystify Web Development

 

Working for a company that runs Dreamweaver training courses, I am increasingly finding that there is no longer a typical user of this great web development program. Dreamweaver users now seem to come from all different types of company and from all walks of life: private individuals, financial people, marketing people, people in the health service, academicians It seems everyone needs to learn the basics of web development nowadays.

Just as the use of a graphical interface has changed computing, making it more user-friendly, the use of Adobe Dreamweaver renders people with limited understanding of web construction capable of putting together a quality site. It is also an excellent platform for learning how web sites should be put together. For example, when you create a new page, Dreamweaver lets you choose from a series of standard layouts based on CSS (Cascading Style Sheets), the recommended specification for creating web pages. The code produced by Dreamweaver contains useful comments explaining how the page layout works.

Many small organisations have already learned to rely on Adobe Dreamweaver to build and manage their own website, creating and modifying pages and then uploading them via FTP to make them live and available to the public. Those organisations with a more urgent need to establish a web presence may still turn to a professional web development companies to get them started and then use Adobe Dreamweaver when changes need to be made, often saving themselves a small fortune.

Another way that organisations can save money is by hiring web designers to create Dreamweaver templates and then basing their website on these templates in-house. This also has the benefit of giving organizations control of their site right from the outset.

Although Dreamweaver is pretty easy to use, it is not likely that many users can simple load it onto their machine and start using it like a pro. Most people will benefit from having some form of Dreamweaver training. This will allow them to learn the essential aspects of the program and the process of creating basic sites and making them live. An effective Dreamweaver training course will also give users an insight into the underlying web technologies and the code which Dreamweaver generates as the users create their pages using visual techniques.

One of the best ways to make a site useful for visitors is making it interactive, allowing users to search for the specific content that they want. By attending an advanced Dreamweaver training course, staff within an organization can learn to add database-driven content to their website using technologies such as ASP, PHP or ColdFusion. And, here again, Dreamweaver does the lion’s share of the work, allowing users to create sophisticated search and results pages using the same simply point-and-click and drag-and-drop techniques used to create basic content.

The writer of this article is a developer and trainer with Macresource Computer Solutions, a UK IT training company offering Adobe Dreamweaver training courses at their central London training centre.

Editing CSS Styles With Dreamweaver

 

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 code for pages created using Dreamweaver’s preset layouts is embedded in the page itself. If a user creates a series of such pages, each one will have its own CSS code making updating very time-consuming. It is far more efficient to have all of the CSS code in one external file and link each page to this one file. At present, Dreamweaver doesn’t really make this clear to new users. However, it does have an excellent feature for moving embedded CSS code into an external file. You simply select all of the CSS definitions you wish to externalise then choose Text – CSS Styles – Move CSS Rules.

Moving CSS code into an external file is not something a beginner would be expected to think of doing and is not something that Dreamweaver recommends to new users. So, in spite of the improvements, some familiarity with CSS is still required to get Dreamweaver to handle CSS efficiently.

It is also disappointing that Dreamweaver still automatically generates CSS styles called “style1″, etc. each time the user applies a font or colour to selected text. Surely it would be easier to simply remove these basic attributes and just let the user either apply a style to the selection or, if no styles exist, create a new one. Perhaps this will be introduced in the next release of this excellent program.

Author is a developer and trainer with TrainingCompany.Com, an independent computer training company offering Adobe Dreamweaver Classes at their central London training centre.

Developing Client-side Content Using Adobe Dreamweaver

 

Adobe Dreamweaver is a widely-used web development tool aimed at inexperienced and experienced users alike. It allows developers to work visually and behind the scenes, it uses standard web technologies such as HTML CSS and JavaScript. Web pages can be introduced into a Dreamweaver site at any time without the danger of the program modifying your code. In the same way, pages that you create in Dreamweaver can be taken out of the Dreamweaver environment and used elsewhere.

Dreamweaver Training For Web Developers

The program does not rely on its own unque solutions which will only work in the Dreamweaver environment. Although Dreamweaver is not necessarily the best environment for creating all types of website, it is not an environment which one easily outgrows. It can be used both for creating basic, static content consisting of client side pages as well as more sophisticated dynamic content including server side pages. In other words, it is suitable for developing the content found on the vast majority of websites. So, let’s examine this content in more detail.

Most web sites are hosted on web servers run by specialist hosting companies. A large website may have a dedicated server or even servers, whereas most typical websites will be sharing space on a server with other sites. Visitors to a website are sometimes called clients.

Clients gain access to the content on web servers using a variety of different operating systems and different browsers. They normally find this content either by clicking on links from search engines and other locations or by simply typing a URL into the address bar of their browser.

The content that clients access on websites can be divided into two main categories: client-side and server-side. The term client-side refers to web content which is compatible with the user’s browser, material which the browser software can actually open, display or execute (in the case of scripts).

The main element in client-side content is HTML, or as it’s known in its current incarnation, XHTML; a stricter and more consistent version of the original HTML specification. HTML is a fairly simple markup language which is used to describe the content of web pages for the benefit of the client’s browser. CSS and JavaScript are used in close conjunction with HTML.

CSS stands for Cascading Style Sheets and is used for describing the layout and presentation of web content. JavaScript is an easy-to-learn scripting language which can be used to add interactivity to web pages. For example, when someone is filling out a form on a website and information entered into a field is inappropriate, JavaScript can be used to notify them that the content must be changed.

All modern web browsers are fully capable of understanding XHTML, CSS and JavaScript content. With the addition of extra software known as plug-ins, other technologies can be added to web pages. Two of the most popular are Flash and Adobe Acrobat PDF files. All of this content then is fully compatible with the client’s browser; hence the term client-side content.

The author is a training consultant with Macresource Computer Solutions, an independent computer training company offering Adobe Dreamweaver training courses in London and throughout the UK.