Monday, April 4, 2011

9th Blog Post

On week 9 I learnt a few things. Firstly, if you want to repeat an image on  your page all you hav to do is repeat it either on the x or y axis for eg. repeat-x or repeat-y. Next, I learnt that padding affects the whitespace on a pageso you can use this to make the page look more organized and more reader-friendly.
FInally, I learnt that if you wanted to make changes to a specific div id element for eg a specific list items you would write it like this in your CSS: #list ul li a{ }. By doing this only this particular list will be affected by the particular styling and other lists on the page wont be affected.

1 comment:

  1. Hey Yanikee,

    This blog post is very sound. It would be just a tad bit better if you clearly stated that the #list is the id for the element. The following would be clearer.

    div#list ul li a {}

    From the above css one would definitely know that there's a div with an id list. This is only necessary when teaching someone. Why? because any element (p, span, etc)can have an id #list.

    Note the above mentioned is just for information purposes but its good to know. :D

    Regards,

    Dwight Shepherd

    ReplyDelete