Dynamic Dates with CSS Sprites+

Size: px
Start display at page:

Download "Dynamic Dates with CSS Sprites+"

Transcription

1 Dynamic Dates with CSS Sprites+ Boston N.E.R.D. Chris

2

3

4

5

6

7

8

9

10

11

12

13

14

15 Web Benefits Smaller files! (potentially) Cleaner markup (style in CSS)! No JavaScript required (preloading) Reduced load time Round trips are expensive!

16 REQUEST INTERIOR, COMPUTER. DAY.

17 WEB BROWSER: Hey, server, you there? Cambridge, MA Timbuktu

18 SERVER:... Cambridge, MA Timbuktu

19 SERVER: Always, my browser-friend. Cambridge, MA Timbuktu

20 WEB BROWSER: Cool. You got this file? Cambridge, MA Timbuktu

21 SERVER: Hold on, let me check... Cambridge, MA Timbuktu

22 SERVER:... Cambridge, MA Timbuktu

23 SERVER: Hey, HD, got that file? Cambridge, MA

24 HD:... Cambridge, MA

25 HD: Yup, here it is? Cambridge, MA

26 SERVER: Yo, got that file you wanted. Cambridge, MA Timbuktu

27 fin

28

29 Fewer files == better, even if file size is bigger. Combine many images into one file.

30 When? Icons Frequently used images

31 How?

32 CSS

33 Cascading Style Sheets

34 Little Boxes Everything is a box. 1. How big is this box? 2. What s inside? 3. Where can I put it?

35 Cascading Style Sheets height width background background-position

36 Cascading Style Sheets height width background background-position How big?

37 Cascading Style Sheets height width background background-position How big? What s inside?

38 Rescuing the princss

39

40

41

42 width:20px;

43 width:20px; height:40px;

44 width:20px; height:40px; background:url(/images/mariosprite.gif);

45 ] width:20px; height:40px; background:url(/images/mariosprite.gif); background-position: -300px 0px;

46 width:20px; height:40px; background:url(/images/mariosprite.gif); background-position: -300px -140px;

47 Dynamic Dates with CSS Sprites+ Boston N.E.R.D. Chris

48

49

50

51

52

53

54

55

56

57

58

59

60 Little Boxes Everything is a box.

61 Little Boxes Everything is a box. 1. How big is this box? 2. What s inside? 3. Where can I put it?

62 Cascading Style Sheets height width background background-position How big?

63 Cascading Style Sheets height width background background-position How big? What s inside?

64 Cascading Style Sheets height width background background-position display position top left Where can I put it?

65 Our Little Boxes

66 Our Little Boxes 1. Container

67 Our Little Boxes 1. Container 2. Pages BG

68 Our Little Boxes 1. Container 2. Pages BG 3. Month name

69 Our Little Boxes 1. Container 2. Pages BG 3. Month name 4. First Digit

70 Our Little Boxes 1. Container 2. Pages BG 3. Month name 4. First Digit 5. Second Digit

71 1. Container.littleCal { height: 38px; width: 40px; display: inline-block; position: relative; }

72 2. Pages BG.littleCal.lc_pages { background: url(images/ littlecalsprite.png) background-position: -2px -4px; height: 38px; width: 40px; position: absolute; left: 0px; top: 0px; }

73 3. Month.littleCal.lc_month { background: url(images/ littlecalsprite.png) height: 15px; width: 28px; position: absolute; left: 7px; top: 2px; z-index: 5; text-indent: -9999em; }

74 3. Month.littleCal.lc_month { background: url(images/ littlecalsprite.png) height: 15px; width: 28px; position: absolute; left: 7px; top: 2px; z-index: 5; text-indent: -9999em; }

75 Little Boxes Everything is a box. 1. How big is this box? 2. What s inside? 3. Where can I put it?

76 Little Boxes Everything is a box. the same! 1. How big is this box? 2. What s inside? 3. Where can I put it?

77 Little Boxes Everything is a box. the same! 1. How big is this box? 2. What s inside? 3. Where can I put it? Differenté!

78 Cascading Style Sheets height width background background-position display position top left

79 Cascading Style Sheets height width background background-position display position top left

80 .lc_month_1.lc_month { background-position: -100px -16px; }.lc_month_2.lc_month { background-position: -130px -16px; }.lc_month_3.lc_month { background-position: -160px -16px; }.lc_month_4.lc_month { background-position: -190px -16px; }.lc_month_5.lc_month { background-position: -220px -16px; }.lc_month_6.lc_month { background-position: -250px -16px; }.lc_month_7.lc_month { background-position: -100px -30px; }.lc_month_8.lc_month { background-position: -130px -30px; }.lc_month_9.lc_month { background-position: -160px -30px; }.lc_month_10.lc_month { background-position: -190px -30px; }.lc_month_11.lc_month { background-position: -220px -30px; }.lc_month_12.lc_month { background-position: -250px -30px; }

81 <span class="littlecal"> </span>.littlecal { height: 38px; width: 40px; } display: inline-block; position: relative;

82 <span class="littlecal"> " <span class="lc_pages"></span> </span>.littlecal.lc_pages { background: url(images/littlecalsprite.png) background-position: -2px -4px; } height: 38px; width: 40px; position: absolute; left: 0px; top: 0px;

83 <span class="littlecal"> " <span class="lc_pages"></span> " <span class="lc_month"></span> </span>.littlecal.lc_month { background: url(images/littlecalsprite.png) } height: 15px; width: 28px; position: absolute; left: 7px; top: 2px;

84 <span class="littlecal lc_month_7"> " <span class="lc_pages"></span> " <span class="lc_month"></span> </span>.littlecal.lc_month { background: url(images/littlecalsprite.png) } height: 15px; width: 28px; position: absolute; left: 7px; top: 2px;.lc_month_1.lc_month { background-position: -100px -16px; }.lc_month_2.lc_month { background-position: -130px -16px; }.lc_month_3.lc_month { background-position: -160px -16px; }.lc_month_4.lc_month { background-position: -190px -16px; }.lc_month_5.lc_month { background-position: -220px -16px; }.lc_month_6.lc_month { background-position: -250px -16px; }.lc_month_7.lc_month { background-position: -100px -30px; }.lc_month_8.lc_month { background-position: -130px -30px; }.lc_month_9.lc_month { background-position: -160px -30px; }.lc_month_10.lc_month { background-position: -190px -30px; }.lc_month_11.lc_month { background-position: -220px -30px; }.lc_month_12.lc_month { background-position: -250px -30px; }

85 <span class="littlecal lc_month_7"> " <span class="lc_pages"></span> " <span class="lc_month"></span> </span>.littlecal.lc_month { background: url(images/littlecalsprite.png) height: 15px; width: 28px;? } position: absolute; left: 7px; top: 2px;.lc_month_1.lc_month { background-position: -100px -16px; }.lc_month_2.lc_month { background-position: -130px -16px; }.lc_month_3.lc_month { background-position: -160px -16px; }.lc_month_4.lc_month { background-position: -190px -16px; }.lc_month_5.lc_month { background-position: -220px -16px; }.lc_month_6.lc_month { background-position: -250px -16px; }.lc_month_7.lc_month { background-position: -100px -30px; }.lc_month_8.lc_month { background-position: -130px -30px; }.lc_month_9.lc_month { background-position: -160px -30px; }.lc_month_10.lc_month { background-position: -190px -30px; }.lc_month_11.lc_month { background-position: -220px -30px; }.lc_month_12.lc_month { background-position: -250px -30px; }

86 July 13

87 July 13

88 July 1

89 July 1

90 July 1

91

92

93

94

95 July 13

96 July 1

97 July 1

98 July 1

99 The 1 Box What s changed? 1. How big is this box? 2. What s inside? 3. Where can I put it?

100 The 1 Box What s changed? the same! 1. How big is this box? 2. What s inside? 3. Where can I put it?

101 The 1 Box What s changed? the same! 1. How big is this box? Differenté! 2. What s inside? 3. Where can I put it?

102 .littlecal.lc_day_first { background: url(images/littlecalsprite.png) } width: 10px; height: 15px; position: absolute; left: 10px; top: 14px;.littleCal.lc_day_single { background: url(images/littlecalsprite.png) } height: 15px; width: 20px; position: absolute; left: 14px; top: 14px;.littleCal.lc_day_second { background: url(images/littlecalsprite.png) } height: 15px; width: 20px; position: absolute; left: 19px; top: 14px;

103 .lc_day_single_1.lc_day_single,.lc_day_first_1.lc_day_first,.lc_day_second_1.lc_day_second { background-position: -100px -0px; }.lc_day_single_2.lc_day_single,.lc_day_first_2.lc_day_first,.lc_day_second_2.lc_day_second { background-position: -120px -0px; }.lc_day_single_3.lc_day_single,.lc_day_first_3.lc_day_first,.lc_day_second_3.lc_day_second { background-position: -140px -0px; }.lc_day_single_4.lc_day_single,.lc_day_first_4.lc_day_first,.lc_day_second_4.lc_day_second { background-position: -160px -0px; }.lc_day_single_5.lc_day_single,.lc_day_first_5.lc_day_first,.lc_day_second_5.lc_day_second { background-position: -180px -0px; }.lc_day_single_6.lc_day_single,.lc_day_first_6.lc_day_first,.lc_day_second_6.lc_day_second { background-position: -200px -0px; }.lc_day_single_7.lc_day_single,.lc_day_first_7.lc_day_first,.lc_day_second_7.lc_day_second { background-position: -220px -0px; }.lc_day_single_8.lc_day_single,.lc_day_first_8.lc_day_first,.lc_day_second_8.lc_day_second { background-position: -240px -0px; }.lc_day_single_9.lc_day_single,.lc_day_first_9.lc_day_first,.lc_day_second_9.lc_day_second { background-position: -260px -0px; }.lc_day_single_0.lc_day_single,.lc_day_first_0.lc_day_first,.lc_day_second_0.lc_day_second { background-position: -280px -0px; }.littlecal.lc_day_first { background: url(images/littlecalsprite.png) } width: 10px; height: 15px; position: absolute; left: 10px; top: 14px;.littleCal.lc_day_single { background: url(images/littlecalsprite.png) } height: 15px; width: 20px; position: absolute; left: 14px; top: 14px;.littleCal.lc_day_second { background: url(images/littlecalsprite.png) } height: 15px; width: 20px; position: absolute; left: 19px; top: 14px;

104 July 13

105 <span class="littlecal lc_month_7"> " <span class="lc_pages"></span> " <span class="lc_month"></span> </span>

106 <span class="littlecal lc_month_7"> " <span class="lc_pages"></span> " <span class="lc_month"></span> <span class="lc_day_first"></span> </span>.littlecal.lc_day_first { background: url(images/littlecalsprite.png) } width: 10px; height: 15px; position: absolute; left: 10px; top: 14px;

107 <span class="littlecal lc_month_7"> " <span class="lc_pages"></span> " <span class="lc_month"></span> <span class="lc_day_first"></span> <span class="lc_day_second"></span> </span>.littlecal.lc_day_first { background: url(images/littlecalsprite.png) } width: 10px; height: 15px; position: absolute; left: 10px; top: 14px;.littleCal.lc_day_second { background: url(images/littlecalsprite.png) } height: 15px; width: 20px; position: absolute; left: 19px; top: 14px;

108 <span class="littlecal lc_month_7 lc_day_first_1"> " <span class="lc_pages"></span> " <span class="lc_month"></span> <span class="lc_day_first"></span> <span class="lc_day_second"></span> </span>.lc_day_single_1.lc_day_single,.lc_day_first_1.lc_day_first,.lc_day_second_1.lc_day_second { background-position: -100px -0px; }.lc_day_single_2.lc_day_single,.lc_day_first_2.lc_day_first,.lc_day_second_2.lc_day_second { background-position: -120px -0px; }.lc_day_single_3.lc_day_single,.lc_day_first_3.lc_day_first,.lc_day_second_3.lc_day_second { background-position: -140px -0px; }.lc_day_single_4.lc_day_single,.lc_day_first_4.lc_day_first,.lc_day_second_4.lc_day_second { background-position: -160px -0px; }.lc_day_single_5.lc_day_single,.lc_day_first_5.lc_day_first,.lc_day_second_5.lc_day_second { background-position: -180px -0px; }.lc_day_single_6.lc_day_single,.lc_day_first_6.lc_day_first,.lc_day_second_6.lc_day_second { background-position: -200px -0px; }.lc_day_single_7.lc_day_single,.lc_day_first_7.lc_day_first,.lc_day_second_7.lc_day_second { background-position: -220px -0px; }.lc_day_single_8.lc_day_single,.lc_day_first_8.lc_day_first,.lc_day_second_8.lc_day_second { background-position: -240px -0px; }.lc_day_single_9.lc_day_single,.lc_day_first_9.lc_day_first,.lc_day_second_9.lc_day_second { background-position: -260px -0px; }.lc_day_single_0.lc_day_single,.lc_day_first_0.lc_day_first,.lc_day_second_0.lc_day_second { background-position: -280px -0px; }

109 <span class="littlecal lc_month_7 lc_day_first_1 lc_day_second_3"> " <span class="lc_pages"></span> " <span class="lc_month"></span> <span class="lc_day_first"></span> <span class="lc_day_second"></span> </span>.lc_day_single_1.lc_day_single,.lc_day_first_1.lc_day_first,.lc_day_second_1.lc_day_second { background-position: -100px -0px; }.lc_day_single_2.lc_day_single,.lc_day_first_2.lc_day_first,.lc_day_second_2.lc_day_second { background-position: -120px -0px; }.lc_day_single_3.lc_day_single,.lc_day_first_3.lc_day_first,.lc_day_second_3.lc_day_second { background-position: -140px -0px; }.lc_day_single_4.lc_day_single,.lc_day_first_4.lc_day_first,.lc_day_second_4.lc_day_second { background-position: -160px -0px; }.lc_day_single_5.lc_day_single,.lc_day_first_5.lc_day_first,.lc_day_second_5.lc_day_second { background-position: -180px -0px; }.lc_day_single_6.lc_day_single,.lc_day_first_6.lc_day_first,.lc_day_second_6.lc_day_second { background-position: -200px -0px; }.lc_day_single_7.lc_day_single,.lc_day_first_7.lc_day_first,.lc_day_second_7.lc_day_second { background-position: -220px -0px; }.lc_day_single_8.lc_day_single,.lc_day_first_8.lc_day_first,.lc_day_second_8.lc_day_second { background-position: -240px -0px; }.lc_day_single_9.lc_day_single,.lc_day_first_9.lc_day_first,.lc_day_second_9.lc_day_second { background-position: -260px -0px; }.lc_day_single_0.lc_day_single,.lc_day_first_0.lc_day_first,.lc_day_second_0.lc_day_second { background-position: -280px -0px; }

110 <span class="littlecal lc_month_7 lc_day_first_1 lc_day_second_3"> " <span class="lc_pages"></span> " <span class="lc_month"></span> <span class="lc_day_first"></span> <span class="lc_day_second"></span> </span>.lc_day_single_1.lc_day_single,.lc_day_first_1.lc_day_first,.lc_day_second_1.lc_day_second { background-position: -100px -0px; }.lc_day_single_2.lc_day_single,.lc_day_first_2.lc_day_first,.lc_day_second_2.lc_day_second { background-position: -120px -0px; }.lc_day_single_3.lc_day_single,.lc_day_first_3.lc_day_first,.lc_day_second_3.lc_day_second { background-position: -140px -0px; }.lc_day_single_4.lc_day_single,.lc_day_first_4.lc_day_first,.lc_day_second_4.lc_day_second { background-position: -160px -0px; }.lc_day_single_5.lc_day_single,.lc_day_first_5.lc_day_first,.lc_day_second_5.lc_day_second { background-position: -180px -0px; }.lc_day_single_6.lc_day_single,.lc_day_first_6.lc_day_first,.lc_day_second_6.lc_day_second { background-position: -200px -0px; }.lc_day_single_7.lc_day_single,.lc_day_first_7.lc_day_first,.lc_day_second_7.lc_day_second { background-position: -220px -0px; }.lc_day_single_8.lc_day_single,.lc_day_first_8.lc_day_first,.lc_day_second_8.lc_day_second { background-position: -240px -0px; }.lc_day_single_9.lc_day_single,.lc_day_first_9.lc_day_first,.lc_day_second_9.lc_day_second { background-position: -260px -0px; }.lc_day_single_0.lc_day_single,.lc_day_first_0.lc_day_first,.lc_day_second_0.lc_day_second { background-position: -280px -0px; }

111 July 1

112 <span class="littlecal lc_month_7"> " <span class="lc_pages"></span> " <span class="lc_month"></span> </span>

113 <span class="littlecal lc_month_7"> " <span class="lc_pages"></span> " <span class="lc_month"></span> <span class="lc_day_single"></span> </span>.littlecal.lc_day_single { background: url(images/littlecalsprite.png) } height: 15px; width: 20px; position: absolute; left: 14px; top: 14px;

114 <span class="littlecal lc_month_7 lc_day_single_1"> " <span class="lc_pages"></span> " <span class="lc_month"></span> <span class="lc_day_single"></span> </span>.lc_day_single_1.lc_day_single,.lc_day_first_1.lc_day_first,.lc_day_second_1.lc_day_second { background-position: -100px -0px; }.lc_day_single_2.lc_day_single,.lc_day_first_2.lc_day_first,.lc_day_second_2.lc_day_second { background-position: -120px -0px; }.lc_day_single_3.lc_day_single,.lc_day_first_3.lc_day_first,.lc_day_second_3.lc_day_second { background-position: -140px -0px; }.lc_day_single_4.lc_day_single,.lc_day_first_4.lc_day_first,.lc_day_second_4.lc_day_second { background-position: -160px -0px; }.lc_day_single_5.lc_day_single,.lc_day_first_5.lc_day_first,.lc_day_second_5.lc_day_second { background-position: -180px -0px; }.lc_day_single_6.lc_day_single,.lc_day_first_6.lc_day_first,.lc_day_second_6.lc_day_second { background-position: -200px -0px; }.lc_day_single_7.lc_day_single,.lc_day_first_7.lc_day_first,.lc_day_second_7.lc_day_second { background-position: -220px -0px; }.lc_day_single_8.lc_day_single,.lc_day_first_8.lc_day_first,.lc_day_second_8.lc_day_second { background-position: -240px -0px; }.lc_day_single_9.lc_day_single,.lc_day_first_9.lc_day_first,.lc_day_second_9.lc_day_second { background-position: -260px -0px; }.lc_day_single_0.lc_day_single,.lc_day_first_0.lc_day_first,.lc_day_second_0.lc_day_second { background-position: -280px -0px; }

115 Demo

116 Bonus Topic Gluing it all together with JavaScript

117 What We re Building: <span class="littlecal lc_month_7 lc_day_first_1 lc_day_second_3"> " <span class="lc_pages"></span> " <span class="lc_month"></span> <span class="lc_day_first"></span> <span class="lc_day_second"></span> </span>

118 /* -- setup -- */ function buildlittlecal(divid, datestring) { // declare variables in advance var daystring; " " var prettystring; " " // get the div where we'll put our littlecal when we're done. We'll use this later. " " var thediv = document.getelementbyid(divid);

119 /* -- is input valid? -- */ // split up that datestring. We're looking for dates formatted like this: 5/11, but if they have a year, e.g. 5/11/41, it's no problem -- the second param of the split method caps our array length at 2. " " var divarray = datestring.split('/', 2); " " // if we don't have a div array, get out, and clear the prospective div... " " if (!divarray) { " " " thediv.innerhtml = ''; " " " return; " " } " " // if the div array is not 2, it's probably not representing a date. " " if (divarray.length!== 2) { " " " thediv.innerhtml = ''; " " " return; " " }"

120 /* -- make them numbers -- */ // parse these into integers. this will clear any leading 0's, whitespace, etc... " " var monthint = parseint(divarray[0], 10); // remember to use the radix parameter (10) to set the base number system. " " var dayint = parseint(divarray[1], 10);

121 /* -- double check that they are valid numbers -- */ if (monthint > 12 monthint < 1 isnan(monthint) ) { // if the month is greater than 12, less than one, or not a number, get out " " " thediv.innerhtml = ''; " " " return; " " }" " " " if (dayint > 31 dayint < 1 isnan(dayint)) { // ditto for the day " " " thediv.innerhtml = ''; " " " return; " " }

122 /* -- turn the day integer back into a string. this allows us to just take the first character if we need to w/o math. -- */ " " var daystring = dayint.tostring(10);" "

123 /* -- build our DOM elements -- */ " // formatting will differ if the number is two digits or one. " " if (dayint > 9) { " " " " // it's a double date " " " prettystring = '<span class="littlecal lc_month_' + monthint + ' lc_day_first_' + daystring[0] + ' lc_day_second_' + daystring[1] + '">'; " " " prettystring += '<span class="lc_pages"></span>'; " " " prettystring += '<span class="lc_month"></span>'; " " " prettystring += '<span class="lc_day_first"></span>'; " " " prettystring += '<span class="lc_day_second"></span>'; " " " prettystring += '</span>'; " " } else { " " " // solo " " " prettystring = '<span class="littlecal lc_month_' + monthint + ' lc_day_single_' + daystring +'">'; " " " prettystring += '<span class="lc_pages"></span>'; " " " prettystring += '<span class="lc_month"></span>'; " " " prettystring += '<span class="lc_day_single"></span>'; " " " prettystring += '</span>'; " " }" "

124 What We re Building: <span class="littlecal lc_month_7 lc_day_first_1 lc_day_second_3"> " <span class="lc_pages"></span> " <span class="lc_month"></span> <span class="lc_day_first"></span> <span class="lc_day_second"></span> </span>

125 What We re Building: <span class="littlecal lc_month_7 lc_day_first_1 lc_day_second_3"> </span>

126 /* -- build our DOM elements -- */ " // formatting will differ if the number is two digits or one. " " if (dayint > 9) { " " " " // it's a double date " " " prettystring = '<span class="littlecal lc_month_' + monthint + ' lc_day_first_' + daystring[0] + ' lc_day_second_' + daystring[1] + '">'; " " " prettystring += '<span class="lc_pages"></span>'; " " " prettystring += '<span class="lc_month"></span>'; " " " prettystring += '<span class="lc_day_first"></span>'; " " " prettystring += '<span class="lc_day_second"></span>'; " " " prettystring += '</span>'; " " } else { " " " // solo " " " prettystring = '<span class="littlecal lc_month_' + monthint + ' lc_day_single_' + daystring +'">'; " " " prettystring += '<span class="lc_pages"></span>'; " " " prettystring += '<span class="lc_month"></span>'; " " " prettystring += '<span class="lc_day_single"></span>'; " " " prettystring += '</span>'; " " }" "

127 /* -- build our DOM elements -- */ " // formatting will differ if the number is two digits or one. " " if (dayint > 9) { " " " " // it's a double date " " " prettystring = '<span class="littlecal lc_month_' + monthint + ' lc_day_first_' + daystring[0] + ' lc_day_second_' + daystring[1] + '">'; " " } else { " " " // solo " " " prettystring = '<span class="littlecal lc_month_' + monthint + ' lc_day_single_' + daystring +'">'; " " }" "

128 /* -- build our DOM elements -- */ " // formatting will differ if the number is two digits or one. " " if (dayint > 9) { " " " " // it's a double date " " " prettystring = '<span class="littlecal lc_month_' + monthint + ' lc_day_first_' + daystring[0] + ' lc_day_second_' + daystring[1] + '">'; " " " prettystring += '<span class="lc_pages"></span>'; " " " prettystring += '<span class="lc_month"></span>'; " " " prettystring += '<span class="lc_day_first"></span>'; " " " prettystring += '<span class="lc_day_second"></span>'; " " " prettystring += '</span>'; " " } else { " " " // solo " " " prettystring = '<span class="littlecal lc_month_' + monthint + ' lc_day_single_' + daystring +'">'; " " " prettystring += '<span class="lc_pages"></span>'; " " " prettystring += '<span class="lc_month"></span>'; " " " prettystring += '<span class="lc_day_single"></span>'; " " " prettystring += '</span>'; " " }" "

129 /* -- Success! -- */ // finally, if we've gotten here, we're a success! put the new littlecal HTML in our target div. " " thediv.innerhtml = prettystring; }

130 /* -- Live updating from an input w/ jquery */ $(document).ready(function(){ " " $('input#testinput').live('keyup', function(){ " " " var thestring = $(this).val(); " " " buildlittlecal('testdiv', thestring); " " }); " });

131 Questions?

Styles, Style Sheets, the Box Model and Liquid Layout

Styles, Style Sheets, the Box Model and Liquid Layout Styles, Style Sheets, the Box Model and Liquid Layout This session will guide you through examples of how styles and Cascading Style Sheets (CSS) may be used in your Web pages to simplify maintenance of

More information

welcome to BOILERCAMP HOW TO WEB DEV

welcome to BOILERCAMP HOW TO WEB DEV welcome to BOILERCAMP HOW TO WEB DEV Introduction / Project Overview The Plan Personal Website/Blog Schedule Introduction / Project Overview HTML / CSS Client-side JavaScript Lunch Node.js / Express.js

More information

Internet Programming 1 ITG 212 / A

Internet Programming 1 ITG 212 / A Internet Programming 1 ITG 212 / A Lecture 10: Cascading Style Sheets Page Layout Part 2 1 1 The CSS Box Model top margin top border top padding left margin left border left padding Content right padding

More information

Stickers! Introduction. Step 1: Colourful coding sticker

Stickers! Introduction. Step 1: Colourful coding sticker Stickers! Introduction In this project, you ll create lots of fun stickers that you can use to decorate web pages. You ll learn about using gradients that gradually change from one colour to another to

More information

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB Unit 3 Cascading Style Sheets (CSS) Slides based on course material SFU Icons their respective owners 1 Learning Objectives In this unit you

More information

To place an element at a specific position on a page use:

To place an element at a specific position on a page use: 1 2 To place an element at a specific position on a page use: position: type; top: value; right: value; bottom: value; left: value; Where type can be: absolute, relative, fixed (also static [default] and

More information

Designing for Web Using Markup Language and Style Sheets

Designing for Web Using Markup Language and Style Sheets Module Presenter s Manual Designing for Web Using Markup Language and Style Sheets Effective from: July 2014 Ver. 1.0 Amendment Record Version No. Effective Date Change Replaced Pages 1.0 July 2014 New

More information

Cascading Style Sheets for layout II CS7026

Cascading Style Sheets for layout II CS7026 Cascading Style Sheets for layout II CS7026 Understanding CSS float The CSS float property is also a very important property for layout. It allows you to position your Web page designs exactly as you want

More information

Positioning in CSS: There are 5 different ways we can set our position:

Positioning in CSS: There are 5 different ways we can set our position: Positioning in CSS: So you know now how to change the color and style of the elements on your webpage but how do we get them exactly where we want them to be placed? There are 5 different ways we can set

More information

Data Visualization (DSC 530/CIS )

Data Visualization (DSC 530/CIS ) Data Visualization (DSC 530/CIS 602-01) HTML, CSS, & SVG Dr. David Koop Data Visualization What is it? How does it differ from computer graphics? What types of data can we visualize? What tasks can we

More information

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21 Table of Contents Chapter 1 Getting Started with HTML 5 1 Introduction to HTML 5... 2 New API... 2 New Structure... 3 New Markup Elements and Attributes... 3 New Form Elements and Attributes... 4 Geolocation...

More information

Web Site Design and Development Lecture 9. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM

Web Site Design and Development Lecture 9. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM Web Site Design and Development Lecture 9 CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM Floating elements on a web page By default block elements fll the page from top to bottom and inline elements fll

More information

The Structure of the Web. Jim and Matthew

The Structure of the Web. Jim and Matthew The Structure of the Web Jim and Matthew Workshop Structure 1. 2. 3. 4. 5. 6. 7. What is a browser? HTML CSS Javascript LUNCH Clients and Servers (creating a live website) Build your Own Website Workshop

More information

Data Visualization (DSC 530/CIS )

Data Visualization (DSC 530/CIS ) Data Visualization (DSC 530/CIS 602-01) JavaScript Dr. David Koop Quiz Given the following HTML, what is the selector for the first div? the super Bowl

More information

Data Visualization (CIS/DSC 468)

Data Visualization (CIS/DSC 468) Data Visualization (CIS/DSC 468) Web Programming Dr. David Koop Definition of Visualization Computer-based visualization systems provide visual representations of datasets designed to help people carry

More information

Design patterns and Animation with jquery. with Paul Bakaus

Design patterns and Animation with jquery. with Paul Bakaus Design patterns and Animation with jquery with Paul Bakaus The desktop. The greatest UI innovation ever. Drag & Drop. What about us? We are pioneers. Drag & Drop. in the web? Mixed worlds. Application

More information

AIM. 10 September

AIM. 10 September AIM These two courses are aimed at introducing you to the World of Web Programming. These courses does NOT make you Master all the skills of a Web Programmer. You must learn and work MORE in this area

More information

Introduction to WEB PROGRAMMING

Introduction to WEB PROGRAMMING Introduction to WEB PROGRAMMING Web Languages: Overview HTML CSS JavaScript content structure look & feel transitions/animation s (CSS3) interaction animation server communication Full-Stack Web Frameworks

More information

ADOBE 9A Adobe Dreamweaver CS4 ACE.

ADOBE 9A Adobe Dreamweaver CS4 ACE. ADOBE 9A0-090 Adobe Dreamweaver CS4 ACE http://killexams.com/exam-detail/9a0-090 ,D QUESTION: 74 You use an image throughout your Web site. You want to be able to add this image to various Web pages without

More information

CSC 337. jquery Rick Mercer

CSC 337. jquery Rick Mercer CSC 337 jquery Rick Mercer What is jquery? jquery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.

More information

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style precedence and style inheritance Understand the CSS use

More information

Using CSS for page layout

Using CSS for page layout Using CSS for page layout Advantages: Greater typographic control Style is separate from structure Potentially smaller documents Easier site maintenance Increased page layout control Increased accessibility

More information

FRONT END DEVELOPER CAREER BLUEPRINT

FRONT END DEVELOPER CAREER BLUEPRINT FRONT END DEVELOPER CAREER BLUEPRINT HAVE A QUESTION? ASK! Read up on all the ways you can get help. CONFUSION IS GOOD :) Seriously, it s scientific fact. Read all about it! REMEMBER, YOU ARE NOT ALONE!

More information

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1 59313ftoc.qxd:WroxPro 3/22/08 2:31 PM Page xi Introduction xxiii Chapter 1: Creating Structured Documents 1 A Web of Structured Documents 1 Introducing XHTML 2 Core Elements and Attributes 9 The

More information

Data Visualization (DSC 530/CIS )

Data Visualization (DSC 530/CIS ) Data Visualization (DSC 530/CIS 602-02) Web Programming Dr. David Koop 2 What languages do we use on the Web? 3 Languages of the Web HTML CSS SVG JavaScript - Versions of Javascript: ES6, ES2015, ES2017

More information

Frontend guide. Everything you need to know about HTML, CSS, JavaScript and DOM. Dejan V Čančarević

Frontend guide. Everything you need to know about HTML, CSS, JavaScript and DOM. Dejan V Čančarević Frontend guide Everything you need to know about HTML, CSS, JavaScript and DOM Dejan V Čančarević Today frontend is treated as a separate part of Web development and therefore frontend developer jobs are

More information

TAG STYLE SELECTORS. div Think of this as a box that contains things, such as text or images. It can also just be a

TAG STYLE SELECTORS. div Think of this as a box that contains things, such as text or images. It can also just be a > > > > CSS Box Model Think of this as a box that contains things, such as text or images. It can also just be a box, that has a border or not. You don't have to use a, you can apply the box model to any

More information

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes Course Title Course Code WEB DESIGNING TECHNOLOGIES DCE311 Lecture : 3 Course Credit Practical : Tutorial : 0 Total : 5 Course Learning Outcomes At end of the course, students will be able to: Understand

More information

Varargs Training & Software Development Centre Private Limited, Module: HTML5, CSS3 & JavaScript

Varargs Training & Software Development Centre Private Limited, Module: HTML5, CSS3 & JavaScript PHP Curriculum Module: HTML5, CSS3 & JavaScript Introduction to the Web o Explain the evolution of HTML o Explain the page structure used by HTML o List the drawbacks in HTML 4 and XHTML o List the new

More information

12/9/2012. CSS Layout

12/9/2012. CSS Layout Dynamic HTML CSS Layout CSS Layout This lecture aims to teach you the following subjects: CSS Grouping and nesting Selectors. CSS Dimension. CSS Display.. CSS Floating. CSS Align. 1 CSS Grouping and nesting

More information

Web Engineering CSS. By Assistant Prof Malik M Ali

Web Engineering CSS. By Assistant Prof Malik M Ali Web Engineering CSS By Assistant Prof Malik M Ali Overview of CSS CSS : Cascading Style Sheet a style is a formatting rule. That rule can be applied to an individual tag element, to all instances of a

More information

HTML CSS JAVASCRIPT WEB PUBLISHING IN ONE HOUR A DAY SAMS TEACH YOURSELF COVERING HTML5 CSS3 AND JQUERY 7TH EDITION

HTML CSS JAVASCRIPT WEB PUBLISHING IN ONE HOUR A DAY SAMS TEACH YOURSELF COVERING HTML5 CSS3 AND JQUERY 7TH EDITION HTML CSS JAVASCRIPT WEB PUBLISHING IN ONE HOUR A DAY SAMS TEACH YOURSELF COVERING HTML5 CSS3 AND JQUERY 7TH EDITION page 1 / 5 page 2 / 5 html css javascript web pdf We have curated a list of free development

More information

ADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model)

ADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model) INTRO TO CSS RECAP HTML WHAT IS CSS ADDING CSS TO YOUR HTML DOCUMENT CSS IN THE DIRECTORY TREE CSS RULES A FEW CSS VALUES (colour, size and the box model) CSS SELECTORS SPECIFICITY WEEK 1 HTML In Week

More information

CSS: The Basics CISC 282 September 20, 2014

CSS: The Basics CISC 282 September 20, 2014 CSS: The Basics CISC 282 September 20, 2014 Style Sheets System for defining a document's style Used in many contexts Desktop publishing Markup languages Cascading Style Sheets (CSS) Style sheets for HTML

More information

Course Outline Advanced Web Design

Course Outline Advanced Web Design Course Outline Advanced Web Design For Professionals Who Can Participate? Anyone can join who has the interest to get into the creative web design profession. Prerequisite: Technical Skill: Must have the

More information

Dreamweaver CS4. Introduction. References :

Dreamweaver CS4. Introduction. References : Dreamweaver CS4 Introduction References : http://help.adobe.com 1 What s new in Dreamweaver CS4 Live view Dreamweaver CS4 lets you design your web pages under realworld browser conditions with new Live

More information

Static Webpage Development

Static Webpage Development Dear Student, Based upon your enquiry we are pleased to send you the course curriculum for PHP Given below is the brief description for the course you are looking for: - Static Webpage Development Introduction

More information

Introduction to Web Concepts & Technologies

Introduction to Web Concepts & Technologies Introduction to Web Concepts & Technologies What to Expect This is an introduction to a very broad topic This should give you a sense of what you will learn in this course Try to figure out what you want

More information

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student Welcome Please sit on alternating rows powered by lucid & no.dots.nl/student HTML && CSS Workshop Day Day two, November January 276 powered by lucid & no.dots.nl/student About the Workshop Day two: CSS

More information

Cascading style sheets, HTML, DOM and Javascript

Cascading style sheets, HTML, DOM and Javascript CSS Dynamic HTML Cascading style sheets, HTML, DOM and Javascript DHTML Collection of technologies forming dynamic clients HTML (content content) DOM (data structure) JavaScript (behaviour) Cascading Style

More information

<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***

<style type=text/css> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page*** Chapter 7 Using Advanced Cascading Style Sheets HTML is limited in its ability to define the appearance, or style, across one or mare Web pages. We use Cascading style sheets to accomplish this. Remember

More information

Cascading Style Sheets CSCI 311

Cascading Style Sheets CSCI 311 Cascading Style Sheets CSCI 311 Learning Objectives Learn how to use CSS to style the page Learn to separate style from structure Styling with CSS Structure is separated from style in HTML5 CSS (Cascading

More information

Webinar. The Lighthouse Studio Scripting Series. JavaScript Sawtooth Software, Inc.

Webinar. The Lighthouse Studio Scripting Series. JavaScript Sawtooth Software, Inc. The Lighthouse Studio Scripting Series JavaScript 2 HTML 3 CSS 4 JavaScript 5 jquery (enhanced JavaScript) 6 Perl 7 HTML (Hyper Text Markup Language) 8 HTML 9 What is HTML? HTML is the language for creating

More information

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1 CREATING A WEBSITE USING CSS Mrs. Procopio CTEC6 MYP1 HTML VS. CSS HTML Hypertext Markup Language CSS Cascading Style Sheet HTML VS. CSS HTML is used to define the structure and content of a webpage. CSS

More information

COMS 359: Interactive Media

COMS 359: Interactive Media COMS 359: Interactive Media Agenda Review CSS Layout Preview Review Introducting CSS What is CSS? CSS Syntax Location of CSS The Cascade Box Model Box Structure Box Properties Review Style is cascading

More information

How to lay out a web page with CSS

How to lay out a web page with CSS How to lay out a web page with CSS A CSS page layout uses the Cascading Style Sheets format, rather than traditional HTML tables or frames, to organize the content on a web page. The basic building block

More information

Data Visualization (CIS 468)

Data Visualization (CIS 468) Data Visualization (CIS 468) Web Programming Dr. David Koop Languages of the Web HTML CSS SVG JavaScript - Versions of Javascript: ES6/ES2015, ES2017 - Specific frameworks: react, jquery, bootstrap, D3

More information

Assignments (4) Assessment as per Schedule (2)

Assignments (4) Assessment as per Schedule (2) Specification (6) Readability (4) Assignments (4) Assessment as per Schedule (2) Oral (4) Total (20) Sign of Faculty Assignment No. 02 Date of Performance:. Title: To apply various CSS properties like

More information

COMM 2555: Interactive Digital Communication / Spring 2018 Lab 9: Basic layout techniques with CSS

COMM 2555: Interactive Digital Communication / Spring 2018 Lab 9: Basic layout techniques with CSS COMM 2555: Interactive Digital Communication / Spring 2018 Lab 9: Basic layout techniques with CSS Goals Practice working with the CSS box model, positioning and layout Step 1. Create your infrastructure

More information

Frontend II: Javascript and DOM Programming. Wednesday, January 7, 15

Frontend II: Javascript and DOM Programming. Wednesday, January 7, 15 6.148 Frontend II: Javascript and DOM Programming Let s talk about Javascript :) Why Javascript? Designed in ten days in December 1995! How are they similar? Javascript is to Java as hamster is to ham

More information

Ministry of Higher Education and Scientific Research

Ministry of Higher Education and Scientific Research Morning Study Department of information technology Institute of Technical - Duhok. University of Polytechnic Duhok. Subject: Web Technology Course book for 2nd year. Lecturer s name: MSc. Ayman Nashwan

More information

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links Using Dreamweaver CC 4 Creating a Template Now that the main page of our website is complete, we need to create the rest of the pages. Each of them will have a layout that follows the plan shown below.

More information

Page Layout. 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning

Page Layout. 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning Page Layout contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning 2 1 4.1

More information

The Benefits of CSS. Less work: Change look of the whole site with one edit

The Benefits of CSS. Less work: Change look of the whole site with one edit 11 INTRODUCING CSS OVERVIEW The benefits of CSS Inheritance Understanding document structure Writing style rules Attaching styles to the HTML document The cascade The box model CSS units of measurement

More information

COMP519 Web Programming Lecture 7: Cascading Style Sheets: Part 3 Handouts

COMP519 Web Programming Lecture 7: Cascading Style Sheets: Part 3 Handouts COMP519 Web Programming Lecture 7: Cascading Style Sheets: Part 3 Handouts Ullrich Hustadt Department of Computer Science School of Electrical Engineering, Electronics, and Computer Science University

More information

Introduction to HTML & CSS. Instructor: Beck Johnson Week 2

Introduction to HTML & CSS. Instructor: Beck Johnson Week 2 Introduction to HTML & CSS Instructor: Beck Johnson Week 2 today Week One review and questions File organization CSS Box Model: margin and padding Background images and gradients with CSS Make a hero banner!

More information

ACSC 231 Internet Technologies

ACSC 231 Internet Technologies ACSC 231 Internet Technologies Lecture 7 Web Typography Efthyvoulos Kyriacou - Assoc. Prof. Frederick University Resources: C. Markides (Frederick University) Slide 1 ACSC 231: Internet Technologies 23/12/2008

More information

Introduction to JavaScript p. 1 JavaScript Myths p. 2 Versions of JavaScript p. 2 Client-Side JavaScript p. 3 JavaScript in Other Contexts p.

Introduction to JavaScript p. 1 JavaScript Myths p. 2 Versions of JavaScript p. 2 Client-Side JavaScript p. 3 JavaScript in Other Contexts p. Preface p. xiii Introduction to JavaScript p. 1 JavaScript Myths p. 2 Versions of JavaScript p. 2 Client-Side JavaScript p. 3 JavaScript in Other Contexts p. 5 Client-Side JavaScript: Executable Content

More information

READSPEAKER ENTERPRISE HIGHLIGHTING 2.5

READSPEAKER ENTERPRISE HIGHLIGHTING 2.5 READSPEAKER ENTERPRISE HIGHLIGHTING 2.5 Advanced Skinning Guide Introduction The graphical user interface of ReadSpeaker Enterprise Highlighting is built with standard web technologies, Hypertext Markup

More information

Creating and Building Websites

Creating and Building Websites Creating and Building Websites Stanford University Continuing Studies CS 21 Mark Branom branom@alumni.stanford.edu Course Web Site: http://web.stanford.edu/group/csp/cs21 Week 6 Slide 1 of 28 Week 6 Agenda

More information

Unveiling the Basics of CSS and how it relates to the DataFlex Web Framework

Unveiling the Basics of CSS and how it relates to the DataFlex Web Framework Unveiling the Basics of CSS and how it relates to the DataFlex Web Framework Presented by Roel Fermont 1 Today more than ever, Cascading Style Sheets (CSS) have a dominant place in online business. CSS

More information

CSS means Cascading Style Sheets. It is used to style HTML documents.

CSS means Cascading Style Sheets. It is used to style HTML documents. CSS CSS means Cascading Style Sheets. It is used to style HTML documents. Like we mentioned in the HTML tutorial, CSS can be embedded in the HTML document but it's better, easier and neater if you style

More information

Lesson 5 Introduction to Cascading Style Sheets

Lesson 5 Introduction to Cascading Style Sheets Introduction to Cascading Style Sheets HTML and JavaScript BASICS, 4 th Edition 1 Objectives Create a Cascading Style Sheet. Control hyperlink behavior with CSS. Create style classes. Share style classes

More information

BA. (Hons) Graphics Design

BA. (Hons) Graphics Design BA. (Hons) Graphics Design Cohort: BGD/16A/FT Examinations for 2016 / Semester 2 Resit Examinations for BGD/13/FT & BGD/14B/FT MODULE: Web Design MODULE CODE: WAT1106c Duration: 2 Hours Instructions to

More information

Cascading Style Sheets Level 2

Cascading Style Sheets Level 2 Cascading Style Sheets Level 2 Course Objectives, Session 1 Level 1 Quick Review Chapter 6 Revisit: Web Fonts Chapter 8: Adding Graphics to Web Pages Chapter 9: Sprucing Up Your Site s Navigation Begin

More information

Cascading Style Sheets (CSS)

Cascading Style Sheets (CSS) Cascading Style Sheets (CSS) Mendel Rosenblum 1 Driving problem behind CSS What font type and size does introduction generate? Answer: Some default from the browser (HTML tells what browser how)

More information

Website Development Lecture 18: Working with JQuery ================================================================================== JQuery

Website Development Lecture 18: Working with JQuery ================================================================================== JQuery JQuery What You Will Learn in This Lecture: What jquery is? How to use jquery to enhance your pages, including adding rich? Visual effects and animations. JavaScript is the de facto language for client-side

More information

Using Dreamweaver CS6

Using Dreamweaver CS6 Using Dreamweaver CS6 4 Creating a Template Now that the main page of our website is complete, we need to create the rest of the pages. Each of them will have a layout that follows the plan shown below.

More information

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148 Index Numbers & Symbols (angle brackets), in HTML, 47 : (colon), in CSS, 96 {} (curly brackets), in CSS, 75, 96. (dot), in CSS, 89, 102 # (hash mark), in CSS, 87 88, 99 % (percent) font size, in CSS,

More information

Data Visualization (DSC 530/CIS )

Data Visualization (DSC 530/CIS ) Data Visualization (DSC 530/CIS 60201) CSS, SVG, and JavaScript Dr. David Koop Definition of Visualization Computerbased visualization systems provide visual representations of datasets designed to help

More information

Web Design & Dev. Combo. By Alabian Solutions Ltd , 2016

Web Design & Dev. Combo. By Alabian Solutions Ltd ,  2016 Web Design & Dev. Combo By Alabian Solutions Ltd 08034265103, info@alabiansolutions.com www.alabiansolutions.com 2016 HTML PART 1 Intro to the web The web Clients Servers Browsers Browser Usage Client/Server

More information

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 2

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 2 Web Programming and Design MPT Senior Cycle Tutor: Tamara Week 2 Plan for the next 4 weeks: Introduction to HTML tags, creating our template file Introduction to CSS and style Introduction to JavaScript

More information

Programming in HTML5 with JavaScript and CSS3

Programming in HTML5 with JavaScript and CSS3 www.dumpspdf.com Microsoft 70-480 Programming in HTML5 with JavaScript and CSS3 Version: Demo 20.0 QUESTION NO: 1 You are in the process of creating a client web form for ABC.com. The form contains an

More information

Website Development with HTML5, CSS and Bootstrap

Website Development with HTML5, CSS and Bootstrap Contact Us 978.250.4983 Website Development with HTML5, CSS and Bootstrap Duration: 28 hours Prerequisites: Basic personal computer skills and basic Internet knowledge. Course Description: This hands on

More information

Webomania Solutions Pvt. Ltd. 2017

Webomania Solutions Pvt. Ltd. 2017 There are different types of Websites. To understand the types, one need to understand what is a website? What is a Website? A website is an online HTML Document, accessible publicly and it contains certain

More information

How to deploy for multiple screens

How to deploy for multiple screens How to deploy for multiple screens Ethan Marcotte, a developer in Boston, coined the phrase responsive design to describe a website that adapts to the size of the viewer s screen. A demonstration site

More information

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: CREATING AN HTML LIST Most horizontal or vertical navigation bars begin with a simple

More information

Mobile Site Development

Mobile Site Development Mobile Site Development HTML Basics What is HTML? Editors Elements Block Elements Attributes Make a new line using HTML Headers & Paragraphs Creating hyperlinks Using images Text Formatting Inline styling

More information

HTML Organizing Page Content

HTML Organizing Page Content HTML Organizing Page Content CSS for layout Examples http://www.shinybytes.com/newcss.html Generic Elements Used to create a logical grouping of content or elements on the page Can be customized to describe

More information

D3js Tutorial. Tom Torsney-Weir Michael Trosin

D3js Tutorial. Tom Torsney-Weir Michael Trosin D3js Tutorial Tom Torsney-Weir Michael Trosin http://www.washingtonpost.com/wp-srv/special/politics Contents Some important aspects of JavaScript Introduction to SVG CSS D3js Browser-Demo / Development-Tools

More information

INFORMATICA GENERALE 2014/2015 LINGUAGGI DI MARKUP CSS

INFORMATICA GENERALE 2014/2015 LINGUAGGI DI MARKUP CSS INFORMATICA GENERALE 2014/2015 LINGUAGGI DI MARKUP CSS cristina gena dipartimento di informatica cgena@di.unito.it http://www.di.unito.it/~cgena/ materiale e info sul corso http://www.di.unito.it/~cgena/teaching.html

More information

Web Design and Development Tutorial 03

Web Design and Development Tutorial 03 Table of Contents Web Design & Development - Tutorial 03... 2 Using and Applying CSS to XHTML... 2 Conventions... 2 What you need for this tutorial... 2 Common Terminology... 3 Parent / Child Elements...

More information

Client-Side Web Technologies. CSS Part I

Client-Side Web Technologies. CSS Part I Client-Side Web Technologies CSS Part I Topics Style declarations Style sources Selectors Selector specificity The cascade and inheritance Values and units CSS Cascading Style Sheets CSS specifies the

More information

CSS: formatting webpages

CSS: formatting webpages CSS: formatting webpages Why CSS? separate content from formatting (style) style can be changed easily without rewriting webpages keep formatting consistent across website allows more advanced formatting

More information

(Simple) JavaScript Framework Homework

(Simple) JavaScript Framework Homework (Simple) JavaScript Framework Homework Overview: In this homework you will implement a picture gallery using object oriented JavaScript code in an external JavaScript file. This is a lab about learning

More information

INTRODUCTION TO CSS. Mohammad Jawad Kadhim

INTRODUCTION TO CSS. Mohammad Jawad Kadhim INTRODUCTION TO CSS Mohammad Jawad Kadhim WHAT IS CSS Like HTML, CSS is an interpreted language. When a web page request is processed by a web server, the server s response can include style sheets,

More information

PHP Online Training. PHP Online TrainingCourse Duration - 45 Days. Call us: HTML

PHP Online Training. PHP Online TrainingCourse Duration - 45 Days.  Call us: HTML PHP Online Training PHP is a server-side scripting language designed for web development but also used as a generalpurpose programming language. PHP is now installed on more than 244 million websites and

More information

CSC309 Winter Lecture 2. Larry Zhang

CSC309 Winter Lecture 2. Larry Zhang CSC309 Winter 2016 Lecture 2 Larry Zhang 1 Announcements Assignment 1 is out, due Jan 25, 10pm. Start Early! Work in groups of 2, make groups on MarkUs. Make sure you can login to MarkUs, if not let me

More information

XAP: extensible Ajax Platform

XAP: extensible Ajax Platform XAP: extensible Ajax Platform Hermod Opstvedt Chief Architect DnB NOR ITUD Hermod Opstvedt: XAP: extensible Ajax Platform Slide 1 It s an Ajax jungle out there: XAML Dojo Kabuki Rico Direct Web Remoting

More information

HTML and CSS COURSE SYLLABUS

HTML and CSS COURSE SYLLABUS HTML and CSS COURSE SYLLABUS Overview: HTML and CSS go hand in hand for developing flexible, attractively and user friendly websites. HTML (Hyper Text Markup Language) is used to show content on the page

More information

Cascading Style Sheet

Cascading Style Sheet Extra notes - Markup Languages Dr Nick Hayward CSS - Basics A brief introduction to the basics of CSS. Contents Intro CSS syntax rulesets comments display Display and elements inline block-level CSS selectors

More information

Course Outline Advanced Web Design

Course Outline Advanced Web Design Course Outline Advanced Web Design For Professionals Who Can Participate? Anyone can join who has the interest to get into the creative web design profession. Prerequisite: Technical Skill: Must have the

More information

Appendix D CSS Properties and Values

Appendix D CSS Properties and Values HTML Appendix D CSS Properties and Values This appendix provides a brief review of Cascading Style Sheets (CSS) concepts and terminology, and lists CSS level 1 and 2 properties and values supported by

More information

Preferential Resource Delivery Via Web Proxy or Web Browser

Preferential Resource Delivery Via Web Proxy or Web Browser Technical Disclosure Commons Defensive Publications Series December 11, 2017 Preferential Resource Delivery Via Web Proxy or Web Browser Dean Kenneth Jackson Daniel Klein Follow this and additional works

More information

Chapter 3 Style Sheets: CSS

Chapter 3 Style Sheets: CSS WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE JEFFREY C. JACKSON Chapter 3 Style Sheets: CSS 1 Motivation HTML markup can be used to represent Semantics: h1 means that an element is a top-level heading

More information

Sections and Articles

Sections and Articles Advanced PHP Framework Codeigniter Modules HTML Topics Introduction to HTML5 Laying out a Page with HTML5 Page Structure- New HTML5 Structural Tags- Page Simplification HTML5 - How We Got Here 1.The Problems

More information

Gdes2000 Graphic Design for Internet & MM. Dreamweaver: Simple page construction with DIVs.

Gdes2000 Graphic Design for Internet & MM. Dreamweaver: Simple page construction with DIVs. Dreamweaver: Simple page construction with DIVs. Websites and the design process 1/17: 1. We're making the assumption that you've been given a project or brief and are looking to create a basic web page

More information

Designing the Home Page and Creating Additional Pages

Designing the Home Page and Creating Additional Pages Designing the Home Page and Creating Additional Pages Creating a Webpage Template In Notepad++, create a basic HTML webpage with html documentation, head, title, and body starting and ending tags. From

More information

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Make a Website A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Overview Course outcome: You'll build four simple websites using web

More information

CREATING A BUTTON IN PHOTOSHOP

CREATING A BUTTON IN PHOTOSHOP CREATING A BUTTON IN PHOTOSHOP Step 1: Create the Photoshop Document Our button will be exactly 170px wide and 50px tall, but we ll make a bigger canvas (600x600px) so that we have some breathing room

More information