HTML - Showing Code In Post
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.
Similar TutorialsOk 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. Hi, Folks! I'm a newbie.. and have a quick question about where to post a question... This is my FIRST website.. so forgive me if I don't use the correct wording on things. I created a gallery.. and when I click on the pics.. it takes me to an error that says the page can't be found. I would like to link it so that when you click on the pic.. it opens up the pic.. and doesn't take me to that page. Can anyone tell me where I can find out how/where to do this? Thanks so much! Jen www.tattoosbycamel.com 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> 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/. 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 I've seen it done before.. so it is possible to do. And I need to know basically instead of a topic title with text, you'd have an image. I don't think it was just <a href="img"></a> either because I tried that. And yes, I've searched on Google as well.. anyone have an idea? Also on a side note, are we allowed to have sigs on this forum? I'm looking to write a form with input fields which, upon submitting, would post to a specific forum. Now, I'm not sure if this is some kind of javascript trickery or something (I am far from familiar with JS). Here's an example of this page: http://www.violentrevolution.net/e10...y/survey.php?2 Now, what happens upon submitting that forum, the information is posted to a forum where clan members can discuss the application. I'm looking to replicate that function, but I've gone over the code and I can't seem to see the modularity of it (i.e. changing the forum to which it posts). Thanks for any help in advance. Hello all mates! I am working with my forum trying to properly edit the html for the posts so that they will display any custom script/html of my choice. I want this to appear in ONLY the first post in every thread. I am also trying to find out how to make a bot that automatically posts another second post in every thread, with my own custom scripts/html. At the moment I am trying to add some adsense ads this way. What I am looking for is two things: 1 - How to get the adsense ad aligned to either right or left of the text within the first post. 2 - How to get an adsense bot autopost an ad as post number 2 in any thread (including being applied to all threads already existing) I am using IPB3. I previously used Adsense Bot for IPB2, and that worked fine, but it is not supported for IPB3. It uses the Universal Mod Installer, and in IPB3 there is a new "hook" feature to ass custom mods etc, but I do not know how to alter the code for the Adsense Bot to work with IPB3 so I am trying to get it done from scratch by adding codes directly into the templates. If anyone know how to configure / modify the old Adsense Bot to work with IPB3 that would be great of course, so I am attaching it here just in case someone wants to take a look at it and its documentation and scripts. But primarily I am looking for the two mentioned features, one is how to get the script running in ONLY the first post of every thread - at the moment I got it running, but it is global and implements into all posts not only the first. I also have figured out how to make a script appear, such as an ad, between posts, but not after ONLY the first post, nor how to make a bot that posts a post just like any member, which is what I am really looking for when it comes to that part. This is the code I have entered into the topicViewTemplate in Topic View: Code: {parse template="aip" group="topic" params="$post"} <div style="display:block;float:right;margin: 0px 10px 0px 0px;"> <script type="text/javascript"><!-- google_ad_client = "pub-3737464431076938"; /* forum posts large recnt */ google_ad_slot = "6548059149"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> This works perfectly for adding my desired custom script embedded within the posts. The problem is that it gets embedded in ALL posts and not only the first as I would want. Here is a link to my forum for an example on how it looks: http://www.conspiraciesforums.com/fo...ic/3-atlantis/ I know I have to edit/add some code regarding post counts etc to configure it to only affect the first post - my question is how to do that? And as seen, the second post shows the ad as well, here I would want a bot to post a post containing another ad - between the first and third post of every thread (which will be standard members posts). I have messed my brain with this for more than a week now trying different things, looking around at forums, googling, trying scripts and so on, mods etc, but as of yet have not found the solution to these things for IPB3. Any help here would be extremely greatly appreciated and I'll buy you a beer if you're ever around my part of the world! :p Thanks and bless you! -M 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??? Hi All, I have got an issue where my images are not showing when debugging the site, every time i place a new image i make sure the path to that image is correct i then check in design view and i can see the image but when i launch the site the images do not show? Could this be down to my browser? Any ideas or suggestions would be highly appreciated. HTML Code: <table width="930" border="0" cellpadding="0" cellspacing="0" style="background-color: #FFC700"> <tr valign="middle"> <td width="120" align="left"> <img src="/images/HeaderLeft.jpg" width="14" height="30" border="0" alt=""> </td> <td width="17" align="left" valign="middle"> <img src="C:\Users\Scott\Documents\Visual Studio 2010\Images\Arrow" width="34" height="13" border="0" alt=""> </td> <td align="left"> <a href="/Home.aspx" class="WhiteMedium"><b>Home    </b></a> </td> <td width="17" align="left" valign="middle"> <img src="C:\Users\Scott\Documents\Visual Studio 2010\Images\Arrow" width="34" height="13" border="0" alt=""> </td> <td align="left"> <a href="/html/LoginReminder.aspx" class="WhiteMedium"><b>Existing Customers</b></a> </td> <td width="17" align="left" valign="middle"> <img src="C:\Users\Scott\Documents\Visual Studio 2010\Images\Arrow" width="34" height="13" border="0" alt=""> </td> <td align="left"> <a href="/html/HowItWorks.aspx" class="WhiteMedium"><b>How It Works</b></a> </td> <td width="17" align="left" valign="middle"> <img src="C:\Users\Scott\Documents\Visual Studio 2010\Images\Arrow" width="34" height="13" border="0" alt=""> </td> <td align="left"> <a href="/html/FAQ.aspx" class="WhiteMedium"><b>FAQ    </b></a> </td> <td width="17" align="left" valign="middle"> <img src="C:\Users\Scott\Documents\Visual Studio 2010\Images\Arrow" width="34" height="13" border="0" alt=""> </td> <td align="left"> <a href="/html/AboutUs.aspx" class="WhiteMedium"><b>About Us  </b></a> </td> <td width="17" align="left" valign="middle"> <img src="C:\Users\Scott\Documents\Visual Studio 2010\Images\Arrow" width="34" height="13" border="0" alt=""> </td> <td align="left"> <a href="/html/ContactUs.aspx" class="WhiteMedium"><b>Contact Us</b></a> </td> <td width="120" align="right"> <img src="/images/HeaderMenuRight.jpg" width="14" height="30" border="0" alt=""> </td> </tr> </table> Its the arrow image that isnt showing, iv got the same issue with my Header picture aswell. And yes im aware this is alot easier in CSS but im currently learning that at the moment. Thanks Hi, guys. Both new to forums and HTML, but learning fast! I'm currently working on a project, got design and everything ready, and I have created all <div-tags> that I need. I now have a problem with pictures now showing up as I want them. I have created a graphic element for example, with squares on the bottom of the page, and the file is saved as .png, with an opacity. When I specify which file it is in the CSS file, pictures won't show up. Might it be cause the file has an opacity on the direct graphic, and if so; is it possible to set opacity in the HTML.code, or do I need to start with PHP too? Cheers, Hello All, I am a nubie to HTML. On this website: http://www.shareselfhelp.org/ After the first "Get Free Monthly Meeting Directory by Email" The E shows up. But on the second: "Get Free Monthly Meeting Directory by Email" The E is not visible. It is there, I can click on it. Right next to the word Email. If I click on it and hold the button down, I can see the little square dotted line box, outlining the image, but I can't see the image. Thanks in Advance, Laurence Why in IE do my images not appear...? Everything seems ok in FF and safari. www.ameliajohnstone.com All I get is small blue boxes. thx I have a table that is set to overflow:auto with a width less then the content in the table. In Firefox, the table is the correct width and has a scrollbar. In my most hated application, IE7, there is no scrollbar and the content goes out of the width set. I think is this has to do with the absolute positioning I am using but not sure. I actually can't get the scrollbar to work on any of my divs in IE7 but again, they appear perfectly in Firefox. Here is the code which I am using in MySpace. .friendSpace{display:inline; top:830px; left: 50%; position:absolute; margin-left: -400px; height:900px; width:250px; overflow:scroll} .friendSpace table{visibility:visible; color:000000; background-color:cccccc; width: 250px} you can see what I am talking about at www.myspace.com/spencespencer. I'm in a computer science class in college, and we've been using python for our coding, but we've recently started to use html to create web based applications, with python. We're also using google's app engine for assistance. I've recently downloaded a free template to make my website look better, and this came with the html, and the css. When I load my website it seems to be taking all the formatting from the css, but not the images. So basically it is nice text and format with no images. I'm not sure what's wrong, the css is being referenced in the .yaml, as well as my images folder. I'm not sure what you guys would want to see from the code, but if you need to see anything please ask! Thanks in advance for any help. 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! I'm a complete newbie I have been told to edit a script in html editor on line No. 235. I put the script into an editor and it fills the page as one big paragraph and not in a line format. Is this a common thing Can it be changed? Neil 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! |