SlideShare a Scribd company logo
1 of 84
setting up a contact page




M E T A L
S C H   O   O   L
css styling:
   new page




                      your completed about.html page should look like this
M E T A L
S C H   O   O     L
css styling:
   new page




M E T A L             your completed gallery.html page should look like this
S C H   O   O     L
css styling:
   new page




M E T A L             your completed contact.html page will look like this. notice the form as also the
S C H   O   O     L   sidebar styling that is entirely different from the previous two pages
css styling:
   new page




                      in code view of the gallery.html page, select the above lines (that relate to thickbox
                      and which are unnecessary for this page) and delete. save file as contact.html
M E T A L
S C H   O   O     L
css styling:
   new page




                      select the above lines too and delete


M E T A L
S C H   O   O     L
css styling:
   new page




                      select the above lines that refer to the gallery images and delete
M E T A L
S C H   O   O     L
css styling:
   new page




                      in design view confirm that the gallery images are all gone
M E T A L
S C H   O   O     L
css styling:
   new page




                      now to make the current page the ‘active’ page. in code view select
                      the words in the ul menu as shown above. cmd-x to cut and close the
                      gap in the <li> tag

M E T A L
S C H   O   O     L
css styling:
   new page




                      in the contact.html line, paste the words as shown above. there should
                      be a space between ‘<li’ and ‘class’


M E T A L
S C H   O   O     L
css styling:
   new page




                      confirm in design view that the contact button is dark green


M E T A L
S C H   O   O     L
css styling:
   new page




                      more deletions - start with selecting the youtube video graphic in design
                      view and delete


M E T A L
S C H   O   O     L
css styling:
   new page




                      select the two cd images in the sidebar and delete them


M E T A L
S C H   O   O     L
css styling:
   new page




                      select the headlines ‘hover’ and ‘eleven complaints’ one by one and
                      delete both


M E T A L
S C H   O   O     L
css styling:
   new page




                      select the copy as shown above and delete

M E T A L
S C H   O   O     L
css styling:
   new page




                      select the copy as shown above and type ‘tejas narayan’


M E T A L
S C H   O   O     L
css styling:
   new page




                      select ‘album reviews’ inside of the h1 tags and type in ‘sheldon fonseca’ instead



M E T A L
S C H   O   O     L
css styling:
   new page



                      get the cursor on to a fresh line below the h1 tags that contain ‘tejas narayan’




M E T A L
S C H   O   O     L
css styling:
   new page




                      insert image - tj-bass.jpg from your images folder


M E T A L
S C H   O   O     L
css styling:
   new page



                      similarly, place the cursor on a fresh line below the h1 tags of ‘sheldon fonseca’
                      as shown above and insert image of sheldon.jpg from your images folder




M E T A L
S C H   O   O     L
css styling:
   new page




                      the two images in place in design view



M E T A L
S C H   O   O     L
css styling:
   new page




                      copy the first para of the sidebar3.txt and paste in place of the text selected
                      above (without deleting the p tags)


M E T A L
S C H   O   O     L
css styling:
   new page




                      copy the second para of sidebar-contact.txt and paste within the p tags as shown




M E T A L
S C H   O   O     L
css styling:
   new sidebar




                    now to style the sidebar in a distinct manner unlike the sidebars of the other
                    2 pages. click inside a para of the sidebar and in the status bar below, click
M E T A L
S C H   O   O   L   on the <div#sidebar> tag (circled in red).
css styling:
   new sidebar




                    now make new css rule. in the dialog box fill in the selector as
                    shown above. there is no class yet named .contactPagesidebar.
                    clicking on ok will create just such a class
M E T A L
S C H   O   O   L
css styling:
   new sidebar




                    fill in the values as above. link the background image to vectorbg3a.gif in your
                    images folder. click ok. there will be no visible difference as there is nothing
                    assigned to this new class yet. let’s do that
M E T A L
S C H   O   O   L
css styling:
   new sidebar




                    in design view click inside a para in the sidebar and in the status bar (as before)
                    click on <div#sidebar>. this selects the entire contents of the sidebar. in the
                    properties box select the class as ‘contactPage’
M E T A L
S C H   O   O   L
css styling:
   new sidebar




                    the distinctly styled sidebar background!

M E T A L
S C H   O   O   L
css styling:
   new sidebar




                    to style h1, place cursor inside a headline and make new css rule. type in the exact
                    words in the selector box as shown above-left. change color to #030. click ok
M E T A L
S C H   O   O   L
css styling:
   new sidebar




                    to style the p tag inside the sidebar, place cursor in a para and make
                    new css rule. make sure you type in ‘#wrapper .contactPage#sidebar p’
                    in the selector box and put in the values shown above. font-size: .9em;
                    line-height: 160%; color: #300

M E T A L
S C H   O   O   L
css styling:
   new sidebar




                    to give a border to the images inside the sidebar, select one of the images
                    and make new css rule. type in ‘#wrapper .contactPage#sidebar img’ in
                    the selector box and put in the values shown above: solid 3px #030.

M E T A L
S C H   O   O   L
css styling:
   new sidebar




                    the fully styled sidebar for the contact page with the
                    correct font-size, line-height and image borders

M E T A L
S C H   O   O   L
css styling:
   headlines

                      to replace the headline graphic in the main content area, double-
                      click the graphic




M E T A L
S C H   O   O     L
css styling:
   headlines


                      link to contactkastadyne.png in your images folder




M E T A L
S C H   O   O     L
css styling:
   headlines



                      now select the h2 headline of ‘click on photo to enlarge’




M E T A L
S C H   O   O     L
css styling:
   headlines




                      type in the new line: ‘get in touch with the band here’




M E T A L
S C H   O   O     L
creating a contact form




M E T A L
S C H   O   O   L
css styling:
   contact form



                    make sure cursor is on a fresh line after the </h2> tag in the main
                    content area




M E T A L
S C H   O   O   L
css styling:
   contact form




                    from the window menu click on ‘insert’ to see the full insert menu


M E T A L
S C H   O   O   L
css styling:
   contact form




                    in the insert menu, click on ‘form’ to create a new form

M E T A L
S C H   O   O   L
css styling:
   contact form




                    the form region (in design view) is represented by a red bordered rectangle
M E T A L
S C H   O   O   L
css styling:
   contact form




                    make sure the cursor is inside the red rectangle


M E T A L
S C H   O   O   L
css styling:
   contact form




                    click on ‘text field’ option in the insert menu



M E T A L
S C H   O   O   L
css styling:
   contact form




                    in the attributes box, fill in id, label and tab index
                    fields as shown
M E T A L
S C H   O   O   L
css styling:
   contact form




                    the new text field is entered in the main content area


M E T A L
S C H   O   O   L
css styling:
   contact form




                    press the return key at the end of the field in design view to put the cursor on a
                    fresh line. this is to ensure that each new field is held within p tags

M E T A L
S C H   O   O   L
css styling:
   contact form




                    insert another text field in a similar way. fill in the attributes
                    as shown above. this is for the e-mail field
M E T A L
S C H   O   O   L
css styling:
   contact form




                    the e-mail field is inserted. go to end of the line in design view and press
                    return to create new para. note (in code view) that the two fields entered so
                    far are within <p></p> tags
M E T A L
S C H   O   O   L
css styling:
   contact form




                    for the third field, insert a text area instead of a text field.
                    this is to allow a multi-line message or comments

M E T A L
S C H   O   O   L
css styling:
   contact form




                    fill in the attributes as shown above

M E T A L
S C H   O   O   L
css styling:
   contact form




                    insert a checkbox field on a fresh line


M E T A L
S C H   O   O   L
css styling:
   contact form




                    enter the label as ‘subscribe me to your free newsletter
                    kastanews’. enter other values as shown
M E T A L
S C H   O   O   L
css styling:
   contact form




                    the checkbox line is inserted. as can be seen, each field is in its own line one
                    below the other. press return for one more final line


M E T A L
S C H   O   O   L
css styling:
   contact form




                    insert the final item - the submit button



M E T A L
S C H   O   O   L
css styling:
   contact form




                    fill in the attributes as shown above. there is no need for
                    the label tag for this field
M E T A L
S C H   O   O   L
css styling:
   contact form




                    the form in design view. it’s complete in substance and will be stylised
                    through css now



M E T A L
S C H   O   O   L
css styling:
   contact form




                    the form in live view
M E T A L
S C H   O   O   L
css styling:
   contact form




                    again, note in code view that each field is inside a separate para. check for this.
                    it’s important for css styling
M E T A L
S C H   O   O   L
css styling:
   contact form




                    upclose magnification of code view of the form


M E T A L
S C H   O   O   L
css styling:
   contact form




                    to work on the css, click on the main.css button on
                    the top row


M E T A L
S C H   O   O   L
css styling:
   contact form




                    minimise the properties and css panels. maximise the document
                    window in split view

M E T A L
S C H   O   O   L
css styling:
   contact form




                    enter padding-top: 20px. check in design view




M E T A L
S C H   O   O   L
css styling:
   contact form




                    enter font and color values as shown




M E T A L
S C H   O   O   L
css styling:
   contact form




                    and finally, a border to encircle the form




M E T A L
S C H   O   O   L
css styling:
   contact form




                    the css so far. there’s more to come...


M E T A L
S C H   O   O   L
css styling:
   contact form




                    css for the p tag within the form




M E T A L
S C H   O   O   L
css styling:
   contact form




                    css for the labels within the form



M E T A L
S C H   O   O   L
css styling:
   contact form




M E T A L
S C H   O   O   L
css styling:
   contact form




                    the css so far. the ‘subscribe me...’ line is getting constricted
                    by the overall label width of 100px

M E T A L
S C H   O   O   L
css styling:
   contact form




                    css for the text area - its width and height


M E T A L
S C H   O   O   L
css styling:
   contact form




                    the css for the text area. almost home...


M E T A L
S C H   O   O   L
css styling:
   contact form




                    the ‘subscribe me...’ line is too long as a label. we need a special class to
                    handle this special label


M E T A L
S C H   O   O   L
css styling:
   contact form




                    to assign the new class, click somewhere in the ‘subscribe me...’ line in design view.
                    in the status bar, click on <label> tag. this will select the entire label (but not the
                    checkbox element)


M E T A L
S C H   O   O   L
css styling:
   contact form




                    in the properties box from the class drop-down menu select ‘spllabel’.
                    the class is now assigned to the label
M E T A L
S C H   O   O   L
css styling:
   contact form




                    the css for the contact form is done. check in live view and browser
                    view to make sure all is well
M E T A L
S C H   O   O   L
css styling:
   contact form




                    background-color: #D3FFBF


M E T A L
S C H   O   O   L
css styling:
   contact form




                    to assign the .text class: select the text boxes of name and e-mail one after the
                    other and in the properties panel, select ‘text’ from the class drop-down menu
M E T A L
S C H   O   O   L
css styling:
   contact form




                    the ‘focus’ in action in live view. the css for the form is complete


M E T A L
S C H   O   O   L
some final tweaks




M E T A L
S C H   O   O   L
css styling:
   final tweaks




                      to insert a grungy ‘cobweb’ graphic in the top right corner of the main
                      content area, double-click #mainContent in css panel and link the
                      background-image to vectorbg2.gif in your images folder

M E T A L
S C H   O   O     L
css styling:
   final tweaks




                      the graphic is in place. but being in the #mainContent region, this graphic
                      will now be visible in all pages, not just the contact page
M E T A L
S C H   O   O     L
css styling:
   final tweaks




                      tweak #2: reduce the width of the text column in the sidebar. go to
                      #wrapper .contactPage#sidebar p and insert width: 220px


M E T A L
S C H   O   O     L
css styling:
   final tweaks




                      the final view

M E T A L
S C H   O   O     L
M E T A L
S C H   O   O   L

More Related Content

Similar to Let's build a website with Dreamweaver - VI

BasicCSSFlowTutorial
BasicCSSFlowTutorialBasicCSSFlowTutorial
BasicCSSFlowTutorialtutorialsruby
 
BasicCSSFlowTutorial
BasicCSSFlowTutorialBasicCSSFlowTutorial
BasicCSSFlowTutorialtutorialsruby
 
Let's build a website with Dreamweaver I
Let's build a website with Dreamweaver ILet's build a website with Dreamweaver I
Let's build a website with Dreamweaver INarayan Kumar
 
Liquidlayout
LiquidlayoutLiquidlayout
Liquidlayoutsammt
 
Rollover button tutorial
Rollover button tutorialRollover button tutorial
Rollover button tutorialDaniel Downs
 
Let's build a website with Dreamweaver - II
Let's build a website with Dreamweaver - IILet's build a website with Dreamweaver - II
Let's build a website with Dreamweaver - IINarayan Kumar
 
How to use in design
How to use in designHow to use in design
How to use in designasmediae15
 
Step By Step Microsoft Power Point 2010
Step By Step Microsoft Power Point 2010Step By Step Microsoft Power Point 2010
Step By Step Microsoft Power Point 2010Baseera Hashmi
 
SYSTEMS DESIGN / CAPSTONE PROJECT
SYSTEMS DESIGN / CAPSTONE PROJECTSYSTEMS DESIGN / CAPSTONE PROJECT
SYSTEMS DESIGN / CAPSTONE PROJECTSanjay Saluth
 
Concrete bent with_nonprismatic_cap_beam
Concrete bent with_nonprismatic_cap_beamConcrete bent with_nonprismatic_cap_beam
Concrete bent with_nonprismatic_cap_beamubaidinfo
 
CSS Basic and Common Errors
CSS Basic and Common ErrorsCSS Basic and Common Errors
CSS Basic and Common ErrorsHock Leng PUAH
 
Creating a vertical link
Creating a vertical linkCreating a vertical link
Creating a vertical linkricardovigan
 

Similar to Let's build a website with Dreamweaver - VI (16)

Tutorial5
Tutorial5Tutorial5
Tutorial5
 
BasicCSSFlowTutorial
BasicCSSFlowTutorialBasicCSSFlowTutorial
BasicCSSFlowTutorial
 
BasicCSSFlowTutorial
BasicCSSFlowTutorialBasicCSSFlowTutorial
BasicCSSFlowTutorial
 
Let's build a website with Dreamweaver I
Let's build a website with Dreamweaver ILet's build a website with Dreamweaver I
Let's build a website with Dreamweaver I
 
Liquidlayout
LiquidlayoutLiquidlayout
Liquidlayout
 
Rollover button tutorial
Rollover button tutorialRollover button tutorial
Rollover button tutorial
 
Let's build a website with Dreamweaver - II
Let's build a website with Dreamweaver - IILet's build a website with Dreamweaver - II
Let's build a website with Dreamweaver - II
 
How to use in design
How to use in designHow to use in design
How to use in design
 
Step By Step Microsoft Power Point 2010
Step By Step Microsoft Power Point 2010Step By Step Microsoft Power Point 2010
Step By Step Microsoft Power Point 2010
 
SYSTEMS DESIGN / CAPSTONE PROJECT
SYSTEMS DESIGN / CAPSTONE PROJECTSYSTEMS DESIGN / CAPSTONE PROJECT
SYSTEMS DESIGN / CAPSTONE PROJECT
 
CSS_tutorial_2
CSS_tutorial_2CSS_tutorial_2
CSS_tutorial_2
 
CSS_tutorial_2
CSS_tutorial_2CSS_tutorial_2
CSS_tutorial_2
 
Concrete bent with_nonprismatic_cap_beam
Concrete bent with_nonprismatic_cap_beamConcrete bent with_nonprismatic_cap_beam
Concrete bent with_nonprismatic_cap_beam
 
CSS Basic and Common Errors
CSS Basic and Common ErrorsCSS Basic and Common Errors
CSS Basic and Common Errors
 
MS Excel 3rd
MS Excel 3rdMS Excel 3rd
MS Excel 3rd
 
Creating a vertical link
Creating a vertical linkCreating a vertical link
Creating a vertical link
 

Recently uploaded

8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,dollysharma2066
 
Call Girls in Kalyan Vihar Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Kalyan Vihar Delhi 💯 Call Us 🔝8264348440🔝Call Girls in Kalyan Vihar Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Kalyan Vihar Delhi 💯 Call Us 🔝8264348440🔝soniya singh
 
文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改
文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改
文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改atducpo
 
办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改
办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改
办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改atducpo
 
Cheap Rate ➥8448380779 ▻Call Girls In Mg Road Gurgaon
Cheap Rate ➥8448380779 ▻Call Girls In Mg Road GurgaonCheap Rate ➥8448380779 ▻Call Girls In Mg Road Gurgaon
Cheap Rate ➥8448380779 ▻Call Girls In Mg Road GurgaonDelhi Call girls
 
The Selfspace Journal Preview by Mindbrush
The Selfspace Journal Preview by MindbrushThe Selfspace Journal Preview by Mindbrush
The Selfspace Journal Preview by MindbrushShivain97
 
Call Girls Anjuna beach Mariott Resort ₰8588052666
Call Girls Anjuna beach Mariott Resort ₰8588052666Call Girls Anjuna beach Mariott Resort ₰8588052666
Call Girls Anjuna beach Mariott Resort ₰8588052666nishakur201
 
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual serviceanilsa9823
 
《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...
《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...
《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...ur8mqw8e
 
CALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual serviceanilsa9823
 
Call Girls In Andheri East Call US Pooja📞 9892124323 Book Hot And
Call Girls In Andheri East Call US Pooja📞 9892124323 Book Hot AndCall Girls In Andheri East Call US Pooja📞 9892124323 Book Hot And
Call Girls In Andheri East Call US Pooja📞 9892124323 Book Hot AndPooja Nehwal
 
Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...
Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...
Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...Leko Durda
 
Breath, Brain & Beyond_A Holistic Approach to Peak Performance.pdf
Breath, Brain & Beyond_A Holistic Approach to Peak Performance.pdfBreath, Brain & Beyond_A Holistic Approach to Peak Performance.pdf
Breath, Brain & Beyond_A Holistic Approach to Peak Performance.pdfJess Walker
 
call girls in candolim beach 9870370636] NORTH GOA ..
call girls in candolim beach 9870370636] NORTH GOA ..call girls in candolim beach 9870370636] NORTH GOA ..
call girls in candolim beach 9870370636] NORTH GOA ..nishakur201
 
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual serviceanilsa9823
 
Lilac Illustrated Social Psychology Presentation.pptx
Lilac Illustrated Social Psychology Presentation.pptxLilac Illustrated Social Psychology Presentation.pptx
Lilac Illustrated Social Psychology Presentation.pptxABMWeaklings
 
Dhule Call Girls #9907093804 Contact Number Escorts Service Dhule
Dhule Call Girls #9907093804 Contact Number Escorts Service DhuleDhule Call Girls #9907093804 Contact Number Escorts Service Dhule
Dhule Call Girls #9907093804 Contact Number Escorts Service Dhulesrsj9000
 
Top Rated Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
 
Call Girls in Kalyan Vihar Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Kalyan Vihar Delhi 💯 Call Us 🔝8264348440🔝Call Girls in Kalyan Vihar Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Kalyan Vihar Delhi 💯 Call Us 🔝8264348440🔝
 
文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改
文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改
文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改
 
办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改
办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改
办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改
 
Cheap Rate ➥8448380779 ▻Call Girls In Mg Road Gurgaon
Cheap Rate ➥8448380779 ▻Call Girls In Mg Road GurgaonCheap Rate ➥8448380779 ▻Call Girls In Mg Road Gurgaon
Cheap Rate ➥8448380779 ▻Call Girls In Mg Road Gurgaon
 
The Selfspace Journal Preview by Mindbrush
The Selfspace Journal Preview by MindbrushThe Selfspace Journal Preview by Mindbrush
The Selfspace Journal Preview by Mindbrush
 
escort service sasti (*~Call Girls in Paschim Vihar Metro❤️9953056974
escort service  sasti (*~Call Girls in Paschim Vihar Metro❤️9953056974escort service  sasti (*~Call Girls in Paschim Vihar Metro❤️9953056974
escort service sasti (*~Call Girls in Paschim Vihar Metro❤️9953056974
 
Call Girls Anjuna beach Mariott Resort ₰8588052666
Call Girls Anjuna beach Mariott Resort ₰8588052666Call Girls Anjuna beach Mariott Resort ₰8588052666
Call Girls Anjuna beach Mariott Resort ₰8588052666
 
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
 
《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...
《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...
《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...
 
CALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual service
 
Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝
 
Call Girls In Andheri East Call US Pooja📞 9892124323 Book Hot And
Call Girls In Andheri East Call US Pooja📞 9892124323 Book Hot AndCall Girls In Andheri East Call US Pooja📞 9892124323 Book Hot And
Call Girls In Andheri East Call US Pooja📞 9892124323 Book Hot And
 
Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...
Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...
Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...
 
Breath, Brain & Beyond_A Holistic Approach to Peak Performance.pdf
Breath, Brain & Beyond_A Holistic Approach to Peak Performance.pdfBreath, Brain & Beyond_A Holistic Approach to Peak Performance.pdf
Breath, Brain & Beyond_A Holistic Approach to Peak Performance.pdf
 
call girls in candolim beach 9870370636] NORTH GOA ..
call girls in candolim beach 9870370636] NORTH GOA ..call girls in candolim beach 9870370636] NORTH GOA ..
call girls in candolim beach 9870370636] NORTH GOA ..
 
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
 
Lilac Illustrated Social Psychology Presentation.pptx
Lilac Illustrated Social Psychology Presentation.pptxLilac Illustrated Social Psychology Presentation.pptx
Lilac Illustrated Social Psychology Presentation.pptx
 
Dhule Call Girls #9907093804 Contact Number Escorts Service Dhule
Dhule Call Girls #9907093804 Contact Number Escorts Service DhuleDhule Call Girls #9907093804 Contact Number Escorts Service Dhule
Dhule Call Girls #9907093804 Contact Number Escorts Service Dhule
 
Top Rated Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 

Let's build a website with Dreamweaver - VI

  • 1. setting up a contact page M E T A L S C H O O L
  • 2. css styling: new page your completed about.html page should look like this M E T A L S C H O O L
  • 3. css styling: new page M E T A L your completed gallery.html page should look like this S C H O O L
  • 4. css styling: new page M E T A L your completed contact.html page will look like this. notice the form as also the S C H O O L sidebar styling that is entirely different from the previous two pages
  • 5. css styling: new page in code view of the gallery.html page, select the above lines (that relate to thickbox and which are unnecessary for this page) and delete. save file as contact.html M E T A L S C H O O L
  • 6. css styling: new page select the above lines too and delete M E T A L S C H O O L
  • 7. css styling: new page select the above lines that refer to the gallery images and delete M E T A L S C H O O L
  • 8. css styling: new page in design view confirm that the gallery images are all gone M E T A L S C H O O L
  • 9. css styling: new page now to make the current page the ‘active’ page. in code view select the words in the ul menu as shown above. cmd-x to cut and close the gap in the <li> tag M E T A L S C H O O L
  • 10. css styling: new page in the contact.html line, paste the words as shown above. there should be a space between ‘<li’ and ‘class’ M E T A L S C H O O L
  • 11. css styling: new page confirm in design view that the contact button is dark green M E T A L S C H O O L
  • 12. css styling: new page more deletions - start with selecting the youtube video graphic in design view and delete M E T A L S C H O O L
  • 13. css styling: new page select the two cd images in the sidebar and delete them M E T A L S C H O O L
  • 14. css styling: new page select the headlines ‘hover’ and ‘eleven complaints’ one by one and delete both M E T A L S C H O O L
  • 15. css styling: new page select the copy as shown above and delete M E T A L S C H O O L
  • 16. css styling: new page select the copy as shown above and type ‘tejas narayan’ M E T A L S C H O O L
  • 17. css styling: new page select ‘album reviews’ inside of the h1 tags and type in ‘sheldon fonseca’ instead M E T A L S C H O O L
  • 18. css styling: new page get the cursor on to a fresh line below the h1 tags that contain ‘tejas narayan’ M E T A L S C H O O L
  • 19. css styling: new page insert image - tj-bass.jpg from your images folder M E T A L S C H O O L
  • 20. css styling: new page similarly, place the cursor on a fresh line below the h1 tags of ‘sheldon fonseca’ as shown above and insert image of sheldon.jpg from your images folder M E T A L S C H O O L
  • 21. css styling: new page the two images in place in design view M E T A L S C H O O L
  • 22. css styling: new page copy the first para of the sidebar3.txt and paste in place of the text selected above (without deleting the p tags) M E T A L S C H O O L
  • 23. css styling: new page copy the second para of sidebar-contact.txt and paste within the p tags as shown M E T A L S C H O O L
  • 24. css styling: new sidebar now to style the sidebar in a distinct manner unlike the sidebars of the other 2 pages. click inside a para of the sidebar and in the status bar below, click M E T A L S C H O O L on the <div#sidebar> tag (circled in red).
  • 25. css styling: new sidebar now make new css rule. in the dialog box fill in the selector as shown above. there is no class yet named .contactPagesidebar. clicking on ok will create just such a class M E T A L S C H O O L
  • 26. css styling: new sidebar fill in the values as above. link the background image to vectorbg3a.gif in your images folder. click ok. there will be no visible difference as there is nothing assigned to this new class yet. let’s do that M E T A L S C H O O L
  • 27. css styling: new sidebar in design view click inside a para in the sidebar and in the status bar (as before) click on <div#sidebar>. this selects the entire contents of the sidebar. in the properties box select the class as ‘contactPage’ M E T A L S C H O O L
  • 28. css styling: new sidebar the distinctly styled sidebar background! M E T A L S C H O O L
  • 29. css styling: new sidebar to style h1, place cursor inside a headline and make new css rule. type in the exact words in the selector box as shown above-left. change color to #030. click ok M E T A L S C H O O L
  • 30. css styling: new sidebar to style the p tag inside the sidebar, place cursor in a para and make new css rule. make sure you type in ‘#wrapper .contactPage#sidebar p’ in the selector box and put in the values shown above. font-size: .9em; line-height: 160%; color: #300 M E T A L S C H O O L
  • 31. css styling: new sidebar to give a border to the images inside the sidebar, select one of the images and make new css rule. type in ‘#wrapper .contactPage#sidebar img’ in the selector box and put in the values shown above: solid 3px #030. M E T A L S C H O O L
  • 32. css styling: new sidebar the fully styled sidebar for the contact page with the correct font-size, line-height and image borders M E T A L S C H O O L
  • 33. css styling: headlines to replace the headline graphic in the main content area, double- click the graphic M E T A L S C H O O L
  • 34. css styling: headlines link to contactkastadyne.png in your images folder M E T A L S C H O O L
  • 35. css styling: headlines now select the h2 headline of ‘click on photo to enlarge’ M E T A L S C H O O L
  • 36. css styling: headlines type in the new line: ‘get in touch with the band here’ M E T A L S C H O O L
  • 37. creating a contact form M E T A L S C H O O L
  • 38. css styling: contact form make sure cursor is on a fresh line after the </h2> tag in the main content area M E T A L S C H O O L
  • 39. css styling: contact form from the window menu click on ‘insert’ to see the full insert menu M E T A L S C H O O L
  • 40. css styling: contact form in the insert menu, click on ‘form’ to create a new form M E T A L S C H O O L
  • 41. css styling: contact form the form region (in design view) is represented by a red bordered rectangle M E T A L S C H O O L
  • 42. css styling: contact form make sure the cursor is inside the red rectangle M E T A L S C H O O L
  • 43. css styling: contact form click on ‘text field’ option in the insert menu M E T A L S C H O O L
  • 44. css styling: contact form in the attributes box, fill in id, label and tab index fields as shown M E T A L S C H O O L
  • 45. css styling: contact form the new text field is entered in the main content area M E T A L S C H O O L
  • 46. css styling: contact form press the return key at the end of the field in design view to put the cursor on a fresh line. this is to ensure that each new field is held within p tags M E T A L S C H O O L
  • 47. css styling: contact form insert another text field in a similar way. fill in the attributes as shown above. this is for the e-mail field M E T A L S C H O O L
  • 48. css styling: contact form the e-mail field is inserted. go to end of the line in design view and press return to create new para. note (in code view) that the two fields entered so far are within <p></p> tags M E T A L S C H O O L
  • 49. css styling: contact form for the third field, insert a text area instead of a text field. this is to allow a multi-line message or comments M E T A L S C H O O L
  • 50. css styling: contact form fill in the attributes as shown above M E T A L S C H O O L
  • 51. css styling: contact form insert a checkbox field on a fresh line M E T A L S C H O O L
  • 52. css styling: contact form enter the label as ‘subscribe me to your free newsletter kastanews’. enter other values as shown M E T A L S C H O O L
  • 53. css styling: contact form the checkbox line is inserted. as can be seen, each field is in its own line one below the other. press return for one more final line M E T A L S C H O O L
  • 54. css styling: contact form insert the final item - the submit button M E T A L S C H O O L
  • 55. css styling: contact form fill in the attributes as shown above. there is no need for the label tag for this field M E T A L S C H O O L
  • 56. css styling: contact form the form in design view. it’s complete in substance and will be stylised through css now M E T A L S C H O O L
  • 57. css styling: contact form the form in live view M E T A L S C H O O L
  • 58. css styling: contact form again, note in code view that each field is inside a separate para. check for this. it’s important for css styling M E T A L S C H O O L
  • 59. css styling: contact form upclose magnification of code view of the form M E T A L S C H O O L
  • 60. css styling: contact form to work on the css, click on the main.css button on the top row M E T A L S C H O O L
  • 61. css styling: contact form minimise the properties and css panels. maximise the document window in split view M E T A L S C H O O L
  • 62. css styling: contact form enter padding-top: 20px. check in design view M E T A L S C H O O L
  • 63. css styling: contact form enter font and color values as shown M E T A L S C H O O L
  • 64. css styling: contact form and finally, a border to encircle the form M E T A L S C H O O L
  • 65. css styling: contact form the css so far. there’s more to come... M E T A L S C H O O L
  • 66. css styling: contact form css for the p tag within the form M E T A L S C H O O L
  • 67. css styling: contact form css for the labels within the form M E T A L S C H O O L
  • 68. css styling: contact form M E T A L S C H O O L
  • 69. css styling: contact form the css so far. the ‘subscribe me...’ line is getting constricted by the overall label width of 100px M E T A L S C H O O L
  • 70. css styling: contact form css for the text area - its width and height M E T A L S C H O O L
  • 71. css styling: contact form the css for the text area. almost home... M E T A L S C H O O L
  • 72. css styling: contact form the ‘subscribe me...’ line is too long as a label. we need a special class to handle this special label M E T A L S C H O O L
  • 73. css styling: contact form to assign the new class, click somewhere in the ‘subscribe me...’ line in design view. in the status bar, click on <label> tag. this will select the entire label (but not the checkbox element) M E T A L S C H O O L
  • 74. css styling: contact form in the properties box from the class drop-down menu select ‘spllabel’. the class is now assigned to the label M E T A L S C H O O L
  • 75. css styling: contact form the css for the contact form is done. check in live view and browser view to make sure all is well M E T A L S C H O O L
  • 76. css styling: contact form background-color: #D3FFBF M E T A L S C H O O L
  • 77. css styling: contact form to assign the .text class: select the text boxes of name and e-mail one after the other and in the properties panel, select ‘text’ from the class drop-down menu M E T A L S C H O O L
  • 78. css styling: contact form the ‘focus’ in action in live view. the css for the form is complete M E T A L S C H O O L
  • 79. some final tweaks M E T A L S C H O O L
  • 80. css styling: final tweaks to insert a grungy ‘cobweb’ graphic in the top right corner of the main content area, double-click #mainContent in css panel and link the background-image to vectorbg2.gif in your images folder M E T A L S C H O O L
  • 81. css styling: final tweaks the graphic is in place. but being in the #mainContent region, this graphic will now be visible in all pages, not just the contact page M E T A L S C H O O L
  • 82. css styling: final tweaks tweak #2: reduce the width of the text column in the sidebar. go to #wrapper .contactPage#sidebar p and insert width: 220px M E T A L S C H O O L
  • 83. css styling: final tweaks the final view M E T A L S C H O O L
  • 84. M E T A L S C H O O L

Editor's Notes