Code : HTML
6 | < li >< a href = "page1.html" title = "Go to page 1" >Linka >li > |
7 | < li >< a href = "page2.html" title = "Go to page 2" >Linka >li > |
8 | < li >< a href = "page3.html" title = "Go to page 3" >Linka >li > |
12 | < div class = "sub-menu" > |
15 | < li >< a href = "page4.html" title = "Go to page 4" >Linka >li > |
16 | < li >< a href = "page5.html" title = "Go to page 5" >Linka >li > |
17 | < li >< a href = "page6.html" title = "Go to page 6" >Linka >li > |
And that’s it, you’ve got a nice clean menu, with sub-menus !
You can, if you want, add other sub-menus. There are no limits, but don’t go over the top or visitor’s won’t know what to click on.
You don’t have to (even if it is more common) put links and lists in a menu. If you want to add text to it just use
.
The body
The body is the main part of the page. That’s where we’ll put the content.
So, as I don’t know what your site will talk about, I can’t tell you what to put in it. Only you know that
However I can give you some indications to get you started.
To start, we’ll add a
title which will be the main title of the page (
is the name of the website). Generally, I put the same title in the tag (in <head>) and in the <h2> tag.</P><br /><P>After, we need to write paragraphs (<p>), and maybe add some sub-titles (<h3>) to give some structure to the text <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon smile HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_smile.gif"> </P><br /><P>That gives us quite a simple code for the body :</P><br /><P><STRONG>Code : HTML</STRONG></P><br /><DIV id=highlighter_425175 class="syntaxhighlighter "><br /><DIV class=lines><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>1</CODE></TD><br /><TD class=content><CODE class=plain><</CODE><CODE class=keyword>div</CODE> <CODE class=color1>id</CODE><CODE class=plain>=</CODE><CODE class=string>"body"</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>2</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>h2</CODE><CODE class=plain>>My Super Site</</CODE><CODE class=keyword>h2</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>3</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>4</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>p</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>5</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain>Welcome to my super site !<</CODE><CODE class=keyword>br</CODE> <CODE class=plain>/></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>6</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain>You will love it here, it's a super site that talks about...hmmm...I'm still looking for a subject for my site.</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>7</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain></</CODE><CODE class=keyword>p</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>8</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>9</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>h3</CODE><CODE class=plain>>Who is this site for ?</</CODE><CODE class=keyword>h3</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>10</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>p</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>11</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain>For everybody ! If I start to privilege certain people, I'll be accused of discrimination :-0 )<</CODE><CODE class=keyword>br</CODE> <CODE class=plain>/></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>12</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain>Whether you're a fan of weapons or Barbie and Ken, this site is made for you ! Yes it is !</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>13</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain></</CODE><CODE class=keyword>p</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>14</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>15</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>h3</CODE><CODE class=plain>>The author</</CODE><CODE class=keyword>h3</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>16</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>p</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>17</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain>Who's the author of this site ? It's me, what kind of question is that :-p<</CODE><CODE class=keyword>br</CODE> <CODE class=plain>/></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>18</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain>I will try to make the best site in the world (it can't be that hard). My aim is to attract as many people as possible to my site, to make them addicted to it, then to get them under my control.<</CODE><CODE class=keyword>br</CODE> <CODE class=plain>/></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>19</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain>Then I'll take control of the world. After that I'll search every corner of the Earth for more people to put under my great power. Mouahahahaha !!!</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>20</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain></</CODE><CODE class=keyword>p</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>21</CODE></TD><br /><TD class=content><CODE class=plain></</CODE><CODE class=keyword>div</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV></DIV></DIV><br /><P>Don’t take any notice of the text. It’s just a load of rubbish to fill up the space <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon biggrin HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_biggrin.gif"> </P><br /><P class=orange-text>Don’t forget that you can put whatever you want here. If you want to add images, text, more paragraphs, then go on, feel free ! It is the content of your site after all <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon wink HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_wink.gif"> </P><br /><H3>Finally : The Footer</H3><br /><P>As I’ve already said, the footer is normally for writing the author’s name, and, if you want, you can add a copyright to your site to give it a bit of extra class <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon biggrin HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_biggrin.gif"> </P><br /><P><STRONG>Code : HTML</STRONG></P><br /><DIV id=highlighter_160081 class="syntaxhighlighter "><br /><DIV class=lines><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>1</CODE></TD><br /><TD class=content><CODE class=plain><</CODE><CODE class=keyword>div</CODE> <CODE class=color1>id</CODE><CODE class=plain>=</CODE><CODE class=string>"footer"</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>2</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>p</CODE><CODE class=plain>>Copyright © 2010, "Rubbish Corporation". All Rights Reserved</</CODE><CODE class=keyword>p</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>3</CODE></TD><br /><TD class=content><CODE class=plain></</CODE><CODE class=keyword>div</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV></DIV></DIV><br /><H3>The Complete XHTML Code</H3><br /><P>We have seen in detail what needs to be put in the 4 blocks.<BR>Now, we’ll assemble all the code we’ve been working on, without forgetting the DOCTYPE, <head> etc…</P><br /><P>This is what we’ve got :</P><br /><P><STRONG>Code : HTML</STRONG></P><br /><DIV class=bigconsole><br /><DIV id=highlighter_775307 class="syntaxhighlighter "><br /><DIV class=lines><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>1</CODE></TD><br /><TD class=content><CODE class=plain><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "<A href="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</A>"></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>2</CODE></TD><br /><TD class=content><CODE class=plain><</CODE><CODE class=keyword>html</CODE> <CODE class=color1>xmlns</CODE><CODE class=plain>=</CODE><CODE class=string>"<A href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</A>"</CODE> <CODE class=color1>xml:lang</CODE><CODE class=plain>=</CODE><CODE class=string>"en"</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>3</CODE></TD><br /><TD class=content><CODE class=plain><</CODE><CODE class=keyword>head</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>4</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>title</CODE><CODE class=plain>>My Super Site</</CODE><CODE class=keyword>title</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>5</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>meta</CODE> <CODE class=color1>http-equiv</CODE><CODE class=plain>=</CODE><CODE class=string>"Content-Type"</CODE> <CODE class=color1>content</CODE><CODE class=plain>=</CODE><CODE class=string>"text/html; charset=iso-8859-1"</CODE> <CODE class=plain>/></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>6</CODE></TD><br /><TD class=content><CODE class=plain></</CODE><CODE class=keyword>head</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>7</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>8</CODE></TD><br /><TD class=content><CODE class=plain><</CODE><CODE class=keyword>body</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>9</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>div</CODE> <CODE class=color1>id</CODE><CODE class=plain>=</CODE><CODE class=string>"header"</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>10</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>h1</CODE><CODE class=plain>><</CODE><CODE class=keyword>a</CODE> <CODE class=color1>href</CODE><CODE class=plain>=</CODE><CODE class=string>"index.html"</CODE> <CODE class=color1>title</CODE><CODE class=plain>=</CODE><CODE class=string>"Return to home page"</CODE><CODE class=plain>>Mechanical Spirit</</CODE><CODE class=keyword>a</CODE><CODE class=plain>></</CODE><CODE class=keyword>h1</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>11</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain></</CODE><CODE class=keyword>div</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>12</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>13</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>div</CODE> <CODE class=color1>id</CODE><CODE class=plain>=</CODE><CODE class=string>"menu"</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>14</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>div</CODE> <CODE class=color1>class</CODE><CODE class=plain>=</CODE><CODE class=string>"sub-menu"</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>15</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>h4</CODE><CODE class=plain>>Title menu</</CODE><CODE class=keyword>h4</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>16</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>ul</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>17</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>li</CODE><CODE class=plain>><</CODE><CODE class=keyword>a</CODE> <CODE class=color1>href</CODE><CODE class=plain>=</CODE><CODE class=string>"page1.html"</CODE> <CODE class=color1>title</CODE><CODE class=plain>=</CODE><CODE class=string>"Go to page 1"</CODE><CODE class=plain>>Link</</CODE><CODE class=keyword>a</CODE><CODE class=plain>></</CODE><CODE class=keyword>li</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>18</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>li</CODE><CODE class=plain>><</CODE><CODE class=keyword>a</CODE> <CODE class=color1>href</CODE><CODE class=plain>=</CODE><CODE class=string>"page2.html"</CODE> <CODE class=color1>title</CODE><CODE class=plain>=</CODE><CODE class=string>"Go to page 2"</CODE><CODE class=plain>>Link</</CODE><CODE class=keyword>a</CODE><CODE class=plain>></</CODE><CODE class=keyword>li</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>19</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>li</CODE><CODE class=plain>><</CODE><CODE class=keyword>a</CODE> <CODE class=color1>href</CODE><CODE class=plain>=</CODE><CODE class=string>"page3.html"</CODE> <CODE class=color1>title</CODE><CODE class=plain>=</CODE><CODE class=string>"Go to page 3"</CODE><CODE class=plain>>Link</</CODE><CODE class=keyword>a</CODE><CODE class=plain>></</CODE><CODE class=keyword>li</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>20</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain></</CODE><CODE class=keyword>ul</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>21</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain></</CODE><CODE class=keyword>div</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>22</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>23</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>div</CODE> <CODE class=color1>class</CODE><CODE class=plain>=</CODE><CODE class=string>"sub-menu"</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>24</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>h4</CODE><CODE class=plain>>Title menu</</CODE><CODE class=keyword>h4</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>25</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>ul</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>26</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>li</CODE><CODE class=plain>><</CODE><CODE class=keyword>a</CODE> <CODE class=color1>href</CODE><CODE class=plain>=</CODE><CODE class=string>"page4.html"</CODE> <CODE class=color1>title</CODE><CODE class=plain>=</CODE><CODE class=string>"Go to page 4"</CODE><CODE class=plain>>Link</</CODE><CODE class=keyword>a</CODE><CODE class=plain>></</CODE><CODE class=keyword>li</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>27</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>li</CODE><CODE class=plain>><</CODE><CODE class=keyword>a</CODE> <CODE class=color1>href</CODE><CODE class=plain>=</CODE><CODE class=string>"page5.html"</CODE> <CODE class=color1>title</CODE><CODE class=plain>=</CODE><CODE class=string>"Go to page 5"</CODE><CODE class=plain>>Link</</CODE><CODE class=keyword>a</CODE><CODE class=plain>></</CODE><CODE class=keyword>li</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>28</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>li</CODE><CODE class=plain>><</CODE><CODE class=keyword>a</CODE> <CODE class=color1>href</CODE><CODE class=plain>=</CODE><CODE class=string>"page6.html"</CODE> <CODE class=color1>title</CODE><CODE class=plain>=</CODE><CODE class=string>"Go to page 6"</CODE><CODE class=plain>>Link</</CODE><CODE class=keyword>a</CODE><CODE class=plain>></</CODE><CODE class=keyword>li</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>29</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain></</CODE><CODE class=keyword>ul</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>30</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain></</CODE><CODE class=keyword>div</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>31</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain></</CODE><CODE class=keyword>div</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>32</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>33</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>div</CODE> <CODE class=color1>id</CODE><CODE class=plain>=</CODE><CODE class=string>"body"</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>34</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>h2</CODE><CODE class=plain>>My Super Site</</CODE><CODE class=keyword>h2</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>35</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>p</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>36</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain>Welcome to my super site !<</CODE><CODE class=keyword>br</CODE> <CODE class=plain>/></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>37</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain>You will love it here, it's a super site that talks about...hmmm...I'm still looking for a subject for my site.</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>38</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain></</CODE><CODE class=keyword>p</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>39</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>40</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>h3</CODE><CODE class=plain>>Who is this site for ?</</CODE><CODE class=keyword>h3</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>41</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>p</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>42</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain>For everybody ! If I start to privilege certain people, I'll be accused of discrimination)<</CODE><CODE class=keyword>br</CODE> <CODE class=plain>/></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>43</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain>Whether you're a fan of weapons or Barbie and Ken, this site is made for you ! Yes it is !</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>44</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain></</CODE><CODE class=keyword>p</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>45</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>46</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>h3</CODE><CODE class=plain>>The author</</CODE><CODE class=keyword>h3</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>47</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>p</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>48</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain>Who's the author of this site ? It's me, what kind of question is that :-p<</CODE><CODE class=keyword>br</CODE> <CODE class=plain>/></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>49</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain>I will try to make the best site in the world (it can't be that hard). My aim is to attract as many people as possible to my site, to make them addicted to it, then to get them under my control.<</CODE><CODE class=keyword>br</CODE> <CODE class=plain>/></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>50</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain>Then I'll take control of the world. After that I'll search every corner of the Earth for more people to put under my great power. Mouahahahaha !!!</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>51</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain></</CODE><CODE class=keyword>p</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>52</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain></</CODE><CODE class=keyword>div</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>53</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>54</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>div</CODE> <CODE class=color1>id</CODE><CODE class=plain>=</CODE><CODE class=string>"footer"</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>55</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain><</CODE><CODE class=keyword>p</CODE><CODE class=plain>>Copyright © 2010, "Rubbish Corporation". All Rights Reserved</</CODE><CODE class=keyword>p</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>56</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=plain></</CODE><CODE class=keyword>div</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>57</CODE></TD><br /><TD class=content><CODE class=plain></</CODE><CODE class=keyword>body</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>58</CODE></TD><br /><TD class=content><CODE class=plain></</CODE><CODE class=keyword>html</CODE><CODE class=plain>></CODE></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><br /><P>Well, I’ve got to say : well done !<BR>You’ve just created your first <STRONG>real XHTML page !</STRONG> <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon biggrin HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_biggrin.gif"> </P><br /><P>I realise that you probably wouldn’t have figured all of that out by yourselves, but the main thing is that you understand and follow along with me. There isn’t <SPAN class=underline>anything</SPAN> new in this XHTML code; we’ve already seen all these XHTML tags.<BR>And you’ve got to admit that this code isn’t very long (it was a lot longer a few years ago).</P><br /><P>However we haven’t finished yet. Without the CSS our page doesn’t look like anything spectacular.</P><br /><P>The funny thing is that the XHTML code is enough to make the design. All we need to do now is add a bit of CSS and our site will be nice and clean <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon smile HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_smile.gif"> </P><br /><P>You don’t believe me ?<BR>Be careful … don’t underestimate the power of CSS, you could regret it <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon biggrin HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_biggrin.gif"> </P><br /><H2>Second, The CSS</H2><br /><P>Now we can start the CSS.<BR>This part is important because you must understand how each line of code changes the design.</P><br /><P>For that reason I’ll break this part down into lots of <Q>stages</Q>, and I suggest that you check out your site after each little step.</P><br /><P class=green-text>If you want to understand properly, also try making a few changes to the CSS. If you can’t figure out a line, try taking it out and see what happens. That’s how I learnt, and I think it’s one of the best ways to learn <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon wink HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_wink.gif"> </P><br /><H3>Resetting The Layout</H3><br /><P>By default, each browser has its own way of showing different tags on the screen. For example, in our design, there is a big space between the titles and the paragraphs. So that we can start from scratch we need to get rid of these default settings.</P><br /><P><STRONG>Code : CSS</STRONG></P><br /><DIV id=highlighter_635 class="syntaxhighlighter "><br /><DIV class=lines><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>1</CODE></TD><br /><TD class=content><CODE class=plain>* {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>2</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>3</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>4</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>5</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV></DIV></DIV><br /><P>Easy ! The * means <Q>everything</Q>, so with this code we’re taking the margins off all the tags.<BR>Now save the file as <Q>style.css</Q> (or something else if you want <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon wink HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_wink.gif"> ). All that’s left to do now is attach the CSS to the XHTML file in the <head> :</P><br /><P><STRONG>Code : HTML</STRONG></P><br /><DIV id=highlighter_945490 class="syntaxhighlighter "><br /><DIV class=lines><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>1</CODE></TD><br /><TD class=content><CODE class=plain><</CODE><CODE class=keyword>link</CODE> <CODE class=color1>rel</CODE><CODE class=plain>=</CODE><CODE class=string>"stylesheet"</CODE> <CODE class=color1>media</CODE><CODE class=plain>=</CODE><CODE class=string>"screen"</CODE> <CODE class=color1>type</CODE><CODE class=plain>=</CODE><CODE class=string>"text/css"</CODE> <CODE class=color1>title</CODE><CODE class=plain>=</CODE><CODE class=string>"example-css"</CODE> <CODE class=color1>href</CODE><CODE class=plain>=</CODE><CODE class=string>"style.css"</CODE> <CODE class=plain>/></CODE></TD></TR></TBODY></TABLE></DIV></DIV></DIV><br /><P>As you can now see, if you refresh the web page, all the margins have gone !</P><br /><H3>Aligning The Design</H3><br /><P>To start with, we’re just going to work on the <body> tag. Yes, I know we haven’t really worked on this tag before, but it works in the same way as everything else.<BR>As a reminder, <body> is the tag that surrounds all the content in your page. If we say the <body> is so wide in pixels (for a fixed design), and we want it to be centred (with margin:auto;), then our job is nearly finished <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon biggrin HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_biggrin.gif"> </P><br /><P>For the width of the page, I’m going to put 760 pixels. Why 760 ? Because it’s less than 800px, so visitors using a resolution of 800*600 won’t have to scroll from left to right to see the whole page.</P><br /><P>As for the margins, a margin: auto; should be enough to centre the design. I’ll also add a margin to the top and bottom to stop the design from being glued to the edges of the browser.</P><br /><P>Finally I’ll add a background image so that the page is a bit less empty.</P><br /><P class=centred-image><A class=download title="download the images used in this tutorial" onclick="javascript:_gaq.push(['_trackEvent','download','downloads.europcsolutions.com/first-site-images.zip']);" href="http://downloads.europcsolutions.com/first-site-images.zip" target="_blank">Download Source Files</A><BR><A title="download the images used in this tutorial" onclick="javascript:_gaq.push(['_trackEvent','download','downloads.europcsolutions.com/first-site-images.zip']);" href="http://downloads.europcsolutions.com/first-site-images.zip" target="_blank">CLICK HERE TO DOWNLOAD THE IMAGES FOR THIS TUTORIAL</A> </P><br /><P>Here’s what it should give :</P><br /><P><STRONG>Code : CSS</STRONG></P><br /><DIV id=highlighter_200886 class="syntaxhighlighter "><br /><DIV class=lines><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>1</CODE></TD><br /><TD class=content><CODE class=plain>* {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>2</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>3</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>4</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>5</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>6</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>7</CODE></TD><br /><TD class=content><CODE class=plain>body {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>8</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>760px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>9</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>auto</CODE><CODE class=plain>; </CODE><CODE class=comments>/* align the page in the centre */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>10</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* add a 20 pixel margin at the top */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>11</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* add a 20 pixel margin at the bottom */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>12</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/bg.png"</CODE><CODE class=plain>); </CODE><CODE class=comments>/* a background image to avoid it being ugly and white :-p */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>13</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV></DIV></DIV><br /><P>Try taking out a few lines of code to see what they all do :</P><br /><UL><br /><LI>If you take out the background-image, the background of the page will be white <br /><LI>If you take out margin-top or margin-bottom the page will be <Q>glued</Q> to the edges of the browser <br /><LI>If you take out margin:auto your page will align to the left of the browser.</LI></UL><br /><H3>The Header</H3><br /><P>As promised, we’ll show the header of the site using CSS. Earlier we only put in the title of the site using a <h1> tag. Inserting the header using CSS is useful for sites with the ability to change designs, and using this technique you don’t need to insert an <Q>alt</Q> value for you header image <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon wink HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_wink.gif"> </P><br /><P>Now we have to insert the banner using CSS :</P><br /><OL><br /><LI><br /><P>The first thing to do, if we want the banner to be visible, is to enlarge the size of the <Q>header</Q> block so that we can see the whole banner.<BR>As the banner is 758*100 pixels, we need to input these dimensions :<BR>width: 758 px;<BR>height: 100px;</P><br /><LI><br /><P>Next we need to insert our background-image (the banner) because the block is still empty.<BR>background-image: url(<Q>images/banner.png</Q>);</P><br /><LI><br /><P>Our banner should only have enough room to appear once, but it doesn’t take a lot to make sure that it isn’t repeated :<BR>background-repeat: no-repeat;</P><br /><LI><br /><P>Finally, to avoid the content of the page from being glued to the banner we need to add a small margin to the bottom of the header :<BR>margin-bottom: 10px;</P></LI></OL><br /><P>That’s it. We should now have this :</P><br /><P><STRONG>Code : CSS</STRONG></P><br /><DIV id=highlighter_272434 class="syntaxhighlighter "><br /><DIV class=lines><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>1</CODE></TD><br /><TD class=content><CODE class=plain>* {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>2</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>3</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>4</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>5</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>6</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>7</CODE></TD><br /><TD class=content><CODE class=plain>body {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>8</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>760px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>9</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>auto</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>10</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>11</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>12</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/bg.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>13</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>14</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>15</CODE></TD><br /><TD class=content><CODE class=plain>#header {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>16</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>758px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>17</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>100px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>18</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/banner.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>19</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>no-repeat</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>20</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>21</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV></DIV></DIV><br /><P>However you will notice that the title we made is still on the page. To get rid of it we need to do the following :</P><br /><OL><br /><LI><br /><P>set the same widths as the banner :<BR>width: 758px;<BR>height: 100px;</P><br /><LI><br /><P>transform the link from an inline to a block so that the dimensions can be applied to it :<BR>display: block;</P><br /><LI><br /><P>indent the text so that it goes out of the screen :<BR>text-indent: -9999px;</P></LI></OL><br /><P>Now we have this :</P><br /><P><STRONG>Code : CSS</STRONG></P><br /><DIV id=highlighter_250799 class="syntaxhighlighter "><br /><DIV class=lines><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>1</CODE></TD><br /><TD class=content><CODE class=plain>* {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>2</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>3</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>4</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>5</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>6</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>7</CODE></TD><br /><TD class=content><CODE class=plain>body {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>8</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>760px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>9</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>auto</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>10</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>11</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>12</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/bg.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>13</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>14</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>15</CODE></TD><br /><TD class=content><CODE class=plain>#header {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>16</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>758px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>17</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>100px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>18</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/banner.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>19</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>no-repeat</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>20</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>21</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>22</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>23</CODE></TD><br /><TD class=content><CODE class=plain>h</CODE><CODE class=value>1</CODE> <CODE class=plain>a {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>24</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>758px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>25</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>100px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>26</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>display</CODE><CODE class=plain>: </CODE><CODE class=value>block</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>27</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-indent</CODE><CODE class=plain>: </CODE><CODE class=value>-9999px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>28</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV></DIV></DIV><br /><P>Now that we have inserted the banner using CSS, all you have to do to change the design of the banner is change the background-image.</P><br /><P class=blue-text>Why is there a # before header ? Don’t you normally use a point ?</P><br /><P>No, a quick reminder for those who may have forgotten :</P><br /><UL><br /><LI>For a class, you use a <Q>.</Q> (point) in front of the name in the CSS. <br /><LI>For an id, you use a <Q>#</Q> before the name. And look at the XHTML code, <Q>header</Q> is an id !</LI></UL><br /><H3>The Menu</H3><br /><P>This is a bit harder.<BR>We’ll have to put the menu <Q>to the left</Q> of the body, whereas at the moment it is above.</P><br /><P>To do this, the most common and quickest method, is to use the CSS property <EM>float</EM>. It’s a bit of a particular property, as we have already seen, and it will be very useful here to correctly position the body and the menu.</P><br /><P>We will also give the menu a width of 120 pixels, so that it isn’t too big.</P><br /><P>After that we’ll work on the class <Q>sub-menu</Q> (which is a part of the menu). We’ll give it a bit of a darker background colour, a background image with repeat-x (which only repeats horizontally).<BR>Then we’ll add a border to each element of the menu to make them stand out more. <Q>2px</Q> solid black should be good.<BR>Finally we’ll put a <EM>margin-bottom</EM> on each element to separate them.</P><br /><P><STRONG>Code : CSS</STRONG></P><br /><DIV class=bigconsole><br /><DIV id=highlighter_19791 class="syntaxhighlighter "><br /><DIV class=lines><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>1</CODE></TD><br /><TD class=content><CODE class=plain>* {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>2</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>3</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>4</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>5</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>6</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>7</CODE></TD><br /><TD class=content><CODE class=plain>body {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>8</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>760px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>9</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>auto</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>10</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>11</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>12</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/bg.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>13</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>14</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>15</CODE></TD><br /><TD class=content><CODE class=plain>#header {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>16</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>758px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>17</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>100px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>18</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/banner.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>19</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>no-repeat</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>20</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>21</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>22</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>23</CODE></TD><br /><TD class=content><CODE class=plain>h</CODE><CODE class=value>1</CODE> <CODE class=plain>a {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>24</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>758px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>25</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>100px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>26</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>display</CODE><CODE class=plain>: </CODE><CODE class=value>block</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>27</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-indent</CODE><CODE class=plain>: </CODE><CODE class=value>-9999px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>28</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>29</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>30</CODE></TD><br /><TD class=content><CODE class=plain>#menu {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>31</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>float</CODE><CODE class=plain>: </CODE><CODE class=value>left</CODE><CODE class=plain>; </CODE><CODE class=comments>/* The menu will float to the left */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>32</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>120px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* Very important : give the menu a width */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>33</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>34</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>35</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>36</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-color</CODE><CODE class=plain>: </CODE><CODE class=value>#626262</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>37</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/top-bg.png"</CODE><CODE class=plain>); </CODE><CODE class=comments>/* background image repeated horizontally across the top of the menu */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>38</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>repeat-x</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>39</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>2px</CODE> <CODE class=value>solid</CODE> <CODE class=value>black</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>40</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* separate the different elements of the menu */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>41</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><br /><P>Yet again, if you want to understand everything, I suggest you remove a few lines of code to see their effect.</P><br /><P>As you can see if you test the code, it’s not wonderful yet, but it is getting better. You can already distinguish the submenus without a problem, however the content goes beneath the menu when it’s finished.<BR>That is normal because that’s how a <EM>float</EM> works. Take another look at this image I showed in a previous chapter :</P><br /><P class=centred-image><A href="http://blog.europcsolutions.com/wp-content/uploads/2011/02/float-left1.png" rel=shadowbox[sbpost-227];player=img;><IMG class="alignnone size-full wp-image-239" title="Image With Left Float" alt="float left1 HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-content/uploads/2011/02/float-left1.png" width=304 height=202></A></P><br /><P class=blue-text>How do we stop the text from dropping beneath the menu ?</P><br /><P>We need to add a margin-left to the body. This is a simple trick that does the job quickly. However we’ll see that when we get to the body.</P><br /><P>We still haven’t finished on the menu. We still need to add a few effects.<BR>I won’t waste time explaining everything in detail. It’s simple, and it’s just to make things look a bit better.</P><br /><P>The main thing to understand here, is that I’m nesting elements.<BR>Do you remember, when we write for example :<BR>.sub-menu ul<BR>… means all the <ul> tags inside a sub-menu.</P><br /><P><STRONG>Code : CSS</STRONG></P><br /><DIV class=bigconsole><br /><DIV id=highlighter_919508 class="syntaxhighlighter "><br /><DIV class=lines><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>1</CODE></TD><br /><TD class=content><CODE class=plain>* {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>2</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>3</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>4</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>5</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>6</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>7</CODE></TD><br /><TD class=content><CODE class=plain>body {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>8</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>760px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>9</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>auto</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>10</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>11</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>12</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/bg.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>13</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>14</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>15</CODE></TD><br /><TD class=content><CODE class=plain>#header {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>16</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>758px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>17</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>100px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>18</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/banner.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>19</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>no-repeat</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>20</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>21</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>22</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>23</CODE></TD><br /><TD class=content><CODE class=plain>h</CODE><CODE class=value>1</CODE> <CODE class=plain>a {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>24</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>758px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>25</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>100px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>26</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>display</CODE><CODE class=plain>: </CODE><CODE class=value>block</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>27</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-indent</CODE><CODE class=plain>: </CODE><CODE class=value>-9999px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>28</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>29</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>30</CODE></TD><br /><TD class=content><CODE class=plain>#menu {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>31</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>float</CODE><CODE class=plain>: </CODE><CODE class=value>left</CODE><CODE class=plain>; </CODE><CODE class=comments>/* The menu will float to the left */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>32</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>120px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* Very important : give the menu a width */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>33</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>34</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>35</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>36</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-color</CODE><CODE class=plain>: </CODE><CODE class=value>#626262</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>37</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/top-bg.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>38</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>repeat-x</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>39</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>2px</CODE> <CODE class=value>solid</CODE> <CODE class=value>black</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>40</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>41</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>42</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>43</CODE></TD><br /><TD class=content><CODE class=comments>/* a few effects on the menu */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>44</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>45</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu h</CODE><CODE class=value>4</CODE> <CODE class=plain>{ </CODE><CODE class=comments>/* all the titles in the menu */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>46</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>font-size</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>47</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>18px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>48</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>12px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>49</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>50</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>font-family</CODE><CODE class=plain>: </CODE><CODE class=color1>Arial</CODE><CODE class=plain>, </CODE><CODE class=string>"Arial Black"</CODE><CODE class=plain>, </CODE><CODE class=string>"Times New Roman"</CODE><CODE class=plain>, Times, </CODE><CODE class=color1>serif</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>51</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-align</CODE><CODE class=plain>: </CODE><CODE class=value>center</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>52</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>53</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>54</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu ul { </CODE><CODE class=comments>/* all the lists in the menu */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>55</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>list-style-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/point.png"</CODE><CODE class=plain>); </CODE><CODE class=comments>/* change the looks of the points */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>56</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>0px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* get rid of any inner margin there may be */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>57</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding-left</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* ... then add a 20 px margin to the left */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>58</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>0px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* same thing on the outer margin */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>59</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>5px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* add a 5 px margin to the bottom */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>60</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>61</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>62</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu a { </CODE><CODE class=comments>/* all the links in the menu */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>63</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>64</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>65</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>66</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu a:hover { </CODE><CODE class=comments>/* when the mouse rolls over the links */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>67</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>68</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>black</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>69</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><br /><P>It’s already looking nicer isn’t it ?<BR>And the effect of the :hover on the links in the menu, is easy to do, so everything’s good so far <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon wink HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_wink.gif"> </P><br /><P>I’ve got to precise some things though. You have seen that I put a <Q>padding</Q> (which modifies the interior margins), then a <Q>padding-left</Q> (which only modifies the inside margine on the left).<BR>This is just a method to save time. Just read the lines in order :</P><br /><OL><br /><LI>First, modify all the margins and give them all a value of <Q>0 px</Q> with <EM>padding</EM> <br /><LI>Second, modify the left margin. It was 0 px, now we change its value and make it <Q>20 px</Q> with <EM>padding-left</EM> (we <Q>squash</Q> the old value)</LI></OL><br /><P>If I wanted, I could have done this instead :<BR>padding-top: 0px;<BR>padding-bottom: 0px;<BR>padding-right: 0px;<BR>padding-left: 20px;</P><br /><P>But that’s long, and like all other webmasters, I’m lazy <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon surprised HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_surprised.gif"> </P><br /><H3>The Body</H3><br /><P>For the body, it’s very important to define the correct margins.<BR>The problem that needs sorting out urgently is the problem of the text going under the menu. As I said earlier, this is normal because we used <EM>float: left</EM> on the menu.</P><br /><P class=blue-text>How do we stop the text from going under the menu then ?</P><br /><P>We just need to change the margin to the left of the body. It’s the outer margin, so we’ll use <EM>margin-left</EM>. We need to give it a big enough value to <Q>push</Q> the text over to the right, so that it doesn’t go under the menu (so we need a greater value than the width of the menu). Here for example, we’ll put a value of 140px. As if by magic, you’ll see, the body will be correctly placed !</P><br /><P>Let’s not stop now <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon biggrin HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_biggrin.gif"> <BR>We’ll add a <EM>margin-bottom</EM> so that the footer won’t be <Q>glued</Q> to the body :<BR>margin-bottom: 20px;</P><br /><P>We’ll also add a small padding (inside margin) on every side so that the text doesn’t touch the edge of the body :<BR>padding: 5px;</P><br /><P>Then we’ll add a background colour, a background-image that repeats across the top of the body, a border … well, all that’s decoration <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon wink HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_wink.gif"> </P><br /><P><STRONG>Code : CSS</STRONG></P><br /><DIV class=bigconsole><br /><DIV id=highlighter_534963 class="syntaxhighlighter "><br /><DIV class=lines><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>1</CODE></TD><br /><TD class=content><CODE class=plain>* {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>2</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>3</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>4</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>5</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>6</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>7</CODE></TD><br /><TD class=content><CODE class=plain>body {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>8</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>760px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>9</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>auto</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>10</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>11</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>12</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/bg.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>13</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>14</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>15</CODE></TD><br /><TD class=content><CODE class=plain>#header {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>16</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>758px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>17</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>100px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>18</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/banner.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>19</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>no-repeat</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>20</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>21</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>22</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>23</CODE></TD><br /><TD class=content><CODE class=plain>h</CODE><CODE class=value>1</CODE> <CODE class=plain>a {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>24</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>758px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>25</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>100px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>26</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>display</CODE><CODE class=plain>: </CODE><CODE class=value>block</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>27</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-indent</CODE><CODE class=plain>: </CODE><CODE class=value>-9999px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>28</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>29</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>30</CODE></TD><br /><TD class=content><CODE class=plain>#menu {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>31</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>float</CODE><CODE class=plain>: </CODE><CODE class=value>left</CODE><CODE class=plain>; </CODE><CODE class=comments>/* The menu will float to the left */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>32</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>120px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* Very important : give the menu a width */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>33</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>34</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>35</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>36</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-color</CODE><CODE class=plain>: </CODE><CODE class=value>#626262</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>37</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/top-bg.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>38</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>repeat-x</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>39</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>2px</CODE> <CODE class=value>solid</CODE> <CODE class=value>black</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>40</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>41</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>42</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>43</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu h</CODE><CODE class=value>4</CODE> <CODE class=plain>{</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>44</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>font-size</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>45</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>18px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>46</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>12px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>47</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>48</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>font-family</CODE><CODE class=plain>: </CODE><CODE class=color1>Arial</CODE><CODE class=plain>, </CODE><CODE class=string>"Arial Black"</CODE><CODE class=plain>, </CODE><CODE class=string>"Times New Roman"</CODE><CODE class=plain>, Times, </CODE><CODE class=color1>serif</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>49</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-align</CODE><CODE class=plain>: </CODE><CODE class=value>center</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>50</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>51</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>52</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu ul {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>53</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>list-style-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/point.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>54</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>0px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>55</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding-left</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>56</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>0px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>57</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>5px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>58</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>59</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>60</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu a {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>61</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>62</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>63</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>64</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu a:hover {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>65</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>66</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>black</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>67</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>68</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>69</CODE></TD><br /><TD class=content><CODE class=comments>/* the body of the page */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>70</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>71</CODE></TD><br /><TD class=content><CODE class=plain>#body {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>72</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-left</CODE><CODE class=plain>: </CODE><CODE class=value>140px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* margin to the left to stop the text going under the menu */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>73</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* bottom margin to separate the body from the footer */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>74</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>5px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* to stop the text from touching the edge of the body */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>75</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>76</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-color</CODE><CODE class=plain>: </CODE><CODE class=value>#626262</CODE><CODE class=plain>; </CODE><CODE class=comments>/* a background colour for the body */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>77</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/top-bg.png"</CODE><CODE class=plain>); </CODE><CODE class=comments>/* a small image that repeats across the top of the body */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>78</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>repeat-x</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>79</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>2px</CODE> <CODE class=value>solid</CODE> <CODE class=value>black</CODE><CODE class=plain>; </CODE><CODE class=comments>/* a border to show the edges of the body and look nice */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>80</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><br /><P>There are still a few things to decorate in the body. For example, the titles : we’ll change the font and use <Q>Arial</Q> which I find is nicer on titles.</P><br /><P>We’ll also add a background image to the <h3> titles with <EM>background-repeat:no-repeat</EM>, which means that the image won’t repeat (so it will stay to the left).<BR>To avoid the text of the title going over the top of the image, we’ll add a <EM>padding left</EM> of a few pixels. That way every time we use a <h3> title we’ll automatically get a picture of a cog !</P><br /><P><STRONG>Code : CSS</STRONG></P><br /><DIV class=bigconsole><br /><DIV id=highlighter_614357 class="syntaxhighlighter "><br /><DIV class=lines><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>1</CODE></TD><br /><TD class=content><CODE class=plain>* {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>2</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>3</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>4</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>5</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>6</CODE></TD><br /><TD class=content><CODE class=plain>body {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>7</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>760px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>8</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>auto</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>9</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>10</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>11</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/bg.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>12</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>13</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>14</CODE></TD><br /><TD class=content><CODE class=plain>#header {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>15</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>758px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>16</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>100px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>17</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/banner.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>18</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>no-repeat</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>19</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>20</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>21</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>22</CODE></TD><br /><TD class=content><CODE class=plain>h</CODE><CODE class=value>1</CODE> <CODE class=plain>a {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>23</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>758px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>24</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>100px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>25</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>display</CODE><CODE class=plain>: </CODE><CODE class=value>block</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>26</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-indent</CODE><CODE class=plain>: </CODE><CODE class=value>-9999px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>27</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>28</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>29</CODE></TD><br /><TD class=content><CODE class=plain>#menu {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>30</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>float</CODE><CODE class=plain>: </CODE><CODE class=value>left</CODE><CODE class=plain>; </CODE><CODE class=comments>/* The menu will float to the left */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>31</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>120px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* Very important : give the menu a width */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>32</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>33</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>34</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>35</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-color</CODE><CODE class=plain>: </CODE><CODE class=value>#626262</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>36</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/top-bg.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>37</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>repeat-x</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>38</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>2px</CODE> <CODE class=value>solid</CODE> <CODE class=value>black</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>39</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>40</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>41</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>42</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu h</CODE><CODE class=value>4</CODE> <CODE class=plain>{</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>43</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>font-size</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>44</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>18px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>45</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>12px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>46</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>47</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>font-family</CODE><CODE class=plain>: </CODE><CODE class=color1>Arial</CODE><CODE class=plain>, </CODE><CODE class=string>"Arial Black"</CODE><CODE class=plain>, </CODE><CODE class=string>"Times New Roman"</CODE><CODE class=plain>, Times, </CODE><CODE class=color1>serif</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>48</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-align</CODE><CODE class=plain>: </CODE><CODE class=value>center</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>49</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>50</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>51</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu ul {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>52</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>list-style-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/point.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>53</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>0px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>54</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding-left</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>55</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>0px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>56</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>5px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>57</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>58</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>59</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu a {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>60</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>61</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>62</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>63</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu a:hover {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>64</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>65</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>black</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>66</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>67</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>68</CODE></TD><br /><TD class=content><CODE class=plain>#body {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>69</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-left</CODE><CODE class=plain>: </CODE><CODE class=value>140px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>70</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>71</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>5px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>72</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>73</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-color</CODE><CODE class=plain>: </CODE><CODE class=value>#626262</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>74</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/top-bg.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>75</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>repeat-x</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>76</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>2px</CODE> <CODE class=value>solid</CODE> <CODE class=value>black</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>77</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>78</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>79</CODE></TD><br /><TD class=content><CODE class=plain>#body h</CODE><CODE class=value>2</CODE> <CODE class=plain>{ </CODE><CODE class=comments>/* all the h2 titles in body */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>80</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>81</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>82</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>font-size</CODE><CODE class=plain>: </CODE><CODE class=value>28px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>83</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>84</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-align</CODE><CODE class=plain>: </CODE><CODE class=value>center</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>85</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>font-family</CODE><CODE class=plain>: </CODE><CODE class=color1>Arial</CODE><CODE class=plain>, </CODE><CODE class=string>"Arial Black"</CODE><CODE class=plain>, </CODE><CODE class=string>"Times New Roman"</CODE><CODE class=plain>, Times, </CODE><CODE class=color1>serif</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>86</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>87</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>88</CODE></TD><br /><TD class=content><CODE class=plain>#body h</CODE><CODE class=value>3</CODE> <CODE class=plain>{ </CODE><CODE class=comments>/* all the h3 titles in body */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>89</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>30px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>90</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>91</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>92</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/title.png"</CODE><CODE class=plain>); </CODE><CODE class=comments>/* a small background image for h3 titles */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>93</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>no-repeat</CODE><CODE class=plain>; </CODE><CODE class=comments>/* the image won't repeat, it will be to the left */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>94</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding-left</CODE><CODE class=plain>: </CODE><CODE class=value>30px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>95</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>font-size</CODE><CODE class=plain>: </CODE><CODE class=value>22px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>96</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>97</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-align</CODE><CODE class=plain>: </CODE><CODE class=value>left</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>98</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><br /><P>Nice, isn’t it <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon biggrin HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_biggrin.gif"> </P><br /><H3>The Footer (And We’ve Finished !)</H3><br /><P>For the footer there is nothing complicated or extraordinary, it’s just similar to the rest. We add a background colour, a border, check that the borders are okay etc …</P><br /><P><STRONG>Code : CSS</STRONG></P><br /><DIV class=bigconsole><br /><DIV id=highlighter_942119 class="syntaxhighlighter "><br /><DIV class=lines><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>1</CODE></TD><br /><TD class=content><CODE class=plain>* {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>2</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>3</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>0</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>4</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>5</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>6</CODE></TD><br /><TD class=content><CODE class=plain>body {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>7</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>760px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>8</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>auto</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>9</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>10</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>11</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/bg.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>12</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>13</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>14</CODE></TD><br /><TD class=content><CODE class=plain>#header {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>15</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>758px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>16</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>100px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>17</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/banner.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>18</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>no-repeat</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>19</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>20</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>21</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>22</CODE></TD><br /><TD class=content><CODE class=plain>h</CODE><CODE class=value>1</CODE> <CODE class=plain>a {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>23</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>758px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>24</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>100px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>25</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>display</CODE><CODE class=plain>: </CODE><CODE class=value>block</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>26</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-indent</CODE><CODE class=plain>: </CODE><CODE class=value>-9999px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>27</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>28</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>29</CODE></TD><br /><TD class=content><CODE class=plain>#menu {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>30</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>float</CODE><CODE class=plain>: </CODE><CODE class=value>left</CODE><CODE class=plain>; </CODE><CODE class=comments>/* The menu will float to the left */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>31</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>width</CODE><CODE class=plain>: </CODE><CODE class=value>120px</CODE><CODE class=plain>; </CODE><CODE class=comments>/* Very important : give the menu a width */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>32</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>33</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>34</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>35</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-color</CODE><CODE class=plain>: </CODE><CODE class=value>#626262</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>36</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/top-bg.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>37</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>repeat-x</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>38</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>2px</CODE> <CODE class=value>solid</CODE> <CODE class=value>black</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>39</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>40</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>41</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>42</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu h</CODE><CODE class=value>4</CODE> <CODE class=plain>{</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>43</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>font-size</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>44</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>18px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>45</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>12px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>46</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>47</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>font-family</CODE><CODE class=plain>: </CODE><CODE class=color1>Arial</CODE><CODE class=plain>, </CODE><CODE class=string>"Arial Black"</CODE><CODE class=plain>, </CODE><CODE class=string>"Times New Roman"</CODE><CODE class=plain>, Times, </CODE><CODE class=color1>serif</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>48</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-align</CODE><CODE class=plain>: </CODE><CODE class=value>center</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>49</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>50</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>51</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu ul {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>52</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>list-style-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/point.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>53</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>0px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>54</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding-left</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>55</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin</CODE><CODE class=plain>: </CODE><CODE class=value>0px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>56</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>5px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>57</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>58</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>59</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu a {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>60</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>61</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>62</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>63</CODE></TD><br /><TD class=content><CODE class=plain>.sub-menu a:hover {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>64</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>65</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>black</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>66</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>67</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>68</CODE></TD><br /><TD class=content><CODE class=plain>#body {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>69</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-left</CODE><CODE class=plain>: </CODE><CODE class=value>140px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>70</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>20px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>71</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>5px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>72</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>73</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-color</CODE><CODE class=plain>: </CODE><CODE class=value>#626262</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>74</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/top-bg.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>75</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>repeat-x</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>76</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>2px</CODE> <CODE class=value>solid</CODE> <CODE class=value>black</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>77</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>78</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>79</CODE></TD><br /><TD class=content><CODE class=plain>#body h</CODE><CODE class=value>2</CODE> <CODE class=plain>{ </CODE><CODE class=comments>/* all the h2 titles in body */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>80</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>81</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>82</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>font-size</CODE><CODE class=plain>: </CODE><CODE class=value>28px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>83</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>84</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-align</CODE><CODE class=plain>: </CODE><CODE class=value>center</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>85</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>font-family</CODE><CODE class=plain>: </CODE><CODE class=color1>Arial</CODE><CODE class=plain>, </CODE><CODE class=string>"Arial Black"</CODE><CODE class=plain>, </CODE><CODE class=string>"Times New Roman"</CODE><CODE class=plain>, Times, </CODE><CODE class=color1>serif</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>86</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>87</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>88</CODE></TD><br /><TD class=content><CODE class=plain>#body h</CODE><CODE class=value>3</CODE> <CODE class=plain>{ </CODE><CODE class=comments>/* all the h3 titles in body */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>89</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>height</CODE><CODE class=plain>: </CODE><CODE class=value>30px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>90</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-top</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>91</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>margin-bottom</CODE><CODE class=plain>: </CODE><CODE class=value>10px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>92</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/title.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>93</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>no-repeat</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>94</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding-left</CODE><CODE class=plain>: </CODE><CODE class=value>30px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>95</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>font-size</CODE><CODE class=plain>: </CODE><CODE class=value>22px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>96</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>97</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-align</CODE><CODE class=plain>: </CODE><CODE class=value>left</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>98</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>99</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>100</CODE></TD><br /><TD class=content><CODE class=comments>/* The footer (generally at the bottom for the copyright) */</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>101</CODE></TD><br /><TD class=content> </TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>102</CODE></TD><br /><TD class=content><CODE class=plain>#footer {</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>103</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>padding</CODE><CODE class=plain>: </CODE><CODE class=value>5px</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>104</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>text-align</CODE><CODE class=plain>: </CODE><CODE class=value>center</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>105</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>color</CODE><CODE class=plain>: </CODE><CODE class=value>#b3b3b3</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>106</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-color</CODE><CODE class=plain>: </CODE><CODE class=value>#626262</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>107</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-image</CODE><CODE class=plain>: </CODE><CODE class=value>url</CODE><CODE class=plain>(</CODE><CODE class=string>"images/top-bg.png"</CODE><CODE class=plain>);</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>108</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>background-repeat</CODE><CODE class=plain>: </CODE><CODE class=value>repeat-x</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt1"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>109</CODE></TD><br /><TD class=content><CODE class=spaces> </CODE><CODE class=keyword>border</CODE><CODE class=plain>: </CODE><CODE class=value>2px</CODE> <CODE class=value>solid</CODE> <CODE class=value>black</CODE><CODE class=plain>;</CODE></TD></TR></TBODY></TABLE></DIV><br /><DIV class="line alt2"><br /><TABLE><br /><TBODY><br /><TR><br /><TD class=number><CODE>110</CODE></TD><br /><TD class=content><CODE class=plain>}</CODE></TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV><br /><P>And that’s the end of the CSS, the design is finished !<BR>To make your whole site just save your page as <Q>page1.html</Q>, <Q>page2.html</Q>, <Q>page3.html</Q> etc… then you can change the content of the different pages !</P><br /><P>Our site is finally ready. The <Q>Mechanical Spirit</Q> design, which was created just for this tutorial, probably won’t suit your needs. However that was done a bit on purpose <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon surprised HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_surprised.gif"> <BR>Now that the design is finished, you know what to do, and the main ideas to follow. It’s up to you to create the complete design for your site, to add your colours, your backgrounds, your fonts, your effects …<BR>Well, now you know how to do it <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon biggrin HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_biggrin.gif"> </P><br /><P>You are allowed (and encouraged) to use my CSS as an inspiration. I know that it isn’t the easiest thing in the world when you’re starting and trying to create first design, and all those lines of code can make you go dizzy.<BR>The good news, is that with practice, not only will you stop getting dizzy, but you’ll also be able to create your complete design without anybody’s help <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon biggrin HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_biggrin.gif"> </P><br /><P class=centred-image><A class=download title="download source code and images" onclick="javascript:_gaq.push(['_trackEvent','download','downloads.europcsolutions.com/first-site.zip']);" href="http://downloads.europcsolutions.com/first-site.zip" target="_blank">Download Source Files</A><BR><A title="download source code and images" onclick="javascript:_gaq.push(['_trackEvent','download','downloads.europcsolutions.com/first-site.zip']);" href="http://downloads.europcsolutions.com/first-site.zip" target="_blank">CLICK HERE TO DOWNLOAD SOURCE CODE FOR THIS TUTORIAL</A> </P><br /><H2>Download Source Files</H2><br /><P>If you want to re-use our source code, modify it, or simply check it out, just <A title="download source code and images" onclick="javascript:_gaq.push(['_trackEvent','download','downloads.europcsolutions.com/first-site.zip']);" href="http://downloads.europcsolutions.com/first-site.zip">click here</A> to download. The file contains the index.html page, the CSS, and the images used during this tutorial.</P><br /><H2>Wait, It’s Not Finished !</H2><br /><P>I’ve got a few bits of information to give you. Most of it’s just details, but you might discover a few new things, so pay attention, it won’t be long <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon smile HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_smile.gif"> </P><br /><H3>Change The CSS, Change The Design !</H3><br /><P>By modifying the CSS, you can change the whole design <U>without touching the XHTML code</U> !</P><br /><P>In fact, have a look at our final XHTML code : it doesn’t contain any information on the design. It just says that there’s a header, a menu, a body to put the content in, and a footer. That’s it !</P><br /><H3>Let The Visitor Choose The Design</H3><br /><P>One last thing I would like to show you : <EM>alternative style sheets</EM>.</P><br /><P>If you have made several designs for your site, you can let your visitors decide which design they want to use.<BR>For that, you have to add <link /> tags between <head> and </head>.</P><br /><P>As well as the tag to link the CSS to the XHTML page, you have to add this line :<BR><link rel="alternate stylesheet" media="screen" type="text/css" title="Pink design for girls" href="pink-poney-design.css" /></P><br /><P>This line indicates that there is another stylesheet (<Q>alternate stylesheet</Q>). If the visitor has a recent browser (pretty much anything apart from Internet Explorer), he (or she) will be able to choose the design he wants.<BR>For information : in Firefox if you go to View -> Stylesheet, you can choose the design you want.</P><br /><P class=green-text>Sites offering several designs are rare. A lot of webmasters don’t even know it’s possible to easily do, others can’t be bothered making several designs <IMG class=wp-smiley title="HTML / CSS – Creating Your Website Design !" alt="icon biggrin HTML / CSS – Creating Your Website Design !" src="http://blog.europcsolutions.com/wp-includes/images/smilies/icon_biggrin.gif"> </P>
<div style='clear: both;'></div>
</div>
<div class='post-footer'>
<div class='post-footer-line post-footer-line-1'><span class='post-author vcard'>
Pubblicato da
<span class='fn'>SEO MASTER</span>
</span>
<span class='post-timestamp'>
alle
<a class='timestamp-link' href='https://pc-solutio.blogspot.com/2011/08/html-css-creating-your-website-design.html' rel='bookmark' title='permanent link'><abbr class='published' title='2011-08-22T21:32:00-07:00'>21:32</abbr></a>
</span>
<span class='post-comment-link'>
</span>
<span class='post-icons'>
<span class='item-control blog-admin pid-1966138131'>
<a href='https://www.blogger.com/post-edit.g?blogID=8824400044699165566&postID=639625860796659533&from=pencil' title='Modifica post'>
<img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
</a>
</span>
</span>
<div class='post-share-buttons goog-inline-block'>
<a class='goog-inline-block share-button sb-email' href='https://www.blogger.com/share-post.g?blogID=8824400044699165566&postID=639625860796659533&target=email' target='_blank' title='Invia tramite email'><span class='share-button-link-text'>Invia tramite email</span></a><a class='goog-inline-block share-button sb-blog' href='https://www.blogger.com/share-post.g?blogID=8824400044699165566&postID=639625860796659533&target=blog' onclick='window.open(this.href, "_blank", "height=270,width=475"); return false;' target='_blank' title='Postalo sul blog'><span class='share-button-link-text'>Postalo sul blog</span></a><a class='goog-inline-block share-button sb-twitter' href='https://www.blogger.com/share-post.g?blogID=8824400044699165566&postID=639625860796659533&target=twitter' target='_blank' title='Condividi su X'><span class='share-button-link-text'>Condividi su X</span></a><a class='goog-inline-block share-button sb-facebook' href='https://www.blogger.com/share-post.g?blogID=8824400044699165566&postID=639625860796659533&target=facebook' onclick='window.open(this.href, "_blank", "height=430,width=640"); return false;' target='_blank' title='Condividi su Facebook'><span class='share-button-link-text'>Condividi su Facebook</span></a><a class='goog-inline-block share-button sb-pinterest' href='https://www.blogger.com/share-post.g?blogID=8824400044699165566&postID=639625860796659533&target=pinterest' target='_blank' title='Condividi su Pinterest'><span class='share-button-link-text'>Condividi su Pinterest</span></a>
</div>
</div>
<div class='post-footer-line post-footer-line-2'><span class='post-labels'>
Etichette:
<a href='https://pc-solutio.blogspot.com/search/label/Creating' rel='tag'>Creating</a>,
<a href='https://pc-solutio.blogspot.com/search/label/Design' rel='tag'>Design</a>,
<a href='https://pc-solutio.blogspot.com/search/label/Website' rel='tag'>Website</a>
</span>
</div>
<div class='post-footer-line post-footer-line-3'><span class='post-location'>
</span>
</div>
</div>
</div>
<div class='comments' id='comments'>
<a name='comments'></a>
<h4>Nessun commento:</h4>
<div id='Blog1_comments-block-wrapper'>
<dl class='avatar-comment-indent' id='comments-block'>
</dl>
</div>
<p class='comment-footer'>
<div class='comment-form'>
<a name='comment-form'></a>
<h4 id='comment-post-message'>Posta un commento</h4>
<p>
</p>
<a href='https://www.blogger.com/comment/frame/8824400044699165566?po=639625860796659533&hl=it&saa=84935' id='comment-editor-src'></a>
<iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410px' id='comment-editor' name='comment-editor' src='' width='100%'></iframe>
<script src='https://www.blogger.com/static/v1/jsbin/681870030-comment_from_post_iframe.js' type='text/javascript'></script>
<script type='text/javascript'>
BLOG_CMT_createIframe('https://www.blogger.com/rpc_relay.html');
</script>
</div>
</p>
</div>
</div>
</div></div>
</div>
<div class='blog-pager' id='blog-pager'>
<span id='blog-pager-newer-link'>
<a class='blog-pager-newer-link' href='https://pc-solutio.blogspot.com/2011/08/css-text-formatting-in-css-part-22.html' id='Blog1_blog-pager-newer-link' title='Post più recente'>Post più recente</a>
</span>
<span id='blog-pager-older-link'>
<a class='blog-pager-older-link' href='https://pc-solutio.blogspot.com/2011/08/html-css-forms.html' id='Blog1_blog-pager-older-link' title='Post più vecchio'>Post più vecchio</a>
</span>
<a class='home-link' href='https://pc-solutio.blogspot.com/'>Home page</a>
</div>
<div class='clear'></div>
<div class='post-feeds'>
<div class='feed-links'>
Iscriviti a:
<a class='feed-link' href='https://pc-solutio.blogspot.com/feeds/639625860796659533/comments/default' target='_blank' type='application/atom+xml'>Commenti sul post (Atom)</a>
</div>
</div>
</div></div>
</div>
<div id='sidebar-wrapper'>
<div class='sidebar section' id='sidebar'><div class='widget Text' data-version='1' id='Text2'>
<h2 class='title'>INFORMATION ON PC</h2>
<div class='widget-content'>
pc hardware,pc store,new pc,computer hardware,pc software,pc online,computer information,online pc,hardware pc,information computer,about computer hardware,information on computer,computer hardware system,computer system hardware,information on the computer,about the computer hardware,about hardware of computer,computer & hardware
</div>
<div class='clear'></div>
</div><div class='widget AdSense' data-version='1' id='AdSense4'>
<div class='widget-content'>
<script type="text/javascript"><!--
google_ad_client="pub-7133328518415361";
google_ad_host="pub-1556223355139109";
google_ad_width=160;
google_ad_height=600;
google_ad_format="160x600_as";
google_ad_type="text";
google_ad_host_channel="0001+S0004+L0001";
google_color_border="FFFFFF";
google_color_bg="FFFFFF";
google_color_link="333333";
google_color_url="0000FF";
google_color_text="999999";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<div class='clear'></div>
</div>
</div><div class='widget HTML' data-version='1' id='HTML3'>
<div class='widget-content'>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-28249713-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</div>
<div class='clear'></div>
</div><div class='widget AdSense' data-version='1' id='AdSense1'>
<div class='widget-content'>
<script type="text/javascript"><!--
google_ad_client="pub-7133328518415361";
google_ad_host="pub-1556223355139109";
google_ad_width=160;
google_ad_height=600;
google_ad_format="160x600_as";
google_ad_type="text";
google_ad_host_channel="0001+S0004+L0001";
google_color_border="FFFFFF";
google_color_bg="FFFFFF";
google_color_link="333333";
google_color_url="0000FF";
google_color_text="333333";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<div class='clear'></div>
</div>
</div><div class='widget Text' data-version='1' id='Text1'>
<h2 class='title'>INFORMATION ON PC</h2>
<div class='widget-content'>
pc hardware,pc store,new pc,computer hardware,pc software,pc online,computer information,online pc,hardware pc,information computer,about computer hardware,information on computer
</div>
<div class='clear'></div>
</div><div class='widget HTML' data-version='1' id='HTML1'>
<h2 class='title'>Translate This Blog</h2>
<div class='widget-content'>
<div style="padding:10px 3px 3px 10px;text-align:center;"><!—google flags— translate mini><div align="left"><!– to beta add – english (simplified) chinese><a style="cursor:pointer; cursor:hand;" target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Czh-CN&hl=en&ie=UTF8'); return false;" title="Google-Translate-Chinese (Simplified) BETA"><img alt="Google-Translate-Chinese (Simplified) BETA" border="0" align="absbottom" title="Google-Translate-Chinese (Simplified) BETA" height="24" src="http://files.bloggerplugins.org/chineese.png" style="cursor:pointer; cursor:hand;" width="24"/> Chinese</a><!– to english (simplified) end chinese beta–><br/><!– to add – english french><a style="cursor:pointer; cursor:hand;" target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Cfr&hl=en&ie=UTF8'); return false;" title="Google-Translate-English to French "><img alt="Google-Translate-English to French " border="0" align="absbottom" title="Google-Translate-English to French " height="24" src="http://img75.imageshack.us/img75/1959/frenchvw7.jpg" style="cursor:pointer; cursor:hand;" width="24"/> French</a><!– to – english french end><br/><!– to add german – english><a style="cursor:pointer; cursor:hand;" target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Cde&hl=en&ie=UTF8'); return false;" title="Google-Translate-English to German"><img alt="Google-Translate-English to German" border="0" align="absbottom" title="Google-Translate-English to German" height="24" src="http://files.bloggerplugins.org/german.png" style="cursor:pointer; cursor:hand;" width="24"/> German</a><!– to german – english end><br/><!– to italian add – english><a style="cursor:pointer; cursor:hand;" target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Cit&hl=en&ie=UTF8'); return false;" title="Google-Translate-English to Italian"><img alt="Google-Translate-English to Italian" border="0" align="absbottom" title="Google-Translate-English to Italian" height="24" src="http://files.bloggerplugins.org/italian.png" style="cursor:pointer; cursor:hand;" width="24"/> Italian</a><!– to italian – english end><br/><!– to beta add – english japanese><a style="cursor:pointer; cursor:hand;" target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Cja&hl=en&ie=UTF8'); return false;" title="Google-Translate-English to Japanese BETA"><img alt="Google-Translate-English to Japanese BETA" border="0" align="absbottom" title="Google-Translate-English to Japanese BETA" height="24" src="http://files.bloggerplugins.org/japanese.png" style="cursor:pointer; cursor:hand;" width="24"/> Japanese</a><!– to beta – english end japanese><br/><!– to beta add – english korean><a style="cursor:pointer; cursor:hand;" target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Cko&hl=en&ie=UTF8'); return false;" title="Google-Translate-English to Korean BETA"><img alt="Google-Translate-English to Korean BETA" border="0" align="absbottom" title="Google-Translate-English to Korean BETA" height="24" src="http://files.bloggerplugins.org/korean.png" style="cursor:pointer; cursor:hand;" width="24"/> Korean</a><!– to beta – english korean end><br/><!– to beta russian add – english><a style="cursor:pointer; cursor:hand;" target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Cru&hl=en&ie=UTF8'); return false;" title="Google-Translate-English to Russian BETA "><img alt="Google-Translate-English to Russian BETA " border="0" align="absbottom" title="Google-Translate-English to Russian BETA " height="24" src="http://files.bloggerplugins.org/russian.png" style="cursor:pointer; cursor:hand;" width="24"/> Russian</a><!– to beta russian – english end><br/><!– to spanish add – english><a style="cursor:pointer; cursor:hand;" target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Ces&hl=en&ie=UTF8'); return false;" title="Google-Translate-English to Spanish "><img alt="Google-Translate-English to Spanish " border="0" align="absbottom" title="Google-Translate-English to Spanish " height="24" src="http://files.bloggerplugins.org/spanish.png" style="cursor:pointer; cursor:hand;" width="24"/> Spanish</a><!– to spanish – english end></!–></!–></!–></!–></!–></!–></!–></!–></!–></!–></!–></!–></!–></!–></!–></!–></div><sup><br/>Powered By</sup><td class="gsc-branding-img-noclear"><img src="http://img137.imageshack.us/img137/7204/googlelogode0.png" class="gsc-branding-img-noclear"/><small><noscript><a href="http://www.bloggerplugins.org" target="_blank">+</a><a href="http://www.bloggerplugins.org/2008/06/blog-tanslation-widget-for-blogger.html" target="_blank">Grab this widget</a></noscript></small></td></!—google></div>
</div>
<div class='clear'></div>
</div><div class='widget BlogArchive' data-version='1' id='BlogArchive1'>
<h2>Archivio blog</h2>
<div class='widget-content'>
<div id='ArchiveList'>
<div id='BlogArchive1_ArchiveList'>
<ul class='hierarchy'>
<li class='archivedate expanded'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy toggle-open'>
▼
</span>
</a>
<a class='post-count-link' href='https://pc-solutio.blogspot.com/2011/'>
2011
</a>
<span class='post-count' dir='ltr'>(112)</span>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://pc-solutio.blogspot.com/2011/11/'>
novembre
</a>
<span class='post-count' dir='ltr'>(75)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://pc-solutio.blogspot.com/2011/10/'>
ottobre
</a>
<span class='post-count' dir='ltr'>(5)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://pc-solutio.blogspot.com/2011/09/'>
settembre
</a>
<span class='post-count' dir='ltr'>(3)</span>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate expanded'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy toggle-open'>
▼
</span>
</a>
<a class='post-count-link' href='https://pc-solutio.blogspot.com/2011/08/'>
agosto
</a>
<span class='post-count' dir='ltr'>(28)</span>
<ul class='posts'>
<li><a href='https://pc-solutio.blogspot.com/2011/08/10-dollars-free-from-imcrew.html'>10 dollars free from Imcrew?</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/12-tips-wisely-using-android.html'>12 tips wisely Using android</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/asus-eee-pc-seashell-1005pe.html'>Asus Eee PC Seashell 1005PE</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/opening-facebook-litle_25.html'>Opening facebook litle</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/opening-facebook-litle.html'>Opening facebook litle</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/personal-computer-solution.html'>Personal Computer solution</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/rockus-3d-21-computer-speakers.html'>Rockus 3D 2.1 Computer Speakers</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/saving-and-improve-battery-life-for.html'>Saving and Improve Battery Life for Android</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/unlocking-nokia-siemens-vitel-maxel.html'>Unlocking Nokia, Siemens, Vitel, Maxel, Panasonic,...</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/usb-drive-security.html'>USB Drive Security</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/css-list-of-css-properties.html'>CSS – List Of CSS Properties</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/css-pseudo-formats.html'>CSS – Pseudo Formats</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/css-text-formatting-in-css-part-12.html'>CSS – Text Formatting In CSS (Part 1/2)</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/css-text-formatting-in-css-part-22.html'>CSS – Text Formatting In CSS (Part 2/2)</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/html-css-creating-your-website-design.html'>HTML / CSS – Creating Your Website Design !</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/html-css-forms.html'>HTML / CSS – Forms</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/html-css-w3c-web-standards_22.html'>HTML / CSS – W3C & The Web Standards</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/html-css-what-do-we-do-now-conclusion_3736.html'>HTML / CSS – What Do We Do Now (Conclusion)</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/html-css-what-do-we-do-now-conclusion_21.html'>HTML / CSS – What Do We Do Now (Conclusion)</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/html-css-using-lists_21.html'>HTML / CSS – Using Lists</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/html-css-site-layout-part-12.html'>HTML / CSS – Site Layout (Part 1/2)</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/html-css-tables.html'>HTML / CSS – Tables</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/html-css-using-lists.html'>HTML / CSS – Using Lists</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/html-css-w3c-web-standards_21.html'>HTML / CSS – W3C & The Web Standards</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/html-css-w3c-web-standards.html'>HTML / CSS – W3C & The Web Standards</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/html-css-what-do-we-do-now-conclusion.html'>HTML / CSS – What Do We Do Now (Conclusion)</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/php-introduction-to-php.html'>PHP – Introduction To PHP</a></li>
<li><a href='https://pc-solutio.blogspot.com/2011/08/nuclear-missiles-go-offline-after.html'>Nuclear Missiles Go Offline after Computer Error</a></li>
</ul>
</li>
</ul>
<ul class='hierarchy'>
<li class='archivedate collapsed'>
<a class='toggle' href='javascript:void(0)'>
<span class='zippy'>
►
</span>
</a>
<a class='post-count-link' href='https://pc-solutio.blogspot.com/2011/07/'>
luglio
</a>
<span class='post-count' dir='ltr'>(1)</span>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div class='clear'></div>
</div>
</div></div>
</div>
<!-- spacer for skins that want sidebar and main to be the same height-->
<div class='clear'> </div>
</div>
<!-- end content-wrapper -->
<div id='footer-wrapper'>
<div class='footer no-items section' id='footer'></div>
</div>
</div></div>
<!-- end outer-wrapper -->
<script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/3551516202-widgets.js"></script>
<script type='text/javascript'>
window['__wavt'] = 'AOuZoY7CqMZ7ednqsXmta4LYN5AHae-qIQ:1744149595889';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d8824400044699165566','//pc-solutio.blogspot.com/2011/08/html-css-creating-your-website-design.html','8824400044699165566');
_WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '8824400044699165566', 'title': 'INFORMATION PC ALL THE INFOS YOU NEED TO UNDERSTAND BETTER YOU PC', 'url': 'https://pc-solutio.blogspot.com/2011/08/html-css-creating-your-website-design.html', 'canonicalUrl': 'http://pc-solutio.blogspot.com/2011/08/html-css-creating-your-website-design.html', 'homepageUrl': 'https://pc-solutio.blogspot.com/', 'searchUrl': 'https://pc-solutio.blogspot.com/search', 'canonicalHomepageUrl': 'http://pc-solutio.blogspot.com/', 'blogspotFaviconUrl': 'https://pc-solutio.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'encoding': 'UTF-8', 'locale': 'it', 'localeUnderscoreDelimited': 'it', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22INFORMATION PC ALL THE INFOS YOU NEED TO UNDERSTAND BETTER YOU PC - Atom\x22 href\x3d\x22https://pc-solutio.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22INFORMATION PC ALL THE INFOS YOU NEED TO UNDERSTAND BETTER YOU PC - RSS\x22 href\x3d\x22https://pc-solutio.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22INFORMATION PC ALL THE INFOS YOU NEED TO UNDERSTAND BETTER YOU PC - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/8824400044699165566/posts/default\x22 /\x3e\n\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22INFORMATION PC ALL THE INFOS YOU NEED TO UNDERSTAND BETTER YOU PC - Atom\x22 href\x3d\x22https://pc-solutio.blogspot.com/feeds/639625860796659533/comments/default\x22 /\x3e\n', 'meTag': '', 'adsenseClientId': 'ca-pub-7133328518415361', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': true, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/51ad58472e92bd27', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': 'Ottieni link', 'key': 'link', 'shareMessage': 'Ottieni link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Condividi in Facebook', 'target': 'facebook'}, {'name': 'Postalo sul blog', 'key': 'blogThis', 'shareMessage': 'Postalo sul blog', 'target': 'blog'}, {'name': 'X', 'key': 'twitter', 'shareMessage': 'Condividi in X', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Condividi in Pinterest', 'target': 'pinterest'}, {'name': 'Email', 'key': 'email', 'shareMessage': 'Email', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27it\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': 'Continua a leggere', 'pageType': 'item', 'postId': '639625860796659533', 'postImageUrl': 'http://blog.europcsolutions.com/wp-content/uploads/2011/02/creating-a-website.png', 'pageName': 'HTML / CSS \u2013 Creating Your Website Design !', 'pageTitle': 'INFORMATION PC ALL THE INFOS YOU NEED TO UNDERSTAND BETTER YOU PC: HTML / CSS \u2013 Creating Your Website Design !'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': 'Modifica', 'linkCopiedToClipboard': 'Link copiato negli appunti.', 'ok': 'OK', 'postLink': 'Link del post'}}, {'name': 'template', 'data': {'name': 'custom', 'localizedName': 'Personalizza', 'isResponsive': false, 'isAlternateRendering': false, 'isCustom': true}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'HTML / CSS \u2013 Creating Your Website Design !', 'description': 'HTML / CSS \u2013 Creating Your Website Design ! This chapter is a bit particular, rather different to the ones seen up to now. In fact it will b...', 'featuredImage': 'https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_tRT5NXs9-dS5dST54pngOL3nR2CySxuq5gwlv6qmPPiBk5_kaVcHG6eBZEsnxbIeghyu9pIOcFeZ-xquta2fHV6H0iif64E-zEug4u4MA9anyZI27FCsHKkrUHjFLuBfBrsrM_T5G2Cmt0vENrsG_nFq_E', 'url': 'https://pc-solutio.blogspot.com/2011/08/html-css-creating-your-website-design.html', 'type': 'item', 'isSingleItem': true, 'isMultipleItems': false, 'isError': false, 'isPage': false, 'isPost': true, 'isHomepage': false, 'isArchive': false, 'isLabelSearch': false, 'postId': 639625860796659533}}]);
_WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_PageListView', new _WidgetInfo('PageList1', 'crosscol', document.getElementById('PageList1'), {'title': 'Pagine', 'links': [{'isCurrentPage': false, 'href': 'https://pc-solutio.blogspot.com/', 'title': 'Home page'}, {'isCurrentPage': false, 'href': 'https://pc-solutio.blogspot.com/p/informatione-sul-pc.html', 'id': '7179550134848274659', 'title': 'INFORMATIONE SUL PC'}, {'isCurrentPage': false, 'href': 'https://pc-solutio.blogspot.com/p/pc-information.html', 'id': '4664267613269832827', 'title': 'PC INFORMATION'}, {'isCurrentPage': false, 'href': 'https://pc-solutio.blogspot.com/p/what-is-pc.html', 'id': '5782304753071211156', 'title': 'WHAT IS A PC ?'}], 'mobile': false, 'showPlaceholder': true, 'hasCurrentPage': false}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_AdSenseView', new _WidgetInfo('AdSense3', 'crosscol', document.getElementById('AdSense3'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML2', 'crosscol', document.getElementById('HTML2'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'main', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'lightboxEnabled': true, 'lightboxModuleUrl': 'https://www.blogger.com/static/v1/jsbin/1335468029-lbx__it.js', 'lightboxCssUrl': 'https://www.blogger.com/static/v1/v-css/3681588378-lightbox_bundle.css'}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_TextView', new _WidgetInfo('Text2', 'sidebar', document.getElementById('Text2'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_AdSenseView', new _WidgetInfo('AdSense4', 'sidebar', document.getElementById('AdSense4'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML3', 'sidebar', document.getElementById('HTML3'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_AdSenseView', new _WidgetInfo('AdSense1', 'sidebar', document.getElementById('AdSense1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_TextView', new _WidgetInfo('Text1', 'sidebar', document.getElementById('Text1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML1', 'sidebar', document.getElementById('HTML1'), {}, 'displayModeFull'));
_WidgetManager._RegisterWidget('_BlogArchiveView', new _WidgetInfo('BlogArchive1', 'sidebar', document.getElementById('BlogArchive1'), {'languageDirection': 'ltr', 'loadingMessage': 'Caricamento in corso\x26hellip;'}, 'displayModeFull'));
</script>
</body>
</html>