Jump to content

BLOGGER


francheskab
 Share

Recommended Posts

I am having a problem with my template. My side bar is waaaay at the bottom of my page. Cany anyone help me? Also, why can't other's post comments? Can somebody help?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>  <title><$BlogPageTitle$></title>  <$BlogMetaData$>  <style type="text/css">/*-----------------------------------------------Blogger Template StyleName:     Minima BlackDesigner: Douglas BowmanURL:      www.stopdesign.comDate:     26 Feb 2004----------------------------------------------- */body {  background:#000;  margin:0;  padding:40px 20px;  font:x-small "Trebuchet MS",Trebuchet,Verdana,Sans-Serif;  text-align:center;  color:#ccc;  font-size/* */:/**/small;  font-size: /**/small;  }a:link {  color:#9ad;  text-decoration:none;  }a:visited {  color:#a7a;  text-decoration:none;  }a:hover {  color:#ad9;  text-decoration:underline;  }a img {  border-width:0;  }/* Header----------------------------------------------- */@media all {  #header {    width:660px;    margin:0 auto 10px;    border:1px solid #333;    }  }@media handheld {  #header {    width:90%;    }  }#blog-title {  margin:5px 5px 0;  padding:20px 20px .25em;  border:1px solid #222;  border-width:1px 1px 0;  font-size:200%;  line-height:1.2em;  color:#ccc;  text-transform:uppercase;  letter-spacing:.2em;  }#blog-title a {  color:#ccc;  text-decoration:none;  }#blog-title a:hover {  color:#ad9;  }#description {  margin:0 5px 5px;  padding:0 20px 20px;  border:1px solid #222;  border-width:0 1px 1px;  font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;  text-transform:uppercase;  letter-spacing:.2em;  color:#777;  }----->                            <---------                  /* Content----------------------------------------------- */@media all {  #content {    width:660px;    margin:0 auto;    padding:0;    text-align:left;    }  #main {    width:410px;    float:left;    }  #sidebar {    width:220px;    float:right;    }  }@media handheld {  #content {    width:90%;    }  #main {    width:100%;    float:none;    }  #sidebar {    width:100%;    float:none;    }  }/* Headings----------------------------------------------- */h2 {  margin:1.5em 0 .75em;  font:bold 78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;  text-transform:uppercase;  letter-spacing:.2em;  color:#777;  }/* Posts----------------------------------------------- */@media all {  .date-header {    margin:1.5em 0 .5em;    }  .post {    margin:.5em 0 1.5em;    border-bottom:1px dotted #444;    padding-bottom:1.5em;    }  }@media handheld {  .date-header {    padding:0 1.5em 0 1.5em;    }  .post {    padding:0 1.5em 0 1.5em;    }  }.post-title {  margin:.25em 0 0;  padding:0 0 4px;  font-size:140%;  line-height:1.4em;  color:#ad9;  }.post-title a {  text-decoration:none;  color:#ad9;  }.post-title a:hover {  color:#fff;  }.post div {  margin:0 0 .75em;  line-height:1.6em;  }p.post-footer {  margin:-.25em 0 0;  color:#333;  }.post-footer em, .comment-link {  font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;  text-transform:uppercase;  letter-spacing:.1em;  }.post-footer em {  font-style:normal;  color:#777;  margin-right:.6em;  }.comment-link {  margin-left:.6em;  }.post img {  padding:4px;  border:1px solid #222;  }.post blockquote {  margin:1em 20px;  }.post blockquote p {  margin:.75em 0;  }/* Comments----------------------------------------------- */#comments h4 {  margin:1em 0;  font:bold 78%/1.6em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;  text-transform:uppercase;  letter-spacing:.2em;  color:#999;  }#comments h4 strong {  font-size:130%;  }#comments-block {  margin:1em 0 1.5em;  line-height:1.6em;  }#comments-block dt {  margin:.5em 0;  }#comments-block dd {  margin:.25em 0 0;  }#comments-block dd.comment-timestamp {  margin:-.25em 0 2em;  font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;  text-transform:uppercase;  letter-spacing:.1em;  }#comments-block dd p {  margin:0 0 .75em;  }.deleted-comment {  font-style:italic;  color:gray;  } /* Sidebar Content----------------------------------------------- */#sidebar ul {  margin:0 0 1.5em;  padding:0 0 1.5em;  border-bottom:1px dotted #444;  list-style:none;  }#sidebar li {  margin:0;  padding:0 0 .25em 15px;  text-indent:-15px;  line-height:1.5em;  }#sidebar p {  color:#999;  line-height:1.5em;  }/* Profile----------------------------------------------- */#profile-container {  margin:0 0 1.5em;  border-bottom:1px dotted #444;  padding-bottom:1.5em;  }.profile-datablock {  margin:.5em 0 .5em;  }.profile-img {  display:inline;  }.profile-img img {  float:left;  padding:4px;  border:1px solid #222;  margin:0 8px 3px 0;  }.profile-data {  margin:0;  font:bold 78%/1.6em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;  text-transform:uppercase;  letter-spacing:.1em;  }.profile-data strong {  display:none;  }.profile-textblock {  margin:0 0 .5em;  }.profile-link {  margin:0;  font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;  text-transform:uppercase;  letter-spacing:.1em;  }/* Footer----------------------------------------------- */#footer {  width:660px;  clear:both;  margin:0 auto;  }#footer hr {  display:none;  }#footer p {  margin:0;  padding-top:15px;  font:78%/1.6em "Trebuchet MS",Trebuchet,Verdana,Sans-serif;  text-transform:uppercase;  letter-spacing:.1em;  }  </style></head><body><div id="header">  <h1 id="blog-title">    <ItemPage><a href="<$BlogURL$>"></ItemPage>	<$BlogTitle$>	<ItemPage></a></ItemPage>  </h1>  <p id="description"><$BlogDescription$></p></div><center><embed src="http://w67.photobucket.com/widgets/BucketStrip.swf" quality="high" bgcolor="ffffff" width="400" height="100" name="BucketStrip"  align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="url=http://w67.photobucket.com/albums/h286/francheskab/&name=TheLYFE"></embed> <center><!-- Begin #content --><div id="content"><!-- Begin #main --><div id="main"><div id="main2"><div class='adsense' style='text-align:center; padding: 0px 3px 0.5em 3px;'><script type="text/javascript"><!--google_ad_client="ca-pub-6095655127827204";google_ad_width=234;google_ad_height=60;google_ad_format="234x60_as";google_ad_type="text";google_color_border="000000";google_color_bg="000000";google_color_link="AADD99";google_color_url="AADD99";google_color_text="777777";//--></script><script type="text/javascript"  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div><Blogger>    <BlogDateHeader>  <h2 class="date-header"><$BlogDateHeaderDate$></h2>  </BlogDateHeader>         <!-- Begin .post -->  <div class="post"><a name="<$BlogItemNumber$>"></a>         <BlogItemTitle>    <h3 class="post-title">	 <BlogItemUrl><a href="<$BlogItemUrl$>" title="external link"></BlogItemUrl>	 <$BlogItemTitle$>	 <BlogItemUrl></a></BlogItemUrl>    </h3>    </BlogItemTitle>	         <div class="post-body">	<div>      <$BlogItemBody$>    </div>    </div>        <p class="post-footer">      <em>posted by <$BlogItemAuthorNickname$> at <a href="<$BlogItemPermalinkUrl$>" title="permanent link"><$BlogItemDateTime$></a></em>      <MainOrArchivePage><BlogItemCommentsEnabled>         <a class="comment-link" href="<$BlogItemCommentCreate$>"<$BlogItemCommentFormOnclick$>><$BlogItemCommentCount$> comments</a>      </BlogItemCommentsEnabled><BlogItemBacklinksEnabled><a class="comment-link" href="<$BlogItemPermalinkUrl$>#links">links to this post</a></BlogItemBacklinksEnabled></MainOrArchivePage>  <$BlogItemControl$>    </p>    </div>  <!-- End .post -->        <!-- Begin #comments --> <ItemPage>  <div id="comments">	<BlogItemCommentsEnabled><a name="comments"></a>        <h4><$BlogItemCommentCount$> Comments:</h4>        <dl id="comments-block">      <BlogItemComments>      <dt class="comment-poster" id="c<$BlogCommentNumber$>"><a name="c<$BlogCommentNumber$>"></a>        <$BlogCommentAuthor$> said...      </dt>      <dd class="comment-body">        <p><$BlogCommentBody$></p>      </dd>      <dd class="comment-timestamp"><a href="#<$BlogCommentNumber$>" title="comment permalink"><$BlogCommentDateTime$></a>	  <$BlogCommentDeleteIcon$>	  </dd>      </BlogItemComments>    </dl>		<p class="comment-timestamp">    <$BlogItemCreate$>    </p>    </BlogItemCommentsEnabled>	        <BlogItemBacklinksEnabled>    <a name="links"></a><h4>Links to this post:</h4>    <dl id="comments-block">    <BlogItemBacklinks>        <dt class="comment-title">        <$BlogBacklinkControl$>        <a href="<$BlogBacklinkURL$>" rel="nofollow"><$BlogBacklinkTitle$></a> <$BlogBacklinkDeleteIcon$>        </dt>        <dd class="comment-body"><$BlogBacklinkSnippet$>        <br />        <span class="comment-poster">        <em>posted by <$BlogBacklinkAuthor$> @ <$BlogBacklinkDateTime$></em>        </span>        </dd>    </BlogItemBacklinks>    </dl>    <p class="comment-timestamp"><$BlogItemBacklinkCreate$></p>    </BlogItemBacklinksEnabled>		<p class="comment-timestamp">	<a href="<$BlogURL$>"><< Home</a>    </p>    </div></ItemPage>  <!-- End #comments --></Blogger></div></div><!-- End #main --><!-- Begin #sidebar --><div id="sidebar"><div id="sidebar2">      <!-- Begin #profile-container -->   <$BlogMemberProfile$>     <!-- End #profile -->    <ul><MainOrArchivePage>  <h2 class="sidebar-title">Disclaimer</h2>Now let's be real people. I haven't snapped nowone of these pictures. The contents of this siteis strictly my opinion and my depiction of peoplethe way I see it. I will source what I can when I can. Enjoy!! For those of ya'll with an opinion also;hit me up at the bottom of the page. Enjoy!!!    <ul>        <MainOrArchivePage>  <h2 class="sidebar-title">Blogroll</h2>    <ul>         <li><a href="http://cakeandice-cream.blogspot.com/"target="new">Cake and Ice Cream</a></li>         <li><a href="http://crunktastical.blogspot.com/"target="new">Crunk & Disorderly</a></li>         <li><a href="http://news.google.com/"target="new">Google News</a></li>         <li><a href="http://ybf.blogspot.com/"target="new">YBF</a></li>         <li><a href="http://popsugar.com/"target="new">Pop Sugar</a></li>    	  </ul>  </MainOrArchivePage>    <h2 class="sidebar-title">Previous Posts</h2>    <ul id="recently">    <BloggerPreviousItems>        <li><a href="<$BlogItemPermalinkURL$>"><$BlogPreviousItemTitle$></a></li>     </BloggerPreviousItems>  </ul>    <MainOrArchivePage>  <h2 class="sidebar-title">Archives</h2>    <ul class="archive-list">   	  <BloggerArchives>    	<li><a href="<$BlogArchiveURL$>"><$BlogArchiveName$></a></li>	  </BloggerArchives>  </ul>    <MainOrArchivePage>  <h2 class="sidebar-title">The Label Whore</h2><a href="http://photos1.blogger.com/blogger/4258/2758/1600/guccibamboo.jpg"><img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/4258/2758/200/guccibamboo.jpg" border="0" alt="" /></a>Bamboo Gucci Bag can be yours<li><a href="http://gucci.com/"target="new">Here</a></li>Into Designer Handbags and can't quite afford it? Check out <li><a href="http://bagborroworsteal.com/"target="new">Bag Borrow or Steal</a></li><!-- End #profile -->        <MainOrArchivePage>  <h2 class="sidebar-title">Sites I'm Diggin'</h2>         	<li><a href="http://beyonceworld.net/"target="new">Beyonce World</a></li>         <li><a href="http://bluefly.com/"target="new">Blue Fly</a></li>         <li><a href="http://giuseppe-zanotti-design.com/"target="new">Giuseppe</a>         <li><a href="http://eluxury.com/"target="new">E Luxury</a></li>    	<li><a href="http://gucci.com/"target="new">Gucci</a></li>         <li><a href="http://louisvuitton.com/"target="new">Louis Vuitton</a></li>         <li><a href="http://glam.com/"target="new">Glam</a></li>    <ul><br>  <h2 class="sidebar-title">Ms New Beauty</h2>    Coming Soon	  </ul>  </MainOrArchivePage>      <p id="powered-by"><a href="http://www.blogger.com"><img src="http://buttons.blogger.com/bloggerbutton1.gif" alt="Powered by Blogger" /></a></p>  <script type="text/javascript" src="http://embed.technorati.com/embed/nfksbypbs8.js"></script>  <!--  <p>This is a paragraph of text that could go in the sidebar.</p>  -->  </div></div><!-- End #sidebar --></div><!-- End #content --><!-- Begin #footer --><div id="footer"><hr />  <p><!--This is an optional footer. If you want text here, place it inside these tags, and remove this comment. --> </p></div><!-- End #footer --><script language=JavaScript><!--//Disable right mouse click Script//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive//For full source code, visit [url="http://www.dynamicdrive.com"]http://www.dynamicdrive.com[/url]var message="Send me an email, I'd be happy to share";///////////////////////////////////function clickIE4(){if (event.button==2){alert(message);return false;}}function clickNS4(e){if (document.layers||document.getElementById&&!document.all){if (e.which==2||e.which==3){alert(message);return false;}}}if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS4;}else if (document.all&&!document.getElementById){document.onmousedown=clickIE4;}document.oncontextmenu=new Function("alert(message);return false")// --> </script><!-- SiteSearch Google --><form method="get" action="http://www.google.com/custom" target="google_window"><table border="0" bgcolor="#ffffff"><tr><td nowrap="nowrap" valign="top" align="left" height="32"><a href="http://www.google.com/"><img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a></td><td nowrap="nowrap"><input type="hidden" name="domains" value="www.the-lyfe.blogspot.com"></input><input type="text" name="q" size="25" maxlength="235" value=""></input><input type="submit" name="sa" value="Search"></input></td></tr><tr><td> </td><td nowrap="nowrap"><table><tr><td><input type="radio" name="sitesearch" value="" checked="checked"></input><font size="-1" color="#000000">Web</font></td><td><input type="radio" name="sitesearch" value="www.the-lyfe.blogspot.com"></input><font size="-1" color="#000000">www.the-lyfe.blogspot.com</font></td></tr></table><input type="hidden" name="client" value="pub-6095655127827204"></input><input type="hidden" name="forid" value="1"></input><input type="hidden" name="channel" value="3390937391"></input><input type="hidden" name="ie" value="ISO-8859-1"></input><input type="hidden" name="oe" value="ISO-8859-1"></input><input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input><input type="hidden" name="hl" value="en"></input></td></tr></table></form><div class="header">###### ABOUT IT</div><html> <head> <title>Thanks for your comments.</title> </head> <body> <?php $name = $_POST['name']; $comment = $_POST['comment']; $textarea = $name." ".$comment.$textarea; ?> <form action="comments.php" method="post"> <center> <table>  <tr> <td><b>Name:</b></td> <td><input type="text" name="name" width="5" height="5" wrap="on"></td> </tr> <tr> <td><b>URL/e mail:</b></td> <td><input type="text" name="url" wrap="on" overflow="true"></td> </tr> <tr> <tr> <td align="center" colspan="2"><input type="submit" value="Submit Comment"> </tr> </table> </form> <p> <p> <textarea name="textarea" cols="45" rows="10" wrap="on" readonly="true"> </textarea> </body> </html><br><form Method="POST" action="http://www.feedblitz.com/f/f.fbz?AddNewUserDirect">Wanna know what's going down in The Lyfe?Enter your Email<br><input name="EMAIL" maxlength="255" type="text" size="30" value=""><br><input name="FEEDID" type="hidden" value="53936"><input type="submit" value="Subscribe me!"><br>Powered by <a href="http://www.feedblitz.com">FeedBlitz</a></form> <a href="http://www.feedblitz.com/f/?Sub=53936"><img title="Subscribe and get your updates by email" border="0" src="http://www.feedblitz.com/i/f8/53936.bmp"></a><!-- SiteSearch Google --><!-- Site Meter --><script type="text/javascript" src="http://s23.sitemeter.com/js/counter.js?site=s23francheskab"></script><noscript><a href="http://s23.sitemeter.com/stats.asp?site=s23francheskab"target=new"_top"><img src="http://s23.sitemeter.com/meter.asp?site=s23francheskab" alt="Site Meter" border="0"/></a></noscript><!-- Copyright ©2006 Site Meter --><br>©<br> ms.chita inc  </body></html>

Whew! That's a lot of code. -Jonas

Edited by Jonas
Link to comment
Share on other sites

The sidebar shows up at the bottom because you aren't telling it to be anywhere else. The CSS for the sidebar only sets the width and which side clears.I'm not sure specifically why people can't post comments, but you do have a closing body tag, closing html tag, and a new html, head, and body right in the middle of the document. I'm not sure what the browser is doing with that, but I guarantee it's not doing what you expect it to. It's like you pasted an entire html page right in the middle of another one.Also, just a side note. There's no way to stop your users from viewing source code or saving images, or whatever the reason is for capturing right mouse clicks. Anyone can just turn off javascript and right-click as much as they want. All that does is irritate your users.f12.jpg

Link to comment
Share on other sites

ANY SUGGESTIONS FOR ME? AS FAR AS THE WHOLE NEW PAGE BEING INSERTED INSIDE ANOTHER? I'M SO NEW AT THIS. AS FAR AS THE RIGHT CLICK THINGY LOL. THE IDIOTS I KNOW WON'T BE ABLE TO DISABLE THE JAVASCRIPT. TEE HEE :)

The sidebar shows up at the bottom because you aren't telling it to be anywhere else.  The CSS for the sidebar only sets the width and which side clears.I'm not sure specifically why people can't post comments, but you do have a closing body tag, closing html tag, and a new html, head, and body right in the middle of the document.  I'm not sure what the browser is doing with that, but I guarantee it's not doing what you expect it to.  It's like you pasted an entire html page right in the middle of another one.Also, just a side note.  There's no way to stop your users from viewing source code or saving images, or whatever the reason is for capturing right mouse clicks.  Anyone can just turn off javascript and right-click as much as they want.  All that does is irritate your users.f12.jpg

Link to comment
Share on other sites

Well, do a search in the code for "<html". You are looking for the second one. There's one at the top of the page, and one near the bottom, so find the one near the bottom. Remove all of this:

<html> <head> <title>Thanks for your comments.</title> </head> <body>

You include all that code once to start the document, you can't have it anywhere else. So you also have to remove the ending code that shows up twice. Search for "</html" and look for this part:

</textarea> </body> </html><br>

Remove the </body> and </html> tags. Those tags end the document, and since you have more stuff after this, I'm assuming you don't want to end the document yet.Try that and see what happens.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...