473,396 Members | 1,655 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How do change an HTML/CSS from a blog into a personal website?

I downloaded a CSS template to make a section of my website, but the CSS/HTML is for a blog, rather than for a personal website. I'm wondering how to change all that so that it still looks the same, but without the characteristics of a blog?

Here's the CSS:
Expand|Select|Wrap|Line Numbers
  1. /*
  2. Design by Free CSS Templates
  3. http://www.freecsstemplates.org
  4. Released for free under a Creative Commons Attribution 2.5 License
  5. */
  6.  
  7. * {
  8.     margin: 0;
  9.     padding: 0;
  10. }
  11.  
  12. body {
  13.     background: #FBE8E8 url(images/img01.jpg);
  14.     text-align: justify;
  15. }
  16.  
  17. body, input, textarea, select {
  18.     font: normal small Georgia, "Times New Roman", Times, serif;
  19.     color: #662C14;
  20. }
  21.  
  22. h1, h2, h3 {
  23.     margin-bottom: 1em;
  24.     font-weight: normal;
  25. }
  26.  
  27. h1 {
  28.     font-size: 2.2em;
  29. }
  30.  
  31. h2 {
  32.     font-size: 1.7em;
  33. }
  34.  
  35. h3 {
  36.     font-size: 1.3em;
  37. }
  38.  
  39. p, blockquote, ul, ol, form {
  40.     margin-bottom: 1.5em;
  41. }
  42.  
  43. blockquote, ul, ol {
  44.     margin-left: 3em;
  45. }
  46.  
  47. blockquote {
  48.     margin-right: 3em;
  49.     font-style: italic;
  50. }
  51.  
  52. ul {
  53.     list-style-type: square;
  54. }
  55.  
  56. a {
  57.     color: #662C14;
  58. }
  59.  
  60. a:hover {
  61.     text-decoration: none;
  62. }
  63.  
  64. hr {
  65.     display: none;
  66. }
  67.  
  68. .hr {
  69. }
  70.  
  71. img.left {
  72.     float: left;
  73.     margin: 0 15px 15px 0;
  74. }
  75.  
  76. img.right {
  77.     float: right;
  78.     margin: 0 0 15px 15px;
  79. }
  80.  
  81. /* Wrapper */
  82.  
  83. #wrapper {
  84.     padding: 20px 0;
  85.     background: url(images/img02.jpg) repeat-x;
  86. }
  87.  
  88. /* Header */
  89.  
  90. #header {
  91.     width: 700px;
  92.     height: 160px;
  93.     margin: 0 auto;
  94.     background: url(images/img03.gif) no-repeat;
  95. }
  96.  
  97. #header h1, #header h2 {
  98.     margin: 0;
  99. }
  100.  
  101. #header h1 {
  102.     padding-top: 40px;
  103.     text-align: center;
  104.     font-size: 4em;
  105. }
  106.  
  107. #header h2 {
  108.     text-align: center;
  109.     font-size: 1em;
  110.     font-style: italic;
  111. }
  112.  
  113. #header a {
  114.     text-decoration: none;
  115. }
  116.  
  117. /* Content */
  118.  
  119. #content {
  120.     width: 700px;
  121.     margin: 0 auto;
  122.     background: #FBE8E8 url(images/img04.gif) repeat-y;
  123. }
  124.  
  125. /* Blog */
  126.  
  127. #blog {
  128.     float: right;
  129.     width: 424px;
  130.     padding: 50px 20px 0px 16px;
  131.     background: url(images/img06.gif) no-repeat;
  132. }
  133.  
  134. /* Post */
  135.  
  136. .post {
  137.     margin-bottom: 20px;
  138.     padding-bottom: 20px;
  139.     background: url(images/img08.gif) no-repeat center bottom;
  140. }
  141.  
  142. .post .title {
  143.     margin-bottom: 15px;
  144.     padding-left: 15px;
  145.     border-bottom: 1px solid #D3B6AF;
  146.     text-transform: uppercase;
  147.     font-size: small;
  148.     font-weight: bold;
  149. }
  150.  
  151. .post .title a {
  152.     text-decoration: none;
  153. }
  154.  
  155. .post .title a:hover {
  156.     text-decoration: underline;
  157. }
  158.  
  159. .post .date {
  160.     margin-top: -30px;
  161.     padding-right: 15px;
  162.     text-align: right;
  163.     font-size: x-small;
  164. }
  165.  
  166. .post .entry {
  167.     padding: 20px 15px 10px 15px;
  168.     line-height: 1.8em;
  169. }
  170.  
  171. .post .meta {
  172.     margin-bottom: 2em;
  173.     padding: 0 15px;
  174.     text-align: right;
  175.     font-size: x-small;
  176. }
  177.  
  178. /* Sidebar */
  179.  
  180. #sidebar {
  181.     float: left;
  182.     width: 204px;
  183.     padding: 50px 16px 0px 20px;
  184.     background: url(images/img05.gif) no-repeat;
  185. }
  186.  
  187. #sidebar ul {
  188.     margin: 0;
  189.     list-style: none;
  190. }
  191.  
  192. #sidebar li {
  193.     margin-bottom: 20px;
  194. }
  195.  
  196. #sidebar li ul {
  197.     padding-left: 5px;
  198.     line-height: 1.4em;
  199. }
  200.  
  201. #sidebar li li {
  202.     margin: 0;
  203.     padding-left: 12px;
  204.     background: url(images/img07.gif) no-repeat left center;
  205. }
  206.  
  207. #sidebar h2 {
  208.     margin-bottom: 15px;
  209.     padding-left: 5px;
  210.     border-bottom: 1px solid #D3B6AF;
  211.     text-transform: uppercase;
  212.     font-size: small;
  213.     font-weight: bold;
  214. }
  215.  
  216. #sidebar a {
  217.     text-decoration: none;
  218. }
  219.  
  220. #sidebar a:hover {
  221.     text-decoration: underline;
  222. }
  223.  
  224. /* Search */
  225.  
  226. #search {
  227. }
  228.  
  229. #search h2 {
  230. }
  231.  
  232. #search form {
  233. }
  234.  
  235. #search #inputtext1 {
  236. }
  237.  
  238. #search #inputsubmit1 {
  239. }
  240.  
  241. /* Archives */
  242.  
  243. #archives {
  244. }
  245.  
  246. /* Categories */
  247.  
  248. #categories {
  249. }
  250.  
  251. /* Blogroll */
  252.  
  253. #blogroll {
  254. }
  255.  
  256. /* Meta */
  257.  
  258. #meta {
  259. }
  260.  
  261. /* Footer */
  262.  
  263. #footer {
  264.     width: 700px;
  265.     margin: 0 auto;
  266.     padding-top: 43px;
  267.     background: url(images/img09.gif) no-repeat;
  268. }
  269.  
  270. #footer p {
  271.     margin: 0;
  272.     padding: 20px 0;
  273.     text-align: center;
  274.     font-size: x-small;
  275.     color: #FFFFFF;
  276. }
  277.  
  278. #footer a {
  279.     color: #FFFFFF;
  280. }
And, here's the HTML:
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <!--
  3. Design by Free CSS Templates
  4. http://www.freecsstemplates.org
  5. Released for free under a Creative Commons Attribution 2.5 License
  6.  
  7. Title      : The Manor
  8. Version    : 1.0
  9. Released   : 20070331
  10. Description: A two-column fixed-width template. Suitable for blogs and small business websites.
  11.  
  12. -->
  13. <html xmlns="http://www.w3.org/1999/xhtml">
  14. <head>
  15. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  16. <title>The Manor by Free Css Templates</title>
  17. <meta name="keywords" content="" />
  18. <meta name="description" content="" />
  19. <link href="default.css" rel="stylesheet" type="text/css" />
  20. </head>
  21. <body>
  22. <div id="wrapper">
  23.     <div id="header">
  24.         <h1><a href="/">The Manor</a></h1>
  25.         <h2><a href="http://www.freecsstemplates.org/">by Free CSS Templates</a></h2>
  26.         <hr />
  27.     </div>
  28.     <div id="content">
  29.         <div id="blog">
  30.             <div id="post-1" class="post">
  31.                 <h2 class="title"><a href="#">Welcome to The Manor!</a></h2>
  32.                 <h3 class="date">March 26, 2007</h3>
  33.                 <div class="entry">
  34.                     <p><strong>The Manor</strong> is a free template from <a href="http://www.freecsstemplates.org/">Free CSS Templates</a> released under a <a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attribution 2.5 Licens</a>. You"re free to use it for both commercial or personal use. I only ask that you link back to my site in some way. <em><strong>Enjoy :)</strong></em></p>
  35.                 </div>
  36.                 <p class="meta">Posted in <a href="http://www.pdphoto.org/">Uncategorized</a> | <a href="#">Edit</a> | <a href="#">1 Comment &raquo;</a></p>
  37.                 <div class="hr">
  38.                     <hr />
  39.                 </div>
  40.             </div>
  41.             <!-- end #post-1 -->
  42.             <div id="post-2" class="post">
  43.                 <h2 class="title"><a href="#">Sample Tags</a></h2>
  44.                 <h3 class="date">January 31, 2007</h3>
  45.                 <div class="entry">
  46.                     <p>A one-sentence paragraph followed by a blockquoted paragraph.</p>
  47.                     <blockquote>
  48.                         <p>&ldquo;Nam et orci et leo iaculis tempor. Duis ante ante, pretium sit amet, feugiat ut, semper ac, nisl. Praesent eget mauris. Duis in pede. Vestibulum nec libero.&rdquo;</p>
  49.                     </blockquote>
  50.                     <h3>Heading Level Three</h3>
  51.                     <ul>
  52.                         <li>Proin eu ligula ut est congue malesuada.</li>
  53.                         <li>Nunc eleifend felis nec purus.</li>
  54.                         <li>Duis sodales urna sit amet nulla.</li>
  55.                     </ul>
  56.                     <h3>Ordered List</h3>
  57.                     <ol>
  58.                         <li>Donec fringilla leo eget erat.</li>
  59.                         <li>Nunc condimentum cursus lorem.</li>
  60.                         <li>Cras sodales venenatis metus.</li>
  61.                     </ol>
  62.                 </div>
  63.                 <p class="meta">Posted in <a href="http://www.pdphoto.org/">Uncategorized</a> | <a href="#">Edit</a> | <a href="#">1 Comment &raquo;</a></p>
  64.                 <div class="hr">
  65.                     <hr />
  66.                 </div>
  67.             </div>
  68.             <!-- end #post-2 -->
  69.         </div>
  70.         <!-- end #blog -->
  71.         <div id="sidebar">
  72.             <ul>
  73.                 <li id="search">
  74.                     <h2>Search</h2>
  75.                     <form id="form1" method="get" action="#">
  76.                         <div>
  77.                             <input id="inputtext1" type="text" name="inputtext1" value="" />
  78.                             <input id="inputsubmit1" type="submit" name="inputsubmit1" value="Search" />
  79.                         </div>
  80.                     </form>
  81.                 </li>
  82.                 <!-- end #search -->
  83.                 <li id="archives">
  84.                     <h2>Archives</h2>
  85.                     <ul>
  86.                         <li><a href="#">March 2007</a></li>
  87.                         <li><a href="#">February 2007</a></li>
  88.                         <li><a href="#">January 2007</a></li>
  89.                         <li><a href="#">December 2006</a></li>
  90.                         <li><a href="#">November 2006</a></li>
  91.                     </ul>
  92.                 </li>
  93.                 <!-- end #archives -->
  94.                 <li id="categories">
  95.                     <h2>Categories</h2>
  96.                     <ul>
  97.                         <li><a href="#">Uncategorized</a> <small>(6)</small></li>
  98.                         <li><a href="#">Condimentum Cursus</a> <small>(28)</small></li>
  99.                         <li><a href="#">Praesent Sit Mauris</a> <small>(14)</small></li>
  100.                         <li><a href="#">Leo Iaculis Tempor</a> <small>(23)</small></li>
  101.                         <li><a href="#">Dignissimos Ducimus</a> <small>(19)</small></li>
  102.                     </ul>
  103.                 </li>
  104.                 <!-- end #categories -->
  105.                 <li id="blogroll">
  106.                     <h2>Blogroll</h2>
  107.                     <ul>
  108.                         <li><a href="#">Lorem Ipsum Dolor</a></li>
  109.                         <li><a href="#">Tempor Leo Iaculis</a></li>
  110.                         <li><a href="#">Cursus Dignissimos</a></li>
  111.                         <li><a href="#">Ducimus Condimentum</a></li>
  112.                         <li><a href="#">Praesent Sit Mauris</a></li>
  113.                     </ul>
  114.                 </li>
  115.                 <!-- end #blogroll -->
  116.                 <li id="meta">
  117.                     <h2>Meta</h2>
  118.                     <ul>
  119.                         <li><a href="#">Site Admin</a></li>
  120.                         <li><a href="#">Logout</a></li>
  121.                         <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Strict">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
  122.                         <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
  123.                         <li><a href="http://www.freecsstemplates.org/" title="Designed by Free CSS Templates.">Free CSS Templates</a></li>
  124.                     </ul>
  125.                 </li>
  126.                 <!-- end #meta -->
  127.             </ul>
  128.         </div>
  129.         <!-- end #sidebar -->
  130.         <div style="clear: both; height: 1px;"></div>
  131.     </div>
  132.     <!-- end #content -->
  133.     <div id="footer">
  134.         <p>Copyright &copy; 2007 The Manor. Designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
  135.     </div>
  136. </div>
  137. <!-- end #wrapper -->
  138. </body>
  139. </html>
  140.  
So, just to be clear, I'd like to know how to change the Archives/Categories/Blogroll/Meta menus into working navigation menus on the left side of the main body. Also, I only need the first section of the 'blog;' not three. Thank you so much to anyone who can help. <3
Oct 3 '10 #1

✓ answered by Death Slaught

@Lady Gray
As you seem to have figured out, you only need to edit a few minor things to make the change. It would be very beneficial for you to learn a little more about HTML and CSS though. For your needs W3school's tutorials would be a great place to start.

Thanks, Death

4 2214
JKing
1,206 Expert 1GB
Have you made any attempt to do this for yourself(aside from downloading a free template)? Or are you just looking for free work?
Oct 4 '10 #2
I don't know anything about CSS and am basically fumbling my way through the HTML bit of it. It's a trial and error process for me, where I change something small, save it, then look at it as a local file to see if I managed to change what I wanted to.

I did manage to figure out a way to make the layout work for me; I just changed the title of "Archives" to "Navigation" and the "Blogroll" to "Links." It wasn't exactly what I wanted, but the links work and it looks the way I wanted it to, so I suppose it's a temporary fix for now.
Oct 4 '10 #3
Death Slaught
1,137 1GB
@Lady Gray
As you seem to have figured out, you only need to edit a few minor things to make the change. It would be very beneficial for you to learn a little more about HTML and CSS though. For your needs W3school's tutorials would be a great place to start.

Thanks, Death
Oct 4 '10 #4
@ Death-

I have gone over quite a few of the tutorials on W3school already, which is probably why I've managed to not mangle things too terribly badly.

I suppose I'll just have to take a weekend and go into everything in-depth so I have a better idea of what I'm doing.

Thank you so much for your help!
Oct 4 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: H | last post by:
Ok, heres the deal ; I have my script code like this var v = "place"; for (var i = 0 ; i < 5 ; i++) { v = v + i; // or v = "place" +i; // Here I want to access the resource in the HTML doc,...
3
by: Matt | last post by:
I want to change the label on the fly (when the user click the checkbox), but my attempt InputForm.lataLbl.value = "LATA * "; didn't work. Here's my code, any ideas? thanks !!! <html>...
3
by: Nevets Steprock | last post by:
I have a webpage that prints nicely when the layout is switched from portrait to landscape. Many of my site users have mistakenly printed it without making the change to their settings and end up...
1
by: Bendik Engebretsen | last post by:
I have made an ASP.NET 2.0 site using the Personal Website Starter Kit. I did this on an XP machine and it the site runs fine on this machine. I have then tried to publish it to our Windows 2003...
2
by: WhatsPHP | last post by:
Can PHP be used to change my clients static HTML pages? By themselves? Instead of having to download the HTML from the server, then use dreamweaver and upload the file back? Thanks Rohan
3
by: Paul Lennon | last post by:
Hi, I hope I have selected the right group for this question, I am looking for assistance with using VS2005 to create a simple website on my ISP. Using VS2005 I have created a Website project...
6
by: VishalK | last post by:
Friends.. I have a HTML file. Using HTML Code, I want to change its file extension from .html to .mht. eg : TestFile.html to be converted to TestFile.mht Anybody has any idea about this ? Please...
2
by: Shannon | last post by:
Hello, thank you for taking the time to read this. I am totally stumped on this one. I have a ton of TD attributes that have to be changed based on the data in the DB. All TD elements are ID...
0
by: wheretheicegrows | last post by:
Is there some way to change the default location for new websites in Visual Studio 2008. It seems one can change the "Visual Studio projects location", the "Visual Studio user project templates...
1
by: Jonathan Wood | last post by:
Okay, I've spent considerable time trying to figure out why I get random problems when browsing the images in the Personal Website Starter Kit. (Note: I found a number of these sites on the Web,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.