Looking for:
Where are the Lesson Files? - Adobe® Dreamweaver® CC Classroom in a Book® [Book].(PDF) Adobe Dreamweaver CS6 Classroom In A Book | Jorge Sousa -Adobe dreamweaver cs6 classroom in a book lesson files download free download.Adobe® Dreamweaver® CS6 Classroom in a Book® by Adobe Creative Team
Adobe dreamweaver cs6 classroom in a book lesson files download free download. Adobe Dreamweaver CS6 Classroom in a Book
James J. Brief content visible, double tap to read full content. Full content visible, double tap to read brief content. Read more Read less. Customer reviews. How customer reviews and ratings work Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them. Learn more how customers reviews work on Amazon.
Top reviews Most recent Top reviews. Top reviews from the United States. There was a problem filtering reviews right now. Please try again later. Verified Purchase. I used dreamweaver once or twice about 10 years ago I did have a little HTML and CSS understanding before starting with this book but from what I saw in the book, it didn't really make that big of a difference. Hopefully the insight I bring as a beginner will help other beginners.
The book uses a fictional company that you are designing a site for. You do not need to have a server to run the site but it helps. All of the image files and media you need to fill in the blanks are available on the CD that comes with the physical copy I am not sure how or if this media is available to the e-text versions - something to look into before you buy. The book takes you from the beginning planning of the site all the way to putting finishing touches and publishing it.
If there is a chapter that you want to skip, you can. Each chapter assumes you have completed the previous steps exactly the way it was described up to that point There were some very minor differences between the illustrations in the book and what I actually saw on my screen most likely due to updates in the software since the book was published.
It may also be worth noting that this book is for CS6 and not for the creative cloud version of dreamweaver they are quite a bit different. This book was assigned for a web design class I took online. I believe I only asked the instructor one or two questions at most. The rest of the time I was completely independent. An argument has been made that this book is incomplete because it doesn't include instruction on a very big feature fluid design.
While I cannot refute the value of including this information, I did not feel it was egregious enough to ding it a star. This book should be marketed as being for beginners. So, if you are a beginner, have at it! If you are not a beginner, this book won't really teach you that much and you're best surfing youtube for your answers. The cover excepted, a quick glance at this Classroom in a Book printing for Dreamweaver CS6 compared to the CS5 version and one might conclude that there was little difference.
That's because many of the illustrations, based on building a website for the fictitious "GreenStart" company, are identical. However, that would be an unfortunate conclusion. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service informit. Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press.
If you choose to remove yourself from our mailing list s simply visit the following page and uncheck any communication you no longer want to receive: www.
While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest pearson. California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice.
The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services. This web site contains links to other sites.
Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information.
This privacy statement applies solely to information collected by this web site. Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information. We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting.
Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance.
Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions. All rights reserved. Join Sign In. View Larger Image. Part of the Classroom in a Book series. Description Sample Content Updates. Submit Errata. Overview Pearson Education, Inc.
Collection and Use of Information To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including: Questions and Inquiries For inquiries and questions, we collect the inquiry or question, together with name, contact details email address, phone number and mailing address and any other additional information voluntarily submitted to us through a Contact Us form or an email.
Surveys Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Contests and Drawings Occasionally, we may sponsor a contest or drawing. Newsletters If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask peachpit. Service Announcements On rare occasions it is necessary to send out a strictly service related announcement.
Customer Service We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.
Other Collection and Use of Information Application and System Logs Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Web Analytics Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site.
Cookies and Related Technologies This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising.
Security Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure. Children This site is not directed to children under the age of Marketing Pearson may send or direct marketing communications to users, provided that Pearson will not use personal information collected or processed as a K school service provider for the purpose of directed or targeted advertising.
Such marketing is consistent with applicable law and Pearson's legal obligations. Make a mistake, like typing greeen or geen, and the browser will ignore the color formatting altogether. Note that the code contains two color: blue; attributes. In Design view, all the heading elements display in green.
In Design view, the paragraph elements have changed to green. So even if you do nothing, the text will already be formatted in a certain way. One of the essential tasks in mastering CSS is learning and understanding these defaults. If necessary, select Design view to preview the contents of the ile.
Each element exhibits basic styling for traits such as size, font, and spacing, among others. A quick look will tell you that there is no obvious styling information in the ile, but the text still displays diferent kinds of formatting. So where does it come from? And what are the settings? HTML elements draw characteristics from multiple sources.
You can ind a default style sheet at www. To save time and give you a bit of a head start, the following table pulls together some of the most common defaults. Body text Outside of a table cell, text aligns to the left and starts at the top of the page.
This default is not honored by all browsers. Fonts Text color is black. Default typeface and font is specified and supplied by the browser or by browser preferences specified by the manufacturer and then by the user. Margins Spacing external to the element box. Many HTML elements feature some form of margin spacing. Padding Spacing between the box border and the content. According to the default style sheet, no element features default padding. Unfortunately, even diferent versions identify the browsers that visitors in your of the same browser can produce wide target audience use.
IE Other 0. In January , the W3C published statistics, shown in the image above, identifying the most popular browsers. Although this chart shows the basic breakdown in the browser world, it obscures the fact that multiple versions of each browser are still being used. To make matters more complicated, although these statistics are valid for the Internet overall, the statistics for your own site may vary wildly. Css box model he browser normally reads the HTML code, interprets its structure and format- ting, and then displays the webpage.
It imposes an imaginary box around each element and then enables you to format almost every aspect of how that box and its contents are displayed.
The box model is a programmatic construct imposed by CSS that enables you to format, or redeine, the default settings of any HTML element. In most instances these boxes are invisible, and although CSS gives you the ability to format them, it does not require you to do so. Open boxmodel. Content vs. Here is identical HTML content, side by side. Formatting text You can apply CSS formatting in three ways: inline, embedded in an internal style sheet , or linked via an external style sheet.
A CSS formatting instruction is called a rule. A rule consists of two parts—a selector and one or more declarations. Applying a CSS rule is not a simple matter of selecting some text and applying a paragraph or character style, as in Adobe InDesign or Adobe Illustrator. CSS rules can afect single words, paragraphs of text, or combinations of text and objects.
A single rule can afect an entire page. A rule can be speciied to begin and end abruptly, or to format content continuously until changed by a subsequent rule. The way the selector is written HTML element determines how the styling is applied and Multiple how the rules interact with one another. Cascade theory he cascade theory describes how the order and placement of rules in the style sheet or on the page afects the application of styling.
In other words, if two rules conlict, which one wins out? Note that the code contains two CSS rules that are identical except that they apply diferent colors: red or blue. Both rules want to format the same elements, but only one will be honored. Obviously, the second rule won. Because the second rule is the last one declared, which makes it the closest one to the actual content. You have switched the order of the rules. Both proximity and the order in which rules appear within the markup are powerful factors in how CSS is applied.
When you try to determine which CSS rule will be honored and which formatting will be applied, browsers typically use the following order of hierarchy, with 3 being the most powerful. Browser defaults. If both are present, the one declared last supersedes the earlier entry in conlicts. Inline styles within the HTML element itself. Inheritance theory he inheritance theory describes how one rule can be afected by one or more pre- viously declared rules.
Inheritance can afect rules of the same name as well as rules that format parent elements or elements that nest one inside another. In Split view, observe the CSS code. In other words, since both rules do something diferent, both will be honored.
Far from being a mistake or an unintended consequence, the ability to build rich and elaborate formatting using multiple rules is one of the most powerful and complex aspects of cascading style sheets.
Redundant code should be avoided whenever possible. It adds to the size of the code as well as to the time it takes to download and process it.
By using inheritance, you can create the same efect with a single rule. All the elements remain formatted as blue Verdana. One rule is now formatting three diferent elements.
You may have also noticed that the two h1 rules combined create the same styling applied by the new div rule. Click in the Design view window to refresh the display; it should look exactly the same. Descendant theory he descendant theory describes how formatting can target a particular element based on its position relative to other elements. By constructing a selector using multiple elements, in addition to ID and class attributes, you can target the format- ting to speciic instances of text as it appears within your webpage.
Click in the Design view window to refresh the display. What happened to blue Verdana? Just move the element into the proper structure or location within the code, and it formats itself. Some refer to this as weight—giving certain rules more priority based on order, proximity, inheritance, and descendant relationships.
But, at the moment, none of the rules is actually formatting the text. In Dreamweaver, commented code usually appears grayed out. But before you do this, can you determine—based on the syntax and order of the rules—what formatting will apply to the sample text?
For example, will the text appear in Times, Impact, or Verdana? Will it be blue, red, green, or orange? So, then why does the text display in the typeface Verdana? As mentioned earlier, CSS rules may style more than one HTML element at a time, and some rules may overlap or inherit styling from one another.
Can you determine which one? Can you explain why? Each of the theories described here has a role to play in how CSS styling is applied through your webpage and across your site.
When the style sheet is loaded, the browser will use the following hierarchy—with number 4 being the most powerful—to determine how the styles are applied, especially when rules conlict: 1. Cascade 2. Inheritance 3. Descendant structure 4. In such cases, Dreamweaver comes to the rescue with a fantastic feature named Code Navigator. When activated, it will display all the CSS rules that have some role in formatting an ele- ment, and it will list the order of their cascade application and speciicity.
In an actual webpage, the possibility of styling conlicts grows with each new rule added. A small window appears, displaying a list of three CSS rules that apply to this heading. When rules conlict, rules farther down in the list override rules that are higher up.
Remember, elements may inherit styling from one or more rules, and default styling may be overridden by more-speciic settings. But many factors can inluence which of the rules may win. As you saw earlier, changing the order of rules can often afect how the rules work. Activate the Code Navigator. Although the rule was moved to the top of the style sheet, the display of rules did not change, because the div. In this instance, it would win no matter where it was placed in the code, but its speciicity can easily be changed by modifying the selector.
Did you notice how the styling changed? But, since this rule is the last one declared in the code, it now takes precedence in the cascade. Is it starting to make more sense? Until that time, just remember that the rule that appears last in the Code Navigator has the most inluence on any particular element.
By default, all elements start at the top of the browser screen and appear consecu- tively one after the other from left to right, top to bottom. Block elements generate their own line or paragraph breaks; inline elements appear at the point of insertion. CSS can break all of these default constraints and let you size, format, and position elements almost any way you want them. CSS can control both the width and the height of an element, with varying degrees of success.
All speciications can be expressed in relative terms percentages, ems, or exs or in absolute terms pixels, inches, points, centimeters, and so on. By default, block elements occupy percent of the width of the browser window. Otherwise, CSS can deine element mea- surements in absolute or relative terms. Box 1 is unformatted to demonstrate how block elements display by default.
Relative measurements allow the elements to automati- cally adapt to changes to the width of the browser. For example, if you were to drag the divider between the Code view and Design view windows left or right, Box 2 would always display at half the width of the Design view window.
Element widths set to percentages will adapt automatically to changes in the browser window, maintaining their relative dimen- sion within the space. Box 3 is formatted to a ixed measurement of pixels. It will maintain this width no matter what happens to the size of the browser screen.
It is formatted to a width of 10 ems. In other words, use a large font and the em gets big- ger; use a small font and the em gets smaller.
It even changes based on whether the font is a condensed or expanded face. Widths speciied in ems allow your page ele- ments to adapt to user requests for increases or decreases in font size.
Unfortunately, the reality is not so simple. Past browser support for the height property was not consistent or reliable. But measurements in percentages require a small workaround, or hack, to make most browsers honor them.
Box 1 demonstrates the default behavior of block elements; it takes up only as much height as the content contained within it requires. Box 2 is set to a height of pixels; it will remain at this ixed height regardless of changes to the screen size or orientation. Box 3 is set to a height of 10 ems. So far, so good.
Adding the height property to the root elements of your webpage gives the browser the information it needs to calculate any element heights set in percentages. By default, it is intended to be a luid speciication that allows an element to automatically adapt to the space requirements of its content. Borders and backgrounds Each element can feature four individually formatted borders top, bottom, left, and right.
As you can see, borders can be used for more than just creating boxes. Here you see them used as graphical accents to paragraphs and even to simulate a three- dimensional button efect.
If both are used, the image will appear above, or in front of, the color. If the image ills the visible space or is set to repeat, it may obscure the color entirely. Box 1 displays the default HTML transparent background.
Box 2 depicts a back- ground with a solid color. Box 3 shows a background image that repeats in both directions along the x-axis and y-axis. Box 4 also shows a background image, but its transparency and drop-shadow efect allow you to see the background color around the edges of the image.
Be sure to fully test any background treatments. In some applications, CSS back- ground speciications are not fully supported or are supported inconsistently. All the elements display the default HTML formatting for margins and padding. Borders have been applied to all the elements to make the spacing efects easier to see. Type padding: 30px;. Since padding is applied within the element boundaries, it will combine with margin settings to afect the overall spacing that appears between elements.
Many designers abhor these default speciications, especially because they may vary among browsers. Using zero margins may be a bit extreme for your own tastes, but you get the picture. As you become more comfortable with CSS and webpage design, you can develop your own default speciications and implement them in this way.
CSS can break all these default constraints and let you place elements almost anywhere you want them to be. As with other object formatting, positioning can be speciied in relative terms such as left, right, center, and so on or by absolute coordinates measured in pixels, inches, centimeters, or other standard measure- ment systems. Using CSS, you can even layer one element above or below another to create amazing graphical efects.
By using positioning commands carefully, you can create a variety of page layouts, including popular multicolumn designs. Using CSS, you can control the placement of these elements. Box 1 displays on a line of its own, in the default manner. Box 2 appears on the next line, aligned to the left side of the screen as speciied. Box 3 appears on the right side of the screen, but on the same line as Box 2. In subsequent lessons, you will learn how to combine diferent loat attributes with various width, height, margin, and padding settings to create sophisticated layouts for your website designs.
Unfortunately, as powerful as CSS positioning seems to be, it is the one aspect of CSS that is most prone to misinterpretation by the various browsers in use today.
Commands and formatting that work ine in one browser can be translated difer- ently or totally ignored—with tragic results—in another. In fact, formatting that works ine on one page of your website can fail on another page containing a difer- ent mix of code elements. By taking advantage of the cascade, inheritance, descendant, and speciicity theo- ries, you can target formatting to almost any element anywhere on a webpage.
But CSS ofers a few more ways to optimize and customize the formatting even further. Class attributes may be applied to any number of elements on a page, whereas P Note: Dreamweaver will warn you when ID attributes may appear only once. Class and ID names can be a single word, an abbreviation, any combination of letters and numbers, or almost anything, but they may not start with a number or contain spaces. To declare a CSS class selector, insert a period before the name within the style sheet, like this:.
In the past, many web designers used ID attributes to point at speciic components within the page, such as the header, the footer, or articles. With the advent of HTML5 elements—header, footer, aside, article, and so on—the use of ID and class attributes for this purpose is less neces- sary than it was. But IDs can still be used to identify speciic text elements, images, and tables to assist you in building powerful hypertext navigation within your page and site.
Technologies and standards are evolving and changing constantly. Although these standards have not been oicially adopted, browser vendors are already implementing many of their features and techniques. As you work through the upcoming lessons, you will be introduced to many of these new and exciting techniques and actually implement many of the more stable HTML5 and CSS3 features within your own sample pages.
Css3 features and efects here are over two dozen new features in CSS3. Many are ready now and have been implemented in all the modern browsers; others are still experimental and are sup- ported less fully.
Some of the new CSS3 features have not been standardized, and certain browsers may not recognize the default markup generated by Dreamweaver. In these instances, you may have to include speciic vendor commands to make them work properly. If you do nothing, HTML elements will feature no formatting or structure.
CSS3 features are all experimental, and you should not use them at all. Industry best practices recommend using CSS-based formatting instead. Even if you do nothing, many HTML elements feature built-in formatting. Many CSS3 features are already supported by modern browsers and can be used today.
What is the purpose of the website? Will the website sell or support a product or service? Is your site for entertainment or games? Will you provide information or news? Will you need a shopping cart or database? Do you need to accept credit card payments or electronic transfers? Who is the customer? Are the customers adults, children, seniors, professionals, hobbyists, men, women, everyone?
Knowing who your market will be is vital to the overall design and func- tionality of your site. A site intended for children probably needs more animation, interactivity, and bright engaging colors.
Adults will want serious content and in- depth analysis. Seniors may need larger type and other accessibility enhancements. A good irst step is to check out the competition. Is there an existing website Could two sites be more performing the same service or selling the same product? Are they successful? Look and Yahoo? Yet they both perform the same at Google and Yahoo. But, just as with a brick-and-mortar business, your online customers can come to you in a variety of ways.
For example, are they accessing your site on a desktop computer, laptop, tablet, or cell phone? Are they using high-speed Internet, wireless, or dial-up service?
What browser do they most like to use, and what is the size and resolution of the display? Dial-up and cell phone users may not want to see a lot of graphics or video, while users with large lat-panel displays and high-speed connec- tions may demand as much bang and sizzle as you can send at them. So, where do you get this information? But a lot of it is actually available on the Internet itself.
In , they started to track the usage of mobile devices on the Internet. If you are redesigning an existing site, your web hosting service itself may provide valuable statistics on historical traic patterns and even the visitors themselves. If you host your own site, third-party tools are available, like Google Analytics and Adobe Omniture, which you can incorporate into your code to do the tracking for you for free or for a small fee.
When you boil down all the statistics, this is what you will ind as of the begin- ning of Windows 80 to 90 percent dominates the Internet, with most users divided almost equally between Firefox 37 percent and Google Chrome 33 per- cent , with various versions of Internet Explorer 22 percent taking third position.
Designing a website that can look good and work efectively for both lat-panel displays and cell phones is a tall order. Each day, more people are using cell phones and other mobile devices to access the Internet.
Some users may use them now to access the Internet more fre- quently than they use desktop computers. For one thing, cell phone screens are a fraction of the size of even the smallest lat-panel display. How do you cram a two- or three-column page design into a meager to pixels? Keep all these statistics in mind as you go through the process of designing your site. A page carefully designed for a typical lat panel is basically useless on a cell phone.
Your customers come from a broad demographic including all ages and education levels. Your marketing research indicates that most of your customers use desktop com- puters or laptops, connecting via high-speed Internet services, but that you can expect 10 to 20 percent of your visitors via cell phone and other mobile devices. Creating thumbnails Many web designers start by drawing thumbnails with pencil and paper.
Draw lines between the thumbnails showing how your navigation will connect them. Thumbnails list the pages that need to be built and how they are connected to each other.
Most sites are divided into levels. Typically, the irst level includes all the pages in your main navigation menu, the ones a visitor can reach directly from the home page. Make a list of compo- nents you want on each page, such as headers and footers, navigation, and areas for the main content and the sidebars if any.
What other factors do you need to consider? Do you have a company logo, business identity, graphic imagery, or color scheme you want to accent?
Do you have publications, brochures, or current advertising campaigns you want to emulate? It helps to gather them all in one place so you can see everything all at once on a desk or conference table. Most designers settle on one basic page design that is a compromise between lexibility and sizzle.
Some site designs may naturally lean toward using more than one basic layout. But resist the urge to design each page separately. Using a consistent page design, or template, lends a sense of professionalism and gives conidence to your visitor. Wireframes allow you to experiment with page designs quickly and eas- ily without wasting time with code.
Where you put a component can drasti- cally afect its impact and usefulness. Are they on a inch lat panel or a 2-inch cell phone? Do you want to waste this position by slapping the company logo here? Or, make the site more useful by slipping in a navigation menu? Do you go for design sizzle, workable utility, or something in between? Creating wireframes After you pick the winning design, wireframing is a fast way to work out the structure of each page in the site.
A wireframe is like a thumbnail, but bigger, that sketches out each page and ills in more details about the components, such as actual link names and main headings. The wireframe for the inal design should identify the compo- nents and feature markup for content, color, and dimensions. Such mockups are as good as seeing the real thing but may take only a fraction of the time to produce.
Deining a Dreamweaver site From this point forward, the lessons in this book function within a Dreamweaver site. Along with the options for creating a standard Dreamweaver site, the dialog ofers the ability to create a site based on the services ofered by Adobe Business Catalyst.
Business Catalyst is an online, hosted application that allows you to build and manage rich, dynamic web-based businesses. To learn more about the capabilities of Business Catalyst, check out www. To create a standard website in Dreamweaver CS6, you need only name it and select the local site folder. Site names typically relate to a speciic project or client and will appear in the Files panel. For example, many websites provide individual folders for images, PDFs, video, and so on.
Dreamweaver assists in this endeavor by including an option for a Default Images folder. Later, as you insert images from other places on your computer, Dreamweaver will use this setting to automatically move the images into the site structure.
Setting up a site is a crucial irst step in beginning any project in Dreamweaver. Knowing where the site root folder is located helps Dreamweaver determine link pathways and enables many site-wide options, such as Find and Replace. Click Cancel. You will use the Welcome screen several times in this book. You can re-enable the Welcome screen in the General category of the Dreamweaver Preferences panel. Take a few moments to familiarize yourself with the design and components on the page.
Can you determine what makes this layout diferent from existing HTML 4-based designs? You will learn the diferences as you work through this lesson. You will align this element to the left later in this lesson. Observe the names and order of the tag selectors at the bottom of the document window. Elements appearing to the left are parents, or containers, of all elements to the right. As you click around the page sections, you will be able to determine the HTML structure without having to delve into the Code view window at all.
In many ways, the tag selector interface makes the job of identifying the HTML skeleton much easier, especially in complex page designs. These are some of the new semantic elements being introduced in HTML5. By using elements that are named for speciic tasks or types of content, you can streamline code construction while achieving other beneits as well. For example, as search engines, such as Google and Yahoo, are optimized for HTML5, they will be able to locate and identify speciic types of content on each page more quickly, making your site more useful and easier to browse.
Using these new elements means that you can apply complex CSS styling while reducing the complexity of the code overall. You can still use class and id attributes, but the new semantic elements reduce the need for this technique. Style display is typically on by default showing a check mark in the menu. Without the CSS styling, the navigation menu reverted back to a simple bulleted, or unordered, list with hyperlinks.
Not too long ago this menu would have been built with images and complex rollover animation. If the images failed to load, the menu usually became a jumbled, unusable mess. But navigation built on text-based lists, on the other hand, will always be usable, even without styling. Get into the habit of saving your iles on a regular basis.
It will prevent the loss of data and important changes to your iles. In the Save As dialog box, navigate to the site root folder, if necessary. Name the ile mylayout. All HTML pages created for the inal site will be saved in the site root folder. If you start at the top of the page and work down, the irst step would be to insert the graphical banner that appears in the inal design.
You could insert the banner directly into the header, but adding it as a background image has the advantage of leaving that element open for other content.
It will also allow the design to be more adaptable to other applications, like cell phones and mobile devices. Press Delete. When you delete the image placeholder, the empty header will collapse to a fraction of its former size because it has no CSS height speciication.
But HTML5 is not the current web standard and some pages or components may not display properly on certain older browsers and devices. With all the caveats out of the way, the ugly truth is that even when you use standard HTML 4 code and components, older browsers and certain devices will still fail to render them properly.
Some web design- ers believe that the longer we persist in using the older code, the longer the older software and devices will hang around making our lives diicult and delaying the inevitable adoption of HTML5.
These design- ers say we should abandon the older standards and force users to upgrade as soon as possible. Background images repeat both vertically and horizontally by default.
Click Apply. Note that the image is slightly narrower than the container. Before clicking OK, we need to add some inishing touches to the element. Did you notice that the butterly actually overlaps both the header and the hori- zontal navigation bar? This technique has declined dramatically in recent years as the need to support cell phones and other mobile devices has increased. For certain applications, AP divs are still handy.
An AP div will appear at the top left of the header. Note the ID apDiv1 assigned to the new div in the tag selector. A corresponding rule has been added to the CSS Styles panel.
Another property to be aware of is the z-index. By default, all elements have a z-index of zero 0. On the other hand, the AP div has a z-index of 1, which means it will appear above all the other elements on the page. All the values displayed in the Property inspector are actually stored in the apDiv1 rule that was generated automatically by Dreamweaver.
Select butterly-ovr. Observe the dimensions of the image: pixels by pixels. The PNG ile type supports alpha transparency, making this 3D efect pos- sible. Unfortunately, older browsers may not support alpha transparency and other PNG features. If you use PNG iles with such efects, always test them in your target browsers to make sure the desired efects are supported. Change the height to px. Type 30 px in the Left margin ield.
An AP div acts like a free agent. Press the Right Arrow key. Type FFC in the Color ield. Select Bold from the Font-weight ield. Enter 20 px in the Right padding ield. Enter 5 px Bottom ield, remember in the Bottom padding ield. Enter the following values only in the corresponding Bottom border ields: solid, 2 px, Dreamweaver does ofer HTML 4 layouts that match the design criteria much more closely, but it was hard to resist working with an HTML5 layout and all the new semantic elements.
Besides, adjusting the layout is a lot easier than you may think. For example, the overall width has to be modiied to match the banner image.
You can use the rulers to measure the width and height of HTML elements or images. To give you more lexibility, you can set this zero point anywhere in the Design window.
Drag the crosshairs to the upper-left corner of the header element in the current layout. Note the width of the layout. Using the ruler, you can see that the layout is between and pixels wide. Observe the tag selector display to locate any elements that may control the width of the entire page; it would have to be an element that contains all the other elements. By now you should be getting good at CSS forensics using the tag selector interface and the Code Navigator.
In our example, the main content area shifted down below the sidebar. Note its width: pixels. In the Properties section of the panel, change the width to px. For this application, a thin border makes the most sense. In the Border category, if necessary select the Same For All check boxes and enter the following values for all border ields: solid, 2px, and A dark green border appears around the page edge.
Type Green News. Change Link two to read Green Products. Change Link three to read Green Events.
No comments:
Post a Comment