HTML - A Code For Bloggers Showing Date Posted
I use blogger for my blog. Unfortunately, it does not give me the option to post the time AND date on every post, only one or the other. I chose to post the date, but I also want to know if anyone knows of an HTML code that can show the date the post was posted.
If needed, my blog is http://www.freebie-link.com/. Similar TutorialsGreetings all, i have a site that i've tested on my servers, and everything looks great in IE, FF, Eudora, etc... but then when i post it to the client's server, it appears fine in IE, but in FF (through Netscape), it gets these funny characters everywhere (see attached). Like 'A's w/ carats over them at the spaces and such... i don't know if this is something correctable in my code, or if it's a difference in hosting environments. Any insight would be greatly appreciated... and just for reference, this is the encoding at the top of each page in case it matters: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> TIA Hi, I just changed my template using one of the top 20 from blogbuster.com. Anyways, now that I have changed it, the time i posted is showing as "undefined, undefined" I'm not very good with html so I'm not sure what I should do. Can anyone help me? My blog is at readerrabbit.blogspot.com Thank you. Html coding :The html coding for the layout is : <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http:// www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/ data' xmlns:expr='http://www.google.com/2005/gml/expr'> <head> <b:include data='blog' name='all-head-content'/> <title><data:blog.pageTitle/></title> <b:skin><![CDATA[/* /* Theme Name: CreativeArt Theme URI: http://freethemelayouts.com/ Description: Designed by <a href="http://freethemelayouts.com">FTL</ a>.<br> This work is licensed <a href="http://creativecommons.org/ licenses/by-sa/3.0/">Creative Commons Attribution-Share Alike 3.0 License.</a> This means you may use it and make any changes you like. However, credit links must remain on footer for legal use. Version: 1 Author: FreeThemeLayout/DreamTemplate Author URI: http://www.freethemelayouts.com/ */ body { background: #dde4dc url(http://i425.photobucket.com/albums/ pp336/creativeartimages/bg.gif) center; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 12px; padding: 0px; margin: 0px; color:#35383d;} html { padding: 0; margin: 0;} a:link { text-decoration: none; color : #9f974b; border: 0px; -moz- outline-style: none;} a:active { text-decoration: underline; color : #9f974b; border: 0px; - moz-outline-style: none;} a:visited { text-decoration: none; color : #9f974b; border: 0px; -moz- outline-style: none;} a:hover { text-decoration: underline; color : #7f262e; border: 0px; - moz-outline-style: none;} a:focus { outline: none;-moz-outline-style: none;} .clr { clear:both;} h1, h2, h3, h4 {font-family: "Trebuchet MS", Arial, Helvetica, sans- serif;} img { padding: 0px; margin: 0px; border: none; text-align: center;} hr { border-left:0px solid #7f262e; border-right:0px solid #7f262e; border-top:0px dotted #7f262e; border-bottom:1px solid #7f262e; height : 1px; } form { padding: 0px; margin: 0px;} input { font-family: 'Verdana'; color: #282b31; font-size: 11px;} textarea { font-family: 'Verdana'; color: #282b31; font-size: 11px;} select { font-family: 'Verdana'; color: #282b31; font-size: 11px;} #bgcontainer { width: 1000px; margin: 0 auto; padding:0; background:url (http://i425.photobucket.com/albums/p...ages/right.jpg) no-repeat top right;} /* Header +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++ */ /**/ * html .Header { height: 158px;} /* */ .Syn { height:110px; width:119px; background: url(http:// i425.photobucket.com/albums/pp336/creativeartimages/rss.jpg) no-repeat right; float:left;} .Syn ul { margin: 0px; padding: 50px 0px 10px 0px;} .Syn li { margin: 0px 5px 0px 0px; padding: 0px 10px 0px 20px; list- style-type: none; font-size: 9px; color:#c5793d; font-weight: normal;} .Syn li a {color:#c5793d; } .Syn li a:visited {color:#c5793d; } .Syn li a:hover {color:#81292e; } .Header { width: 840px; position:relative; height: 158px; background:url(http://i425.photobucket.com/albums/pp336/ creativeartimages/hed_t.jpg) no-repeat right bottom;} .Logo { float: left; background: url(http://i434.photobucket.com/ albums/qq62/gosuimages/1111log.jpg) no-repeat; width: 310px; height: 158px;} .Header .LogoText h1 { font-size:50px; line-height:55px; letter- spacing:-2px; padding:53px 25px 0 0; margin:0; font:bold 28px Arial, Helvetica, sans-serif; text-align:right;} .Header .LogoText a { color: #fffcd3; text-decoration:none; width: 310px; height:158px;} .Header .LogoText a:visited { color:#fffcd3; text-decoration:none; } .Header .LogoText a:hover { color:#fffcd3; text-decoration:none; } .Header .Desc { color:#eeede5; line-height:14px; font:bold 14px Arial, Helvetica, sans-serif; padding:5px 10px 0 0; margin:0; text- align:right;} /* Menu +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++ */ .Menu { padding: 0px 0px 0px 0px; float: left;} .Menu em { display: none;} .Menu ul { list-style: none; margin: 0px; padding: 0px;} .Menu ul li { padding: 0px; margin: 0px; display: inline; float: left; } .Menu ul li a { padding: 0; margin:0; outline:0; line-height:0;} /* Container ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++ */ .CON { width: 840px; padding:0px; margin:0; } /* Side Central +++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++ */ .SC { width: 507px; float: right; background:url(http:// i425.photobucket.com/albums/pp336/creativeartimages/bl_bg.gif);} .head_bg { background: url(http://i425.photobucket.com/albums/pp336/ creativeartimages/b_bg.jpg) no-repeat top;} .foot_bg { background:url(http://i425.photobucket.com/albums/pp336/ creativeartimages/b_bot.jpg) no-repeat bottom; padding: 10px; min- height:696px;} .pagetitle { font-size: 24px; line-height: 24px; font-weight: bold; letter-spacing: -1px; border-bottom: solid 1px #d0c1c1;padding: 15px 0px; margin-top: 0px; color:#303030;} /* Post +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++ */ .Post { padding: 10px 0px;} .PostHead { border:0; padding: 5px; } .PostHead h2 { font-size: 24px; letter-spacing: -1px; font-weight: normal; padding: 0px 0px 10px 10px; margin: 0px; color:#303030; background:url(http://i425.photobucket.com/albums/pp336/ creativeartimages/line.gif) no-repeat bottom;} .PostHead h2 a { color: #303030; text-decoration: none;} .PostHead h2 a:visited { color: #303030; text-decoration: none;} .PostHead h2 a:hover { color:#303030; text-decoration: underline;} .PostHead h3 { font-size: 14px; line-height: 14px; font-weight: bold; padding: 0px; margin: 0px; color:#000033;} /**/ * html .PostTime { } /**/ .PostTime { padding: 3px 0px 3px 20px; margin: 5px 0px; color:#6699ff; background:url(http://i425.photobucket.com/albums/pp336/ creativeartimages/nt_l.gif) no-repeat left; line-height: 18px; } .PostTime strong { font-weight: normal; font-size: 14px;} .PostTime .day { font-size: 14px;} .PostTime .month { font-size: 14px;} .PostTime .year { font-size: 14px;} .PostHead small {padding:3px 10px 3px 0px; margin: 0px; font-size: 14px; line-height: 18px; font-weight: normal;} .PostAuthor { color:#5c6f6c; } .PostCat { color:#5c6f6c; background: #dbd9c6 url(http:// i425.photobucket.com/albums/pp336/creativeartimages/nt_r.gif) no- repeat right; padding:3px 10px 3px 0px; } .PostCat a { color:#7f262e; text-decoration: none; } .PostCat a:visited { color:#7f262e; text-decoration: none; } .PostCat a:hover { color:#7f262e; text-decoration: undreline; } .PostContent { padding: 10px 0px 0px 0px; font-size: 11px; line- height: 1.4em ; color:#303030; font-family:Verdana, Arial, Helvetica, sans-serif;} .PostContent p { font-size: 11px; line-height: 1.4em; color:#303030;} .PostContent p strong {} .PostContent img {} .PostContent ol { padding: 10px 0px 10px 25px; margin: 0px; } .PostContent ol li { padding: 2px 0px 2px 0px; font-size: 12px; line- height: 15px; color:#929292; } .PostContent ul { padding: 5px 0px 5px 25px; margin: 0px; } .PostContent ul li { padding: 2px 0px 2px 0px; font-size: 11px; line- height: 15px; color:#929292; } .PostContent blockquote { padding: 10px; margin: 0px; color:#993366; background: #eaf7ff;} .PostContent blockquote p { font-size: 12px; padding: 0px; margin: 0px; line-height: 15px;} .PostContent blockquote li { padding: 2px 0px 2px 15px; list-style- type: none; font-size: 12px; line-height: 15px;} .PostContent blockquote a { color:#7f262e;} .PostContent blockquote a:visited { color:#7f262e;} .PostContent blockquote a:hover { color:#7f262e; text- decoration:underline;} /**/ * html .PostContent p img {} /* */ .PostContent p img { max-width: 420px;} .PostContent p img { width:expression(this.width > 420 ? "420px" : this.width); } .PostContent img { margin: 0px 10px 10px 0px; float: left;} .PostCom { border-top:1px solid #d3d4ce; padding:10px 0;} .PostCom ul { padding: 0px; margin: 0px;} .PostCom li { padding: 5px 0px 5px 25px; margin: 0px 5px 0px 0px; list- style-type: none; display: inline; color:#2a688c; font-size: 14px; } .PostCom li a { font-weight: normal; text-decoration: underline; color:#7f262e;} .PostCom li a:visited { font-weight: normal; text-decoration: underline; color:#7f262e;} .PostCom li a:hover { font-weight: normal; text-decoration: none; color:#7f262e;} .PostCom .Com { background: url(http://i425.photobucket.com/albums/ pp336/creativeartimages/ct.gif) no-repeat left center; } .PostCom .Tags { padding-left: 0px;} Ok I've run into this a couple different ways. I need to get the code for peoples banners so I can advertise them. But sometimes I cant get the code & its just the banner that is showing up? If I go to properties, it doesnt give me the right code to then reprint the banner on my site? Say for instance here... http://www.supercult.com/site2/banne...urbanners.html There is all of those banners for others to take & post on their sites, yet I dont know how to get the code for any of them to do so? Hello, I went to make a change on someones website. I was using a different program than I normally do. Anyway... for some reason a bunch of the code isn't showing up. Here's the website: https://www.villagetoyshop.com/ I normally just edit the html, but tried using komposer. I edited the code in komposer, but when I uploaded it a bunch of stuff isn't showing up. I can see it when I view source, but can't figure out why it doesn't appear in the browser. The code that isn't showing up is at the bottom and has the hours, contact info, etc... I didn't make the site and was just trying to help, but am not sure what to do. I have some basic web design knowledge, but am not an expert. Any help would be greatly appreciated. Kevin P.S. I just realized there is a page on the server entitled index2.html (http://www.villagetoyshop.com/index2.html). The index.html is suppose to look similar to that. I'm about to post something about DIVs and CSS but I'd want to know how to properly show my code in the post to make it easier for those who'll reply. I made an html web page using mcrosoft word but i can't seem to figure out why it only shows up as code when i preview it or upload it to the web. Is there a small step im missing? I saved the document as .htm and as .txt and i tried to add doctype but i dont know what else i need to do Thanks for the help in advance here my url http://www.myspace.com/come_get_cole and heres the code HTML Code: <style>.profileInfo {display:none;}</style> <style>.friendSpace {display:none;}</style> <style>.latestBlogEntry {display:none;}</style> <style>.extendedNetwork {display:none;}</style> <style>a.text, table div font a, table div div {visibility:hidden;}</style> <style>.contactTable { display: none }</style> <style> .profileInfo td td {visibility:hidden;} .profileInfo td td.text {visibility:visible;} .profileInfo td.text a img {visibility:visible;} .profileInfo .ImgOnlineNow {visibility:transparent;} </style> <p> <center> <style>.a embed, object {filter:alpha(opacity=0.1); opacity:0.01;} td td td td embed, td td td object,td.text embed, td.text object {filter:none; opacity:none;} .interestsAndDetails {margin-top:-120px;}</style> <center> <center> </center> <style>body{background-color:FFFFFF; background-image:url(http://i41.tinypic.com/uvmt2.jpg);} div, li, p, .redtext, .redbtext, td, tr, table, .text{color: 000000; font-size: 11px; font-family: arial; font-weight: none; border: 0px; text-transform: none;} .blurbs{background-color:transparent; border:0px;} .btext, .lightbluetext8, .orangetext15, .whitetext12{color: 000000; font-size: 10px; font-family: arial; font-weight: none; border: 0px; text-transform: uppercase; } textarea {color: 000000; font-size: 7px; font-family: small fonts; font-weight: none; text-transform: uppercase; width: 175px; height: 30px;} table tr td div font{font-family: small fonts; font-size: 8px; color: 666666; padding:0px;text-transform:uppercase}</style> <style> .katamari Section Manager { http://abrax.us/SectionManager } table.profileInfo * {background-color:transparent;} table.profileInfo table, table.profileInfo {width:0px;} table.profileInfo td td.text br {line-height:0px;} span.nametext {font-family:Tahoma!important; font-size:20px!important;} table.profileInfo td td img {display:none;} table.profileInfo td.text img {display:inline;} table.profileInfo td td b {display:none;} table.profileInfo td td span.searchMonkey-mood {display:none;} table.profileInfo td td.text img.ImgOnlineNow {display:none;} </style> <style> .katamari Section Manager { http://abrax.us/SectionManager } .userProfileURL {display:none;} </style> <style> .katamari Section Manager { http://abrax.us/SectionManager } table.interestsAndDetails td.text {display:none;} table.interestsAndDetails span.lightbluetext8 {display:none;} .interestsAndDetails td {width:0px;} table.interestsAndDetails, table.interestsAndDetails td {border:0px;} table.interestsAndDetails table {background-image:url(null);} table.interestsAndDetails table {background-color:transparent;} table.interestsAndDetails td td {background-color:transparent;} </style> <style> .katamari Section Manager { http://abrax.us/SectionManager } table.userProfileDetail {display:none;} </style> <style> .katamari Section Manager { http://abrax.us/SectionManager } table.userProfileSchool {display:none;} </style> <style> .katamari Section Manager { http://abrax.us/SectionManager } table.userProfileCompany {display:none;} </style> <style> .katamari Section Manager { http://abrax.us/SectionManager } table.userProfileNetworking {display:none;} </style> <style> .katamari Section Manager { http://abrax.us/SectionManager } table.blurbs td.text {display:none;} table.blurbs td td span.orangetext15 {display:none;} </style> <style> .katamari Section Manager { http://abrax.us/SectionManager } .bodyContent tr {background-color:transparent;} .bodyContent table div br {line-height:0px;} </style> <style>.clearfix {margin-top: -100px;}</style> <p> <style>.a {MySpaceGens.com - hide your comments} .friendsComments {display:none;}</style> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="350" width="290" align="middle"> <param name="allowScriptAccess" value="never" /> <param name="allowNetworking" value="internal" /> <param name="movie" value="http://static.twitter.com/flash/widgets/profile/TwitterWidget.swf" /> <param name="wmode" value="transparent" /> <param name="quality" value="high" /> <param name="bgcolor" value="#000000" /> <param name="flashvars" value="userID=28942839&styleURL=http://static.twitter.com/flash/widgets/profile/velvetica.xml" /> <embed type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" src="http://static.twitter.com/flash/widgets/profile/TwitterWidget.swf" height="350" width="290" align="middle" wmode="transparent" quality="high" bgcolor="#000000" flashvars="userID=28942839&styleURL=http://static.twitter.com/flash/widgets/profile/velvetica.xml" /> </object> My new webcam server sends a jpg file to my website just fine. But the filename is numeric with a jpg file extension. The webcam server waits the required time and then sends another jpg to my website. The problem is that the numeric file name is different and does not overwrite the existing file like my old webcam server used to do. So I end up with a number if jpg files in the directory with numeric filenames with the jpg extension. I need some code that will load the "latest jpg file" by date and time into my html page. Here is how I used to do it when the pic.jpg file was sent to my site and it overwrote the existing file. <head> <title>Mike's WebCam</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Pragma" content="no-cache"> <script language="Javascript"> <!-- function refreshCam(){ rfsh = new Date() ; rfsh = "?"+rfsh.getTime() document.images["webcam"].src = "pic.jpg"+rfsh setTimeout("refreshCam()", 240000) } //--> </script> </head> <body bgcolor="#ffffff" text="#080000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <b><font size="3" face="Arial"><p align="center">Mike's Webcam</p></font></b> <center><img height="480" alt="The View" src="pic.jpg" width="640" border="0" name="webcam"></center> <script language="JavaScript"> <!-- if( document.images ) refreshCam(); //--> </script> </body> </html> I am hoping that there is a way to load the new numeric filename jpg into my html by selecting the "latest" jpg by date and time stamp. Thanks in advance Mike Hello i want to get values passed from a webpage lets say siteA.html from another page siteB.html without php jsp or any server side language just html and javascript. If you can give an example on how to do this or an overview please do it. Thanks. Hi, I've recently started a website for a game i belong to and i have things like news items and feedback items, but i want my viewers to be able to post their comments on them and maybe leave a rating out of 5 stars or something like that for each item. I have only just recently started learning coding and this is my first site, so i'm not very experienced yet. But i have used a few php bits to create feedback forms, would it need that sort of thing? Or could it be done simply in html or javascript? If anyone knows of any online tutorials which cover this sort of thing i would appreciate it! Yes, I know that an unchecked checkbox not posting is part of the html specifications. I'm just curious if anyone knows why this was desired behavior? If I have a form and I'm processing user input, input textboxes that are left blank yield an empty string. This makes processing them very easy. If I have checkboxes in my form, I have to test for a null value when referencing the checkbox by name prior to assigning or using its value. It would be far preferrable to simply have it submitted with checked="unchecked" (or false, whatever) so that it can be used immediately. Any idea why the "theuploadedfile" input is not displayed when the program comes in after the submit ? PHP Code: <?php print 'Post=<pre>'; print_r($_POST);print '</pre>'; // PROBLEM $_POST['theuploadedfile'] IS NOT DISPLAYED (the text one is) ?> <form enctype="multipart/form-data" action="<?php print $_SERVER['PHP_SELF']; ?>" method="post"> <br>File to upload <input name="status" type="hidden" value="submitted"> <br>A<input name="thetexttype" type="text" size="100"> <br>B<input name="theuploadedfile" type="file" size="100" > <br><input name="submit" type="submit"> </form> Hi, I was trying to get the system date on a form and an excel spreadsheet, but with no success.I am new to the web concept.Any help will be appreciated. Thanks, Visit here and you will notice that right above music licensing, there is a little arrow like this: > My markup is clean, there is no extra closing tag anywhere, its strange. When viewing the source, you will not find it, but in firefox, when you highlight a bit of text around it and click view selection source, this comes up. HTML Code: <h1>Contact</h1> > <table border="0"> <tbody><tr> <td width="375"><h3>Music Licensing</h3> How do I remove it??? Alrighty, I've got div backgrounds that aren't showing up! Some are showing in ie but not in firefox, and some aren't showing anywhere. Here is a screenshot of what I'm experiencing (IE is on the left, firefox on the right) Also, the light blue background around the top nav. should be behind the page content as well (meaning the crappy "multi-monitor mounts" image and the crappier "featured products" text) any help would be appreciated! Thanks Hi, I wanted to know if someone can help me use th right html code to display the proper city for someones IP. I have found this site : http://www.hostip.info/use.html but I dont understand how to integrate it into my html. So I want something like this "hello my name is bob and im from" and thne right after the site displays their city. I know its not always accurate but it doesnt matter, if its off then no big deal but the times its on could be a good selling point. I did a search and found someone else asking something similar long time ago but it didnt really help me as it dealt with php. is Php required to do this? If so how can i do it to integrate it into my html, maybe by putting this section in an iframe of php.... Point is I wouldnt want to redo the whole website in php, considering I dont know php. Thanks! I am working on the site rachelsnotary.com and I cannot get the images in 6 of the divs to show up. The other ones all look fine and work fine, but those couple dont work in IE (they do work in firefox though). Any advice? Its probably best to look at the site to see what I am talking about. thanks in advance! My pics are not showing up on one of my pages? Can anyone help me out? Thanks! Here is the link: http://www.adiktedapparel.com/LINESHEET.html Bill www.adiktedapparel.com Hey everyone... Adding a favicon to my site seemed easy and it works when I preview my page through Dreamweaver in Firefox (not Explorer though), but when I uploaded everything to my site, it doesn't actually appear in the browser. Here is the code I'm using: <link rel="Shortcut Icon" type="image/x-icon" href="favicon.ico"> I placed it below the <title> and inside the <head> tags. I have the .ico file in my root directory and everything seems to be spelled right. Any ideas why it doesn't work? Thanks. |