Sunday, January 20, 2008

week 2 blog post

CSS is not going as well as I would like it to be. It seems that when I try to style my text by giving it italics, setting the text size, font type, and aligning the text, everything but italicization can be completed. It makes me wonder if there are limitations to how many styling assignments I can make for different headers. Also, I am having trouble having my external CSS file style the pargraphs I want it to on my original page -- I thought I could simply differentiate different Paragraphs by using Classes, but it seems that perhaps Classes do not work for font size. Regardless, it is quite apparent that at this point I have gotten myself confused with the proper workings of CSS. Currently I am using the W3 CSS tutorial but I am not finding that as helpful as some of the API pages offered on our cogs121 Wiki. At this point, I have created an external CSS but I still must create a list, create columns, and style my page. I also found this webpage helpful: http://www.tizag.com/cssT/index.php

Assignment #2 answer:

Still, using CSS has allowed me to see some benefits. The main one is simply that it makes styling one's webpage much easier -- one could potentially apply one's style to one website to the other regardless of the content on the page. One also only has to create an external CSS once, rather than continously put in HTML code in each website that he/she creates to suffice for styling. Additionally, the advantage of classes over IDs is that while IDs define a special case such as when there are two of the same elements for specific cases, classes do the same thing for one or more occurrences. Thus, one should use classes when there are more than one such occurrences in a page, rather than IDs that should be used when there is only one such occurrence in similar elements.

No comments: