HTML - Stupid Post
So my post got deleted.... If you post something not up to standards do they just take it off?
Im guessing this one lasts 2 minutes Similar TutorialsHi folks, I was wondering if any of you kind folks might be able to assist. This code was written with seamonkey, composer. I am dammed if I can get the table to center, on the page. Hope you folks can help. see attached ok i'm abit confused on y my link works in IE but not firefox. i went to validate my code and it is valid. http://validator.w3.org/check?uri=ht...sasylum.com%2F http://necrosasylum.com <<< thats the page Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" > <title>Necro's Asylum</title> <style type="text/css"> body {margin:0px; color:#000; font-weight:bold;} #bg_image { width: 100%; height: 100%; left: 0px; top: 0px; position: absolute; z-index: 0; } #contents { width: 100%; height: 100%; z-index: 1; position: absolute; } </style> </head> <body> <div id="contents"> <center> <form method="get" action="http://www.google.com/search"> <input type="text" name="q" size="22" maxlength="255"><input type="submit" value="Google Search"> </form> </center> </div> <div id="bg_image"> <a href="http://necrosasylum.com/Asylum/news.php/"><img src="enter.gif" alt="Necro's Asylum" border="0" style="width: 100%; height: 100%;"></a> </div> </body> </html> anyone got any idea why it don't work in firefox? Website is Here Ok, so I'm trying to get the text near the picture with the old guy with the roses padded a little. I tried adding "padding: 2px;" to the css but that doesnt work...Can someone look at my css and figure it out? Im stuck! -Thanks h1.ripway.com/heerog I just started and am already having a problem...The image 'top.jpg' isn't repeating along the x-axis...Need help URGENTLY- tyvm peoples OK, have made websites before, but NEVER used frames . The website looks and works great in the "Preview in Browser" view. It has 3 frames. A header (top), navigation (left) and content (right). The navigation properly shows content on the right content side. My problem is this: When uploaded, the page (index2.html) is only showing ONE of the three frames (it varies which one shows, but typically the header), and it changes the name of the page in the browswer to header.html (or whichever frame it chooses to show). How do I fix this to where ALL THREE frames show at once? Sorry for the stupid question--the part I thought would be the simplest has turned out to be the biggest pain in the butt! I've juggled code and tried using Inline Frames--same problem. This has been going on for three days now! SO FRUSTRATING! Clearly, it's just a mental block and I am probably missing something really simple. If someone could help me, I would greatly appreciate it! Thanks, Melanie I see this in other pages <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> What is it and do I need it in mine? Hi. I was wondering if there were any generous souls in this forum that could help me out? I am new to HTML (et al) and am trying to test something here at work. I need to try and identify all the tags\attributes that might contain a URL (absolute path - Eg. http://mycompany.com ...). I am aware that links in HTML contain an href attribute. So I think I am all set there. However, there are other attributes that I might not be aware of. For example, an external javascript file etc. I believe that CSS, XML (et al ???) might also contain absolute URLs. I am just not sure if that's true or not. Would anybody be able to come up with a list of of languages and tags\attributes that might contain a URL. Or point me to a source that would have a consise list (versus having me spend a week researching all the possibilities). Thanks in advance. Sorry if this is a major PITA. 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 OK this is by no means a major problem. It's more of an annoyance. On my login script I have a basic form for logging in. Fire fox and IE will keep my login information for me when I get to the login page. The issue is that when the page loads my user name field will be blank however my email and password fields will have my info in it. On any other site I use, I would get the user name and email fields with my info and the password field blank. That's the way it should be. Below you will find a snipit of the code, There has to be something I'm missing. Thanks for your help! Code: <form action="index.php" method="post" name="user_login"> <tr> <td class="formNames" align="right" valign="middle" width="50%"> User Name: </td> <td align="left" valign="middle" width="50%"> <input class="formText" name="user_name" type="text" size="20" maxlength="35" value="<?php echo $user_name; ?>" /> </td> </tr> <tr> <td class="formNames" align="right" valign="middle"> Email Address: </td> <td align="left" valign="middle"> <input class="formText" name="email" type="text" size="20" maxlength="35" value="<?php echo $email; ?>" /> </td> </tr> <tr> <td class="formNames" align="right" valign="middle"> Password: </td> <td align="left" valign="middle"> <input class="formText" name="password" type="password" size="20" maxlength="25" /> </td> </tr> <tr> <td colspan="2" align="center"> <input class="submitButton" type="submit" value="Submit" name="enter" /> </form> </td> </tr> Thanks again!! Regards Guyzer Hello, I am facing a weird problem in IE which is not happening with other browsers. Open the following website: http://www.clinicasdefertilidadenlima.pe/ You will see 3 combo boxes on this page displaying "Lima". Click on any combo and select any other value like Lima or Arequipa. Page will refresh but now combo will not show selected value which should always be "Lima" (I have hard coded it) If you take a look at the HTML source then it's a simple combo box and I have even defined selected="selected" for "Lima" value but in IE it only displays selected value when you open home page. After that it doesn't show value when you select value from combo box. I am using IE9. Here is the combo box I am talking about: HTML Code: <select id="city_id" name="city_id" class="f2_city" onchange="redirect(this.form)"> <option value="" selected="selected">LIMA</option> <option value="LIMA">LIMA</option> <option value="Arequipa">Arequipa</option> </select> Thanks Can anyone tell me why the first link works and the second one doesn't? The second link has been working fine for several years until today. http://www.tcm.com/schedule/index.js...zone=CST&cid=N http://www.tcm.com/schedule/index.js...zone=CST&cid=N Yes, I realize the first link has today's date. However, in the past, the second link has taken me straight to the correct page. Now I get the following message: Bad Gateway The proxy server received an invalid response from an upstream server. Did the site change a setting on their software? Any information or guidance you can provide will be greatly appreciated. Tom nevermind i found out why Hello everyone! I've scoured around for a bit looking for an answer to a stupid question without success, so I'll pose it here. Currently I am working on a bit of Java code that prints out a document in XHTML 1.0 Strict Transitional. The document displays a formatted list of stock information. What I want is an <option> drop down list with the days of the week, and upon clicking on one of those days, the page automatically refreshes to show the stocks for that day. So very simple, I need for the page to change to a different .html file in the same directory onmouseup, I believe the action is. Here is my .java code, for those interested: Code: import java.util.*; import java.lang.*; import java.io.*; import java.text.DecimalFormat; public class Portfolio { public static ArrayList<String> stocks = new ArrayList<String>(); public static DecimalFormat fmt = new DecimalFormat("0.##"); public static int tot = 0; public Portfolio(){} public static void main(String[]args) throws IOException { stocks.add("APPL 5.67 3"); stocks.add("DFG 54.87 78"); stocks.add("DGSF 93.62 5"); printPortfolio(stocks); } public static void printPortfolio(ArrayList<String> strar) throws IOException { String stockName = new String(); double stockVal = 0.0; int numShares = 0; StringTokenizer st; stocks = strar; PrintWriter out = new PrintWriter("Portfolio.html"); out.println("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN"); out.println("http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"); out.println("<html xmlns=\"http://www.w3.org/1999/xhtml\">"); out.println("<head>"); out.println("<title>User's JSMS Stock Portfolio</title>"); out.println("</head>"); out.println("<body>"); out.println("<img border=\"0\" src=\"ball16.gif\" width=\"29\" height=\"28\" alt=\"Ball\">"); out.println("<pre>"); out.println("STOCK NAME PRICE SHARES OWNED TOTAL"); out.println("---------- ----- ------------ -----</br>"); for(String str : stocks) { st = new StringTokenizer(str); stockName = st.nextToken(); stockVal = Double.parseDouble(st.nextToken()); numShares = Integer.parseInt(st.nextToken()); if(numShares > 0) { String SN = new String(); int nShares = 0; double price = 0; st = new StringTokenizer(str); SN = st.nextToken(); int numS = 25 - SN.length(); out.print(SN); //inserts # of spaces after data based upon data string length while(numS > 0) { out.print(" "); numS--; } price = Double.parseDouble(st.nextToken()); out.print("$" + price); double tumS = 18.0 - (Double.toString(price).length()); //inserts # of spaces after data based upon data string length while(tumS > 0) { out.print(" "); tumS--; } nShares = Integer.parseInt(st.nextToken()); out.print(nShares); numS = 19 - (Integer.toString(nShares).length()); //inserts # of spaces after data based upon data string length while(numS > 0) { out.print(" "); numS--; } out.println("$" + fmt.format(nShares*price) + "</br>"); tot += Double.parseDouble(fmt.format(nShares*price)); } } out.println("--------------------------------------------------------------------"); out.println("Stock Portfolio Net Worth : " + "$" + fmt.format(tot) + "</br>"); out.println("</pre>"); out.println("<p>"); out.println("Please Choose a Day:"); out.println("<br /><br />"); out.println("<select name=\"day\">"); out.println("<option selected=\"selected\">Monday</option>"); out.println("<option>Tuesday</option>"); out.println("<option>Wednesday</option>"); out.println("</select>"); out.println("</p>"); out.println("</body>"); out.println("</html>"); out.close(); } } At the bottom you can see a simple option list. This is the one that I want to be the day-chooser. In many of the places I've looked it talks about passing the value of the choice to a server. This is not my intention. I am thinking, possibly stupidly, that I can store the value of the choice in a variable and then in javascript have the page refreshed to the corresponding .html file in the directory. If this is the case, example code would be very much appreciated haha. Thank you! Please tell me that when i use any unordered list in html page so it shows me bullets but I need that the content after list should be little bit away from bullet so that I used to make some distance between bullets & contents but when content is more than one line then it shows me all line content except first line content of that list. so please tell me that is there margin setting so that when I will set the margin then the content of every line of the list will look at certain distance. OK I am reposting this cause I am having major issues...I would like to make it that for the purpose of ONLY A Halloween Page-that when the user of my website clicks ANYWHERE on my webpage it makes a scream noise...I have tried Google and keep finding where they must click a link or hover over a small box...I want it to be where they must CLICK anywhere... on my previous post-someone posted A Flash alternative-which after messing with for 2 hours-i could not figure out... hello, I am having a problem with some rollover graphics... the file works fine when I view on my local system, but once I upload to the server, the rollovers dont work anymore? I have no idea why... here is a link to the page: http://www.tryfluid.com/keepit/index.html I created the main navigation panel in fireworks. I then cut and paste the info into my site. Here is a link to the actual file that fireworks created: http://www.tryfluid.com/keepit/ARTheader_noSlice.html I am very new to fireworks, I used to use Imageready but recently upgraded to CS4 and Imageready has been discontinued. I can't figure out why the rollovers don't work once I upload the files... any help would be greatly appreciated... Thanks! Allen Hello, I've got a few questions to do with CSS, now I use it in my code!: 1. Is it ok to use minus in your margins? margin-top:-10px; 2. If not, then how do you keep your things on the same line? Please help! Thanks, ToshNeox To HTML staff, This fake account is pm'ing me AD's and probably other members as well. Thanks, -Aanders5 I'm trying to add some buttons at the end of every post and this is the code I was given:
Code: <a expr:href='"http://www.yardbarker.com/author/new?pUrl=" + data:post.url + "&pHead=" + data:post.title' target='_blank'><img src='http://www.yardbarker.com/images/extern/bark_wide.gif' style='border: 0; padding: 0 0 0 15; vertical-align: bottom;'/></a> <a expr:href='"http://ballhype.com/post/url/?url=" + data:post.url + "&title=" + data:post.title'><img alt='BallHype: hype it up!' height='22' src='http://images.ballhype.com/img/hype/button_96x22.png' width='96'/></a> I tried to paste that in after the line: " <div class='post-footer-line post-footer-line-3'/>" but it keeps showing me an error. I'm using a blogger blog by the way. Thanks for any help you can give. I forgot to mention the site is http://notqualifiedtocomment.blogspot.com/ |