80                                                                            Technique



     Any version of
     Dreamweaver
        Making
     your HTML                                                                                                                         02         We had better check what we



     site shine
                                                                                                                                       have so far in a browser. Click the globe
                                                                                                                                       icon in the Dreamweaver navigation bar
                                                                                                                                       and select ‘Preview in Firefox’ (although
                                                                                   01          Let’s get set up. Copy the              any web browser is fine for this tutorial).

         Kleber’s Ben Wise                                                         tutorial files from this issue’s disc to
                                                                                   your computer. There’s a finished version
                                                                                                                                       You should see the basic version of our
                                                                                                                                       imaginary website. There’s a header, a

     shows you how to add
                                                                                   and some partial files for following                sidebar with a menu and a large
                                                                                   through the tutorial. Launch                        subscribe link, as well as a main column
                                                                                   Dreamweaver and open index.html                     containing a blog post. Graphically it
     extra polish and                                                              from the partial files folder.                      looks a bit blocky, so let’s improve it.


     interactivity to your site
                 The web is an incredibly fast-moving place when it
     comes to design and style trends. Only a couple of years ago the
     majority of sites were either intricately programmed Flash sites
     complete with custom interactivity or conversely something more
     functional and minimal, like Yahoo, Amazon and so on. Arguably the
     web is now driven more by rapid information flow rather than
     heavily styled user experiences, but nevertheless users are still very
     sensitive to interface ‘polish’, and getting the right level of styling can
     make or break a site.
                 This tutorial will give you some ideas on how to add
     polish to your HTML site with CSS rounded corners and jQuery
     colour-fading backgrounds, to make it just that touch more
     appealing without detracting from its immediacy or ease of use.




                                                                                   03          Switch back to Dreamweaver and into to Code View if it’s not already set.
                                                                                   Hopefully the various HTML elements in index.html should all be familiar. Open main.css
                                                                                   in a tab or via the handy Related Files button underneath the tabs if you’re using CS4.




     Ben Wise                   On the disc                Time needed
         A ‘hybrid’ web         The files you need to      45 minutes
     developer/designer         complete this
     (in his words, a           tutorial can be found      Skills
     ‘devigner’) working        at DiscContents               Using CSS3 to
     at Kleber, Wise is a       Resources                     round box
     whiz at building
     sites using Apple
                                Dreamweaver                    corners
                                                               Embedding
                                                                                   04          Add some CSS3 rounding rules to
                                                                                   smooth off some edges; lines 108-123 in the
     hardware, Adobe
     software and
                                                               jQuery and
                                                               adding colour       screenshot (you can find all code in the                 05         Save, switch back to
     open-source                                               transitions         ‘finished’ folder if you wish to copy and paste          your web browser and refresh. We
     programming                                               Awareness           it). These rules are for the header, the post box        should see some nicely rounded
     languages. See                                            of browser          edges, the menu tabs (rounded on two                     corners, adding a drop of polish to
     his work at www.                                          implications        corners) and the menu below them (rounded                our design. But there’s still the
     kleber.net                                                and fixes/
                                                               alternatives
                                                                                   on three corners.)                                       large pink block in the sidebar.



     Computer Arts August 2009                                                                                                                          www.computerarts.co.uk




ART164.tut_dw 80                                                                                                                                                             11/6/09 5:33:8 pm
81




                                                                                  07         So far so good, but to really        08         For this demo we’re going to
                                                                                  bring our page to life we need a bit more       use three different instances of the
         06         CSS rounding can be of any size, right up to a full           interactivity. We’re going to create some       effect – one on the header, one on the
         circle. Add the rules in lines 125-127. If you’re typing, don’t forget   scripted colour fading now. Embed               menu and one on the pink circle. Copy in
         Dreamweaver’s auto-prompting by hitting Ctrl/Cmd+Space bar               jQuery and its Effects plug-ins into            lines 9-31, which are doing almost the
         inside the curly braces. Save and switch back to the web browser         index.html, as shown in the screenshot          same thing three times but to the
         to see a nice big dot, breaking up the boxy nature of our page.          lines 7-8.                                      different page elements.




                                                                                                                          Future watch
                                                                                                                          A successful web designer has to keep one eye
                                                                                                               on the future (modern specifications like CSS3) and one
                                                                                                               eye on the past (legacy browser compatibility like IE6/7).
                                                                                                               It’s a wonder they don’t go cross-eyed!




                                                                                                         10         In lines 13-27, try editing the colour references to see
         09         Save, head back to your web browser and refresh. If everything has gone to           what happens, and the ‘500’ number (these are milliseconds)
         plan, any mouse activity over the header, menu and circle should be yielding some               for faster or slower fades. This is just the tip of the iceberg
         nifty effects. This kind of polish might seem a little superfluous, but it really helps to      when it comes to jQuery effects and, hopefully, you’ll enjoy
         engage your visitor and create a ‘rich user experience’.                                        exploring them in the future.


                                                                                                                                                         12           Save and
                                                                                                                                                         test in IE7. You’ll see
                                                                                                                                                         the rounding
                                                                                                                                                         stand-in graphics.
                                                                                                                                                         The colour effects
                                                                                                                                                         have already worked
                                                                                                                                                         due to jQuery’s
                                                                                                                                                         rigorous cross-
                                                                                                                                                         browser support.
                                                                                                                                                         Job done!


         11        So far we’ve had everything easy, but sadly there’s
         one messy job left: to approximate our CSS3 rounding in older
         browsers like IE, which don’t support it. We’ll need to insert
         some pre-made graphics to round off the corners. Add lines
         129-134 to main.css, and lines 30-45 to index.html.



         www.computerarts.co.uk                                                                                                                   Computer Arts August 2009




ART164.tut_dw 81                                                                                                                                                      11/6/09 5:33:10 pm

More Related Content

PDF
Rs blog pro
PDF
SHOW301 - Make Your IBM Connections Deployment Your Own: Customize It!
PDF
Flipping book creator help
PPT
STARS Storyboard
DOC
Basic Web Design In Dreamweaver
PDF
Web design with dreamweaver charles nyangiti
PPTX
Bootstrap 5 whats new
PDF
Designing True Cross-Platform Apps
Rs blog pro
SHOW301 - Make Your IBM Connections Deployment Your Own: Customize It!
Flipping book creator help
STARS Storyboard
Basic Web Design In Dreamweaver
Web design with dreamweaver charles nyangiti
Bootstrap 5 whats new
Designing True Cross-Platform Apps

Similar to ART164_tut_dw (20)

PDF
Smooth CoffeeScript
PDF
<img src="../i/r_14.png" />
PDF
New ways to present your images
PDF
Desktop apps with node webkit
PPTX
TERMINALFOUR t44u 2009 - University of St Andrews Case Study
PDF
Porfolio
PDF
Os php-wiki1-pdf
PPTX
Dreaweaver cs5
PPTX
Stc 2015 preparing legacy projects for responsive design - technical issues
PDF
5a329780735625624 ch10
PDF
BADCamp 2012 -Beginner Best Practices
PDF
Visual C 2010 How to Program 4th Edition 1 29 pdf Paul Deitel
PDF
Visual C 2010 How to Program 4th Edition 1 29 pdf Paul Deitel
PDF
Makefile
PDF
The Superhero’s Method of Modern HTML5 Development by RapidValue Solutions
PPTX
Yahoo! On Microsoft .NET 3.0 and Microsoft Expression
PPTX
High Performance on Drupal 7
PPTX
Webpack/Parcel: What’s Happening Behind the React App?
PDF
Dw cs3-introduction
PDF
Fewd week7 slides
Smooth CoffeeScript
<img src="../i/r_14.png" />
New ways to present your images
Desktop apps with node webkit
TERMINALFOUR t44u 2009 - University of St Andrews Case Study
Porfolio
Os php-wiki1-pdf
Dreaweaver cs5
Stc 2015 preparing legacy projects for responsive design - technical issues
5a329780735625624 ch10
BADCamp 2012 -Beginner Best Practices
Visual C 2010 How to Program 4th Edition 1 29 pdf Paul Deitel
Visual C 2010 How to Program 4th Edition 1 29 pdf Paul Deitel
Makefile
The Superhero’s Method of Modern HTML5 Development by RapidValue Solutions
Yahoo! On Microsoft .NET 3.0 and Microsoft Expression
High Performance on Drupal 7
Webpack/Parcel: What’s Happening Behind the React App?
Dw cs3-introduction
Fewd week7 slides
Ad

More from tutorialsruby (20)

PDF
<img src="../i/r_14.png" />
PDF
TopStyle Help & <b>Tutorial</b>
PDF
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>
PDF
<img src="../i/r_14.png" />
PDF
<img src="../i/r_14.png" />
PDF
Standardization and Knowledge Transfer – INS0
PDF
xhtml_basics
PDF
xhtml_basics
PDF
xhtml-documentation
PDF
xhtml-documentation
PDF
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
PDF
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
PDF
HowTo_CSS
PDF
HowTo_CSS
PDF
BloggingWithStyle_2008
PDF
BloggingWithStyle_2008
PDF
cascadingstylesheets
PDF
cascadingstylesheets
<img src="../i/r_14.png" />
TopStyle Help & <b>Tutorial</b>
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>
<img src="../i/r_14.png" />
<img src="../i/r_14.png" />
Standardization and Knowledge Transfer – INS0
xhtml_basics
xhtml_basics
xhtml-documentation
xhtml-documentation
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
HowTo_CSS
HowTo_CSS
BloggingWithStyle_2008
BloggingWithStyle_2008
cascadingstylesheets
cascadingstylesheets
Ad

Recently uploaded (20)

PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PPTX
Module 1 Introduction to Web Programming .pptx
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PPTX
Internet of Everything -Basic concepts details
PDF
Connector Corner: Transform Unstructured Documents with Agentic Automation
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
SaaS reusability assessment using machine learning techniques
PDF
A symptom-driven medical diagnosis support model based on machine learning te...
PDF
EIS-Webinar-Regulated-Industries-2025-08.pdf
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PDF
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
PDF
LMS bot: enhanced learning management systems for improved student learning e...
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PDF
Altius execution marketplace concept.pdf
PDF
Decision Optimization - From Theory to Practice
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
Module 1 Introduction to Web Programming .pptx
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
Internet of Everything -Basic concepts details
Connector Corner: Transform Unstructured Documents with Agentic Automation
Data Virtualization in Action: Scaling APIs and Apps with FME
SaaS reusability assessment using machine learning techniques
A symptom-driven medical diagnosis support model based on machine learning te...
EIS-Webinar-Regulated-Industries-2025-08.pdf
giants, standing on the shoulders of - by Daniel Stenberg
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
LMS bot: enhanced learning management systems for improved student learning e...
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
Altius execution marketplace concept.pdf
Decision Optimization - From Theory to Practice

ART164_tut_dw

  • 1. 80 Technique Any version of Dreamweaver Making your HTML 02 We had better check what we site shine have so far in a browser. Click the globe icon in the Dreamweaver navigation bar and select ‘Preview in Firefox’ (although 01 Let’s get set up. Copy the any web browser is fine for this tutorial). Kleber’s Ben Wise tutorial files from this issue’s disc to your computer. There’s a finished version You should see the basic version of our imaginary website. There’s a header, a shows you how to add and some partial files for following sidebar with a menu and a large through the tutorial. Launch subscribe link, as well as a main column Dreamweaver and open index.html containing a blog post. Graphically it extra polish and from the partial files folder. looks a bit blocky, so let’s improve it. interactivity to your site The web is an incredibly fast-moving place when it comes to design and style trends. Only a couple of years ago the majority of sites were either intricately programmed Flash sites complete with custom interactivity or conversely something more functional and minimal, like Yahoo, Amazon and so on. Arguably the web is now driven more by rapid information flow rather than heavily styled user experiences, but nevertheless users are still very sensitive to interface ‘polish’, and getting the right level of styling can make or break a site. This tutorial will give you some ideas on how to add polish to your HTML site with CSS rounded corners and jQuery colour-fading backgrounds, to make it just that touch more appealing without detracting from its immediacy or ease of use. 03 Switch back to Dreamweaver and into to Code View if it’s not already set. Hopefully the various HTML elements in index.html should all be familiar. Open main.css in a tab or via the handy Related Files button underneath the tabs if you’re using CS4. Ben Wise On the disc Time needed A ‘hybrid’ web The files you need to 45 minutes developer/designer complete this (in his words, a tutorial can be found Skills ‘devigner’) working at DiscContents Using CSS3 to at Kleber, Wise is a Resources round box whiz at building sites using Apple Dreamweaver corners Embedding 04 Add some CSS3 rounding rules to smooth off some edges; lines 108-123 in the hardware, Adobe software and jQuery and adding colour screenshot (you can find all code in the 05 Save, switch back to open-source transitions ‘finished’ folder if you wish to copy and paste your web browser and refresh. We programming Awareness it). These rules are for the header, the post box should see some nicely rounded languages. See of browser edges, the menu tabs (rounded on two corners, adding a drop of polish to his work at www. implications corners) and the menu below them (rounded our design. But there’s still the kleber.net and fixes/ alternatives on three corners.) large pink block in the sidebar. Computer Arts August 2009 www.computerarts.co.uk ART164.tut_dw 80 11/6/09 5:33:8 pm
  • 2. 81 07 So far so good, but to really 08 For this demo we’re going to bring our page to life we need a bit more use three different instances of the 06 CSS rounding can be of any size, right up to a full interactivity. We’re going to create some effect – one on the header, one on the circle. Add the rules in lines 125-127. If you’re typing, don’t forget scripted colour fading now. Embed menu and one on the pink circle. Copy in Dreamweaver’s auto-prompting by hitting Ctrl/Cmd+Space bar jQuery and its Effects plug-ins into lines 9-31, which are doing almost the inside the curly braces. Save and switch back to the web browser index.html, as shown in the screenshot same thing three times but to the to see a nice big dot, breaking up the boxy nature of our page. lines 7-8. different page elements. Future watch A successful web designer has to keep one eye on the future (modern specifications like CSS3) and one eye on the past (legacy browser compatibility like IE6/7). It’s a wonder they don’t go cross-eyed! 10 In lines 13-27, try editing the colour references to see 09 Save, head back to your web browser and refresh. If everything has gone to what happens, and the ‘500’ number (these are milliseconds) plan, any mouse activity over the header, menu and circle should be yielding some for faster or slower fades. This is just the tip of the iceberg nifty effects. This kind of polish might seem a little superfluous, but it really helps to when it comes to jQuery effects and, hopefully, you’ll enjoy engage your visitor and create a ‘rich user experience’. exploring them in the future. 12 Save and test in IE7. You’ll see the rounding stand-in graphics. The colour effects have already worked due to jQuery’s rigorous cross- browser support. Job done! 11 So far we’ve had everything easy, but sadly there’s one messy job left: to approximate our CSS3 rounding in older browsers like IE, which don’t support it. We’ll need to insert some pre-made graphics to round off the corners. Add lines 129-134 to main.css, and lines 30-45 to index.html. www.computerarts.co.uk Computer Arts August 2009 ART164.tut_dw 81 11/6/09 5:33:10 pm