Jump to content

Search the Community

Showing results for tags 'html'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 824 results

  1. Hello Everyone, I am having difficulty getting a CSS background image to display properly in webkit browsers (Chrome, Safari), but it displays as intended in Firefox, IE9, and Opera. The site in question is: http://www.gnosisstudios.com In the upper right hand corner there is a folder looking tab that says "Contact Us". The "Contact Us" tab is inside a div that should align directly with the div above it as I have not entered any margins or padding. However in Chrome and Safari there seems to be a padding of about 25 pixels between the div above it and the tab itself. This began displaying incorrectly after I added a reCaptcha to the contact form that is revealed when you click the "Contact Us" tab. After looking through my code and the CSS I can't find a reason as to why the gap would be appearing in Chrome and Safari, as it displays perfectly as intended in Firefox, IE9, and Opera. I have tried making the padding and margins 0 for the div around the tab, as well as the div above it, but to no avail. Any help would be much appreciated! Thanks! -Jordan
  2. Hi! I have a code where I populate the drop down list base on one of the columns in my database. It already display but the value of the chosen list did not affect my mysql query. Now I wanted to ask how I can put the value of the list to my mysql query.This is my code: <?php// db connection$db = "mds_reports";[/indent]if($connect = mysql_connect("172.16.8.32", "mds_reports", "password")) $connect = mysql_select_db($db); else die("Unable to connect".mysql_error());$date_from = $_POST['dfrom'];$date_to = $_POST['dto'];?><html><head><title>Cancelled Orders </title></head><body> <h1>Cancelled Orders</h1> <form name="cancelled_orders" method="POST" action="cancelled_orders_index.php"> Date From: <input type="text" name="dfrom" id="dfrom"> To: <input type="text" name="dto" id="dto"><br /><br /> <?php $i = $_POST['name']; $result_query = mysql_query ("SELECT name FROM restaurant_master") or die (mysql_error()); echo "<select name='name' value=''>Restaurant Name</option>"; $i=1; while($nt=mysql_fetch_assoc($result_query)) { echo "<option selected value='$i' > $nt[name] </option>"."<BR>"; $i++; } echo "</select>"; ?> <input name="submit" type="submit" value="Go"> </form> <table> <table border="2" cellpadding="2" cellspacing="1" style='width:100%;'> <tr> <th>Restaurant Code</th> <th>Restaurant Name</th> <th>Order No</th> <th>Order Source</th> <th>Payment Type</th> <th>Net Total</th> <th>Gross Total</th> <th>Reason</th> </tr> <?php if(isset($_POST['submit'])){ echo "Date select from $date_from to $date_to"."</p>"; echo "Restaurant: $i"."</p>"; $sql = "Select restaurant_master.code, restaurant_master.name, mds_orders.OrderNo, mds_orders.OrderSourceText AS 'Order Source', mds_orders.PaymentTypeText AS 'Payment Type', mds_orders.NetTotal, mds_orders.GrossTotal, ReasonMaster.ReasonDescription AS 'Reason' FROM mds_orders INNER JOIN ReasonMaster ON mds_orders.ReasonFKID = ReasonMaster.PKID INNER JOIN restaurant_master ON mds_orders.RestaurantID = restaurant_master.pkid WHERE mds_orders.OrderDate BETWEEN '".$date_from." 00:00:00' AND '".$date_to." 23:59:59' AND mds_orders.RestaurantID LIKE '$i' AND mds_orders.StatusFKID = 3 ORDER BY restaurant_master.code"; echo $sql; $result = mysql_query($sql) or die("Error: ".mysql_error()); $num_rows = mysql_num_rows($result); $i = 0; if (mysql_num_rows($result) >0) { while ($row = mysql_fetch_array($result,MYSQL_ASSOC)){ $csv .= $row['code'].",". $row['name'].",". $row['OrderNo'].",". $row['Order Source'].",". $row['Payment Type'].",". $row['NetTotal'].",". $row['GrossTotal'].",". $row['Reason'].","."<br>"; ?> <tr> <td><?php echo $row['code'];?></td> <td><?php echo $row['name'];?></td> <td><?php echo $row['OrderNo'];?></td> <td><?php echo $row['Order Source'];?></td> <td><?php echo $row['Payment Type'];?></td> <td><?php echo $row['NetTotal'];?></td> <td><?php echo $row['GrossTotal'];?></td> <td><?php echo $row['Reason'];?></td> </tr> <?php }}} ?> </table><br /> <form name="export" method="POST" action="cancelled_orders_export.php"> <input type="hidden" name="cancel_dfrom" id="data" value="<?=$date_from?>"> <input type="hidden" name="cancel_dto" id="data" value="<?=$date_to?>"> <input type="hidden" name="cancel_name" id="data" value="<?=$name;?>"> <input type="submit" name="extract" value="Extract"> </form></body></html> Thanks and best regards.
  3. So I have a page which is basically video and chat. I want it to be chat 1 - video - chat 2. I believe this is possible. Here's some of my coding: <frameset cols="0" border="0" framespacing="0" frameborder="0"> <frameset cols="*,25%"> <frame name="maincontent" src="player.html" scrolling="no" target="_self"> <frame name="rbottom" src="chat.html" target="_self"></frameset><noframes></noframes> That's the main meat of my index. My video which is "maincontent" or "player.html" is all the left of my page with my chat being on the right, 25% from the scroll bar towards the center like so "[ ] []" I want two chats, basically like this: "[] [ ] []" What can I do?
  4. Hello - I am completely new to the world of HTML but need some help with what I'm hoping will be a very simple solution. Advanced conditional formatting in Crystal Reports requires some HTML code to be added. In a nutshell I am trying to make the word 'Fox' appear in red, bold font with a yellow background - the word fox is just one word that will appear in a whole text string. I currently have the following code that produces the text in red and bold but I cannot get the yellow background to work. Some of the syntax below may appear weird but that may just be the Crystal requirement. Hope this makes sense? StringVar SearchText := "fox";StringVar Htm1 := "<b><font color='red'>";StringVar Htm2 := "</font>";
  5. I was just wondering how you can get a little logo icon to show up in front of the page title in a browser's tabs. Most websites seem to do it now but I don't remember seeing anything like this in the tutorials. Is it as simple as putting an <img> inside your <title> tags? This is more a question of curiosity at the moment. I haven't tried playing around with anything like this yet. Just wondering for the future. Thanks.
  6. Hi !I customize a Web Framework to use XSL stylesheet on XML and generate HTML 5.I want to report the process (XSL transformation) on the client-side if the client support XSLT.But if the client do not support this operation, I want to process on the server-side and send the generated HTML 5.My problem is : the Javascript function I call on the page works on XML content (ot HTML 5 if the browser does not support XSLT).But I would like to use Javascript on HTML 5 for both cases.So how can I access to the rendered content ? Not on the source content ?Thanks
  7. Hello internet.I used a series of password protect html pages to direct the user to a page only if the password is correct. However, it appears they can just type in the web-address of the destination page and it will load. I want that page to be password protected but I can type it in and it will load. How do I prevent this?
  8. Whats the best solution for completing this:http://app4.websitetonight.com/projects/2/3/9/4/2394058/Tools_for_Web_Success2.htmlthe website I'm working on.scroll down a bit and click the H4 there's a hidden content that slides out.but when multiple on page, it unfolds them all. whats my best option.the reason it opens both is because their both set to the same ID's. and i know that if i set all divs different ID's it will work. BUT what are my other options? are there any other options?here's the code:http://jsfiddle.net/attilahajzer/zx2dk/2/Please Help.
  9. Newbie to web design here, so please dont judge if this is an "easy" questionI want to know how to set up a redirect of sorts. What i have planned is to have a really simple homepage on the website im designing, which will be a gamers website/clan, specifically geared towards black ops and world at war "zombies". The homepage will be just image links to the forums, news, trophy guides, facebook page, etc, and when a user clicks on any of these links i want a redirect for style purposes basically, which i will explain.In the games i mentioned, there is a teleporter that, when you activate it, you are surrounded by electricity and then teleported. I want to take about 10 screenshots of this and create an animated gif that will display as a full page animated background so that the user "teleports" to the forums, news, etc. just as if they were playing the game. Might sound cheesy but for fans of the game, and with a well done gif, i think it may look nice. Usually when i get redirected im on the redirect page for 2-5 seconds so this is a perfect time frame since its a similar time frame in the game.Thanx in advance
  10. Hello internet. I am having an issue with the following code working. CODE: <script type="text/javascript">window.onload = function() {for (var i = 0; i < Tload.length; i++) {document.getElementById(Tload.id).value = Tload.value; }</script> The error code I am getting is: 'docement.getElementById(…)' is null or not an object
  11. Hi ...I intend to print a table to paper but when I print it using IE, instead of printing the whole row at the next page, the last row breaks into two parts and the contents of it are displayed incompletely. I've tried so many different solutions but none of them worked for me.Here is my code. I want to print the table using JavaScript StringWriter sw = new StringWriter(); HtmlTextWriter hw = new HtmlTextWriter(sw); table.Style[HtmlTextWriterStyle.BorderCollapse] = "collapse"; table.Style["page-break-after"] = "auto"; table.Style["page-break-inside"] = "avoid"; table.Style["display"] = "block"; table.RenderControl(hw); string gridHTML = sw.ToString().Replace("\"", "'") .Replace(System.Environment.NewLine, ""); StringBuilder sb = new StringBuilder(); sb.Append("<script type = 'text/javascript'>"); sb.Append("window.onload = new function(){"); sb.Append("var printWin = window.open('', '', 'right=0"); sb.Append(",top=0,width=1000,height=600,status=0,toolbar=1,scrollbars=1');"); sb.Append("printWin.document.write(\""); sb.Append(gridHTML); sb.Append("\");"); sb.Append("printWin.document.close();"); sb.Append("printWin.focus();"); sb.Append("printWin.print();"); sb.Append("printWin.close();};"); sb.Append("</script>"); ClientScript.RegisterStartupScript(this.GetType(), "GridPrint", sb.ToString()); Thanks
  12. I am working on a website for my work but they will not give me a webserver. So basically I have to run it off a fileshare. This limits me to HTML, Javascript, and CSS formats to get anything done. I need to be able to accept data entered into a form and store it somewhere so it can later be queried for analysis in another website type format. Any suggestions? Somethings to keep in mind also so you know what I'm working with here. - older dell workstations running XP- IE7 is the only browser we are able to use on the work machines- No web server access or ability to pull in data from outside resources since the machines do not have internet access.
  13. Hey can anyone help me with this, I have made this page http://collagebrio.com/ there is a swf in it. I can see the swf only when i open the page in IE, Mozilla Firefox. When i use chrome I get a error missing plug-in... is there something wrong in my code?
  14. Whenever I use <a onclick="">on text</a> it ignores the css formatting for the <a>. Why? Is there a way around it?
  15. Hi,I´m new in this forums.Does anybody know how to really make a website look the same in all browsers?Maybe its impossible, but are there ways to even try?Thanks
  16. wernerz

    Suggestions

    I would like to create an interactive form that customers may choose their orders via drop down list/image rollover then are able to view the selected product/image in the adjacent div. After the customer selects which items they would like, they hit the email/submit button to send the product details to the company for the order, and also to have the e-mail formatted in plain text. Help would be appreciated by your suggestions on the best way to go about this from the "back-end" perspective. Would it be better to use javascript and php or do you think a flash form with javascript. Time is not a concern on this project.
  17. I've been playing around with site making and through tutorials and such nothing "exactly" tells how to position anywhere you want, at least nothing I've seen. My site is here http://www.moonanbeings.com/I want it to be as you see now, but correctly. I'm using CSS to place that image center there and I don't think that's how it should be. It shouldn't be through CSS and it shouldn't be a background image. Having it like that is like my easy way out. So, how do I get that background image to be a regular image and center, center for every resolution?
  18. Hey mates. I want to share this information with you all who may be having the same issue. On Windows my webpage background and images display well. but on linux/ubuntu i was unable to view the images on the web page. Finally it worked after i changed the image name to its correct case. Example: background-image : url('images/gradient1.png'); changed to background-image : url('images/Gradient1.png'); It applies to html too. Hence i believe its better to practise using correct case when dealing with links and image names.
  19. Hi All, I was wondering if copy to clipboard is available for iframe. i tried to search on google and no joy. Could somebody please advise?Thanks in advance. Ok So I am having a website and there was already a copy to clipboard option for which i used Javascript code and that worked perfectly fine but now i have iframe and the copy to clipboard function does not work anymore. I have a html website. I have a web based page(html- frames format) for our text documents articles on various subjects. The page is made in three frames. It's exactly like this "http://www.w3schools.com/html/tryit.asp?filename=tryhtml_frame_mix". The copy to clipboard optionis for the articles displayed in the main menu.The code is: <SPAN ID="copytext" STYLE="height:;width:;background-color:"><p>Please do the following:<br /> 1. Click on Edit > Preferences<br /> 2. Select the Multimedia Trust (legacy) Category on left side of window<br /> 3. Select 'Other Documents' under 'Trust Options' frame<br /> 4. Select 'Permission for Adobe(R) Flash(R) Player is set to Prompt' in<br /> list box<br /> 5. Change value for Change permission for selected multimedia player<br /> to: 'Always'<br /> 6. Click 'OK' </p> <p>Kind Regards,</p></SPAN><TEXTAREA ID="holdtext" STYLE="display:none;"></TEXTAREA><BUTTON onClick="ClipBoard();">Copy to Clipboard</BUTTON> <script LANGUAGE="JavaScript"> function ClipBoard(){holdtext.innerText = copytext.innerText;Copied = holdtext.createTextRange();Copied.execCommand("RemoveFormat");Copied.execCommand("Copy");} </SCRIPT> For iframe i am using this : <iframe src="text.txt" frameborder="0" scrolling="yes" height="400" width="650"> Text file not found.</iframe>
  20. Hello Friends I have to visit a website which offers you Free Videos on various topics.Some Links I am posting here.AJAXhttp://learnerstv.com/Free-Computers-Video-lectures-ltv322-Page1.htmFundamentals of PHPhttp://learnerstv.com/Free-Computers-Video-lectures-ltv166-Page1.htmBasics of PHPhttp://learnerstv.com/Free-Computers-Video-lectures-ltv427-Page1.htm Regards,Er. Sumit Machra[+91-9414475695][http://brahmansh.in]
  21. I have this contact form and really ned help with my php file. What would i need in my SendContact.php file in order for this form to work?? Thanks <div id="left"><div id="contact_form"><font size="+2"><b>Contact us?</b></font><p><font size="-2">Please use the form below to send us a message.</p></font><form method="post" onsubmit="return sendContact();" action="sendContact.php"><p><label for="name" id="lname">Full name:</label><input type="text" class="text" name="name" id="name" onfocus="input_focus('name');" onblur="input_blur('name');" /></p> <p><label for="email" id="lemail">Email address:</label><input type="text" class="text" name="email" id="email" onfocus="input_focus('email');" onblur="input_blur('email');" /></p><div class="x"></div><p class="error" id="email-error">You must enter your email address.</p> <p><label for="category" id="lcategory">Category:</label><select name="category" id="category" onfocus="input_focus('category');" onblur="input_blur('category');"><option value="software">Website Related</option><option value="hardwae">Content Related</option><option value="consulting">Complaint Related</option></select></p> <p><label for="message" id="lmessage">Message:</label><textarea name="message" id="message" onfocus="input_focus('message');" onblur="input_blur('message');"></textarea></p><div class="x"></div> <div class="x"></div> <input type="submit" class="submit" name="send_contact" value="Send" /> </form> </div> <div id="message_sent" style="display:none;"><h1>Your message has been sent</h1><p>We'll contact you in a shortest possible time.</p><p>You can now <a href="index.html" class="read-more">go back</a> to home page.</p></div> </div> </body></html>
  22. I have been looking around and reading up on this and this is the simplest way I have been able to find so far... It still has not worked for me and there has to be a better way. Anyone? ***************<li><span><span><span><span>Boby</span></span></span></span></li> li { background: url(boby.jpg) center no-repeat; }li span { background: url(corner_top_right.gif) top right no-repeat; display: block; }li span span { background: url(corner_bottom_right.gif) bottom right no-repeat; }li span span span { background: url(corner_bottom_left.gif) bottom left no-repeat; }li span span span span { background: url(corner_top_left.gif) top left no-repeat; padding: 0.5em; }***************
  23. I have attached my sample website. In it how do i arrange multiple "div" and why do some break up at different screen sizes. Check my code and help me find my mistakes. index.html
  24. Hello Everyone, Greetings! As a part of assignment test I have to make the HTML Code in DIVs (tableless) as per the attached "Screenshot.png" file. FYI - On clicking on the "Populate Values" button, the div below the button should populate the values of the selected radio buttons of the preferred and home locations respectively as shown in the attached .png file. --------------------------------------------Current status of My HTML Code:--------------------------------------------<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...ransitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Test</title><meta name="description" content="#" /><meta name="keywords" content="#" /><link rel="stylesheet" type="text/css" href="StyleSheet.css" /></head><body><div id="container"><div> </div><div class="LogoHeader"></div><div style="float:left;width:280px;text-align:left">Home | About XYZ | Contact Us</div><div style="float:left;width:480px;text-align:right">(icon) Print (icon) Share (icon) RSS</div><div class="clearBoth"> </div><div> </div><div id="OL-Bg"><div class="OL">Office Locations</div><div><textarea name="TextArea1" cols="20" class="OL-Text">Blah... Blah... Blah...Blah... Blah... Blah...Blah... Blah... Blah...Blah... Blah... Blah...Blah... Blah... Blah...Blah... Blah... Blah...Blah... Blah... Blah...Blah... Blah... Blah...Blah... Blah... Blah...Blah... Blah... Blah...</textarea></div></div><div style="float:right;width:738px">ABOUT XYZ</div><div class="content">Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah...<br /> <br /> Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah...<br /> <br /> Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... <img alt="X" src="images/XYZ.png" width="200" height="86" style="float: left" />Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... <br /> Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... <br /></div><div class="clearBoth"> </div><div class="copyRight">Copyright - Blah... blah... Blah...</div></div></body></html> -------------------------------------------Current status of My CSS Code:-------------------------------------------body { margin-top: 0px; margin-bottom: 0px; background-color: #999999;}div#container { width: 980px; margin: 0 auto; background-color: #FFFFFF;}.FloatRight {float: right;}.FloatLeft { float: left;}.clearBoth { clear: both;}.OL-Text { table-layout: fixed; height: 90px; width: 214px; font-family: Verdana; font-size: 10pt;}.OL { font-family: Verdana; font-size: 11pt; font-weight: bold; width: 220px; background-color: #969696; text-align: center; height: 32px; vertical-align: middle; line-height: 30px;}#OL-Bg { border: 1px solid #B0B0B0; width: 220px; padding: 10px; float: left;}.LogoHeader{ background-image: url('images/XYZ.png'); background-repeat: no-repeat; float:left; width:220px; height:35px; text-align:left;}.copyRight { border-color: #808080; font-family: Verdana; margin-top: 0; margin-bottom: 0; font-size: 11px; color: #333333; text-decoration: none; height: 30px; text-align: center; vertical-align: middle; line-height: 30px; border-top-style: groove; border-top-width: 2px;}.content { border: 1px solid #FFCC00; float: right; width: 736px;; font-family: verdana; font-size: 10pt; color: #333333;} Please help... Thank you.
  25. In the HTML tutorials, all images were added from a web location (img src="url"/>), when creating my new site, how do i add the images which are on my computer. Do I have to upload the images to a FTP location on the web first and then create the web pages? OR Should i create everything under one folder on my computer and then upload the entire folder to the web host?
×
×
  • Create New...