< text-indent: -9999px; not working | All appointed to the definite beautiful >
7 Feb 2007 > 4 Comments
To get the code, copy the source from the live preview or visit ocgfx and copy and paste it from there.
1. Create a new folder, and open up a text editor (Notepad), and copy (Ctrl+C) and paste (Ctrl+V) the template code. then save (Inside the new folder) the document as a .html file
2. To view the template open up your browser and go to File > Open (Open File in Fire Fox)
3. To create an external stylesheet copy and paste all the css contained in the <style> tags. Create another document and save (Inside the new folder), as style.css
Note: You do not need to use style tags in the external stylesheet.
All tags (elements), must be closed…
<p></p>
<blockquote></blockquote>
<div></div>
…or self closed
<br />
<hr />
<img src="" alt="" />
1. All text should be contained in <p> (paragraph) tags.
<p>Example of a paragraph</p>
2. Quotes should be enclosed in both Blockquote and Paragraph tags
<blockquote><p>Example of a quote</p></blockquote>
1. Image tags should contain the alt attribute, to give an alternative text description if the image fails to load.
<img src="http://img.jpg" alt="my image" />
2. Images should be enclosed in <div> tags.
<div><img src="http://img.jpg" alt="my image"/></div>
3. You can also add some caption text to the image, enclosed in tags.
<div><img src="http://img.jpg" alt="my image" /><p>caption</p></div>
4. To align the image on the left of the page add:
<div><img class="imgfl" src="http://img.jpg" alt="my image" /><p>caption</p></div>
5. To align the image on the right of the page add:
<div><img class="imgfr" src="http://img.jpg" alt="my image" /><p>caption</p></div>
These links are treated as list items (<li>) inside ordered lists (<ol>). To add more links, add another list item to the list:
<ol>
<li>Link one</li>
<li>Link two</li>
<li>Link three</li>
<li>Another Link</li>
</ol>
If you are having any further difficulties, or want to modify the template, let me know
Creating a <div> based Template using CSS (part 1 - 12)
Comment on March 16, 2010 at 5:23 pm
Отлично сделали, есть чему поучиться.
Comment on April 1, 2010 at 7:36 am
Качественно все сделано, молодцы.
Comment on April 1, 2010 at 12:15 pm
Себе в закладки поставлю и друзьям посоветую!
Comment on May 3, 2010 at 1:52 am
Получилось тоже, хотя и не надеялся.
Mahud Version 5 © 2006-2008 > powered by Mr Whippy Wordpress