My Plan

Timeline

Week 8: intro to you new project

  • what sort of content
  • site map
  • URL
  • 100 word description for content.

Week 9:

  • Wireframes
  • mood board
  • some visuals

Week 10: Html

  • HTML tags

Week 11: CSS

  • preferences in dreamweaver
  • CSS basics

Week 12: Building website

  • slicing homepage
  • divmaps
  • home page HTML
  • More CSS stuffs

Week 13: Website building

  • Web writing
  • Content
  • CSS positioning

Week 14: Still website building

  • content
  • still building website

Week 15: Refining my website

  • A lot of testing
  • fixing up all little problems
  • upload to the internet!!!!

Week 16: HAND IN

DEADLINE!!!!!!!

 

Week 14 building site

This class we were still working on our websites we had to have our homepage completed so that we could use it for a template for all the other pages.

However I put all my other pages with all different CSS files and apparently according to Philippa it’s easier with one CSS file and use more and more id tags but oh well too late now anyway. But there is only two weeks remaining so im starting to get a little panicked but really should be sweet as.

This week i had one annoying problem with the navigation. I created a CSS menu using image sprites http://line25.com/tutorials/how-to-create-a-css-menu-using-image-sprites. This site help me alot with my navigation bar and without it i would of not hadsuch a awesome menu.

Week 13 Writing for the web

The way we read on the web can be totally different if your reading a book or paper

 

 

  • -          You will be more impatient
  • -          You will just want the website to “give me the info without having to do any effort”
  • -          You won’t want to wait
  • -          Speed is very important – there is so much on the web that you don’t have time to waste!

Good things to follow with website text

  • -          Use the inverted pyramidformat for structuring your writing. Basically this means you give away the main point of the article right at the start, and then gradually reveal details further into the article. This is similar to how newspaper articles are written, yet it’s the opposite to what you may have been trained in High School English classes or other technical writing.
  • -          Don’t be trapped into creating fluffy marketing guff just to fill a space. Empty marketing text is both annoying and patronizing to your users. Cut it.
  • -          Be aware of the F-shaped reading patternthat users unconsciously use when reading the web.
  • -          Remember to look back to your keyword research from the planning stage of this project. You need to work your keywords for each page into the text (headings, sub-headings, captions, articles, links and anchor text etc).

CSS Positioning techniques

Floats

Each box-type object can be floated. e.g.

<div>

<img src=“path/file.jpg” />

<p>This is my text here.</p>

</div>

img {

float: left;

}

Floats usually affect everything on the page below (or after) the element that you apply them to. This can cause major havoc, so you need a way to turn floats off once they have served their purpose. Use the syntax:

div {

clear: both;

}

To remove both left and right floats below the point where you apply it.

Margins

Margins on box elements push the box away from other elements around it. To apply a margin:

<div>

<img src=“path/file.jpg” />

<p>This is my text here.</p>

</div>

img {

margin: 20px;

}

If you apply one number (margin: 20px;) then the margin will be put on all sides. You can set top+bottom and left+right together (margin: 20px 40px;), this will give 20px on the top and bottom margins, and 40px at the left and right margins. Using the clock model you can specify different margins for each side of the box (margin: 10px 15px 20px 40px;), this reads like a clock top, right, bottom, left.

Padding

Padding is on the inside of the box, it pushes the box content away from the walls of the box. Padding also adds to the overall dimension of a box. So if I have a 400px square and I add 5px padding to it, then the square will actually grow bigger to measure 410px. Applying padding:

<div>

<img src=“path/file.jpg” />

<p>This is my text here.</p>

</div>

div {

padding: 10px;

}

The clock method also works on padding.

Positioning

Usually to add positioning, have a number of pixels from the top and a number of pixelsfrom the left.

To do this with the image:

<div>

<img src=“path/file.jpg” />

<p>This is my text here.</p>

</div>

img {

position: relative;

top: 30px;

left: 60px;

}

Note:

  • relative; means “move this image relative to where it normally is in the page flow.
  •  absolute; which means “move this image in relation to the 0,0 point top left in the bowser window.

CSS Inheritance

Inheritance is the process by which some CSS properties applied to one tag are passed on to nested tags. For example, a <p> tag is always nested inside of the <body> tag, so properties applied to the <body> tag get inherited by the <p> tag.

A CSS property can be set in one location, and automatically applied to many tags. That saves you from writing it over and over again.

CSS Specificity

Is basically the process the browser uses to decide which CSS property should apply. CSS provides a formula for determining a styles specificity which is based on the type of selector used.

  • HTML element (or tag) selectors are worth 1 point. Examples: body p h1 strong div
  • Class selectors are worth 10 points. Examples: .cats .nav
  • ID selectors are worth 100 points. Examples: #dogs #sidebar
  • Inline styles are worth 1000 points. Examples: <p style=“color: red;”>This is some important text.</p>

Week 12 Homepage

This lesson we learnt how to turn our visual designs into web pages.

Note: Knowing the overall process of converting your visual designs into working webpages before you start will make things easier to understand:

  1. Start with your visual design. It must be at exactly 100% size (i.e. no scaling). It must also be at 72 dpi. (remember this it’s really important)
  2. Print out your design and draw a div map over the top. This is where you decide on how you will build the HTML structure. (this helps you to understand the website structure much easier)
  3. Slice you design up into smaller pieces (files). Optimize each file so it has good quality but small file size.
  4. Using your div map to guide you, write your empty HTML structure. (remember to save along the way, you don’t want to have to redo your work)
  5. Begin writing the CSS structure, using the sliced images from step 3.
  6. Use a combination of HTML and CSS to create functionality such as navigation menus.
  7. Begin populating your HTML file with content – the text, images, and videos.
  8. Use this file as a template to create other webpages. Just remove the content and replace with the appropriate content for the new page. Remember to update links to CSS files and images, and to adjust menus. (important)
  9. Test as you go.

CSS Positioning and the CSS Box Model

Week 11 CSS

This class we learnt about CSS.CSS stands for Cascading Style Sheets, it is what styles your website. In HTML file there is a labelled item you wish to apply a style to and then in the CSS file you write the rules to define your desired style.CSS is used to style pieces of HTML content. The content refers to the look, position, or attributes of something (fonts,colour and decoration styles).

With CSS you can:

change font setting and size, width and height of objects, margins and padding, position and float, colour, control how links look, control how images look, gradient,drop shadow, rounded corners and other basic special effects.

 

So today we started learning how to write CSS:

    1. You open your pre-made HTML file in DreamWeaver. Create a new CSS file. In DreamWeaver, go New -> Choose CSS.
    2. Your blank CSS file will show: (You then Save your file into the correct CSS folder.)
    3. Now type your first CSS style as follows, this will change the colour of the <p> tag:    
    4. Preview the HTML file in a browser. But we will not see our CSS changes, as the files are not linked yet.
    5. To link the files: In the HTML document under the </title> tag have this code:                                                                                                                                              <link href=”CSS/mainstyles.css” rel=”stylesheet” type=”text/css” />                                            Save and refresh the browser to see the changes.
    6. Settings of font and type size:font-family:                                                                            Arial, Helvetica, sans-serif;                                                                                           font-size: 0.8em;                                                                                                                     Save and refresh browser.
    7.  The headings,changing font, and colour from all text that’s enclosed in <p> tag. We can style the <h1> tag as follows:                                                                                           h1 {                                                                                                                                 color:#900;                                                                                                             font-family:Arial, Helvetica, sans-serif;                                                                              }
    8. How about styling the <h2> tag:                                                                                            h2 {                                                                                                                           color:#990;                                                                                                                font-family:Arial, Helvetica, sans-serif;                                                                  font-size: 1.2em;s                                                                                                                  }                                                                                                                                           Refresh the webpage to view your change.

There are 3 different types of selectors. HTML selectors <p> <h1> <h2>, The two other types of selectors are called id and class selectors.

We will now use the ID selector to alter the style of a new paragraph we are about to add.

  1. In the HTML file, add a new paragraph of text. Make sure you enclose it in <p> </p> tags.
  2. To add a specific ID to the <p> tag, enter the following text:

id=”secondPara”

This should be added into the opening <p> tag, like this:

<p id=”secondPara”>This is the second paragraph.</p>

(If you add a class selector, you would put it in the same place, but replace the “id” with “class”)

  1. Now we need to write the CSS to go with our new ID selector. Head over to your CSS file, and type this:

#secondPara {

color:#090;

}

 

Week 10 learning dreamweaver

On this day we learned how open dreamweaver and how to set up the preferences for how we want to be. for example if you want the code tags to close after typing  <h1> </h1>(closing tag).

Also we had to set up the folder structure and make sure never to mess around with any of the files once set up because it will muck up the whole website.

Setting up new html (HTML stands for Hyper Text Markup Language) file is easy. File > New > Choose HTML file, XHTML 1.0 Transitional. This html code is good one to learn – it’s stable and accepted by the majority of browsers. HTML is a language composed of basic parts, e.g:

<the opening tag> content in it </the closing tag>

<p> paragraph tag </p>

<h1> heading 1 tag </h1>

<h2> heading 2 tag </h2>

<h3> heading 3 tag </h3>

<strong> strong tag – gives bold effect </strong>

<em> emphasis tag – gives italic effect  </em>

Image tag – browse to find image : <img src=”IMAGES/cat_image.jpg”/>

Creating a link tag : <a href=”kittens.html”> Text to become the link </a>

Set the title tag, it appears on the SEO title tag: <title> title here </title>

<body> all visible parts of the site go in here </body>