6,574 Topics
![]() | |
How can I get the value of an input field in Javascript? For example, someone types somehing into an input field and I want them to press a button to in turn, store the data in a JS variable. I believe there is such a thing as .value, but it … | |
Which is the latest version of HTML, with the most support for new browser? | |
Hello, I am trying to make a .html document that has an image inside it. I have seen this before, but I don't know how to do it. The idea is here I don't want a index.html and image.png files, but I want just a index.html that containd the content … | |
Hello, I have an account in which logged in there is a 30 character-long text box. This text box is an information to others to see details about me. I would like to set a link (iframe?) link in order to let other click on it. I know that officialy … | |
Hi, I am using html Mime Mail5 class to send emails from my system and I want the attachment files to be send as encrypted in smime format. Is there any way I can send the email with attachment made in smime encrypted format through the htmlmimemail5 class. Thanks in … | |
How to covert ppt to html using PHP | |
I have problem with css when use this htacces code RewriteEngine On RewriteRule ^([^/]*)/([^/]*)$ /index.php?id=$1&page=$2 [L] mode_rewrite work ok but css is not :( How to fix? | |
Chaps, I run into a strange problem today for the first time. Basically I have a web page that users can print using a print button on the page itself, but what I want is them to be able to print a print-only version of this page. So, I wrote … | |
Hi All, Below code gives me exact result which I want.. output gets displayed at div # result which is as per design. Now i wouldlike to know is there any method to display result in textbox? if so please help me. <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> { … ![]() | |
Code 01: <head> <title> My Web Page </title> <link rel = "icon" href = "favicon.ico" /> <link rel = "shortcut icon" href = "favicon.ico" /> </head> Code 02: <head> <title> My Web Page </title> <link rel = "icon" href = "favicon.ico" type = "image/x-icon" /> <link rel = "shortcut icon" … | |
Hello all! I'm new to responsive web design and I realize that it's fairly vital to desigining a good website today, what with today's ever changing screen sizes it's become vital to make sure my pages display well. So my question to everyone is this; Are there any Tools, Web … | |
I am having an Html file in which there are some errors. I want all the errors to be dislayed in a log file can anybody help me thanks in advance | |
Hello Experts, First I want to thank you all.I am getting all responses at this Daniweb :) My problem is that I have a sql statement where I want to add where clause in case of dropdown is changed. My database connection part: <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/_database.accdb" SelectCommand="SELECT * FROM … | |
Hello Experts, I have a dropdown list which is taking information from a database in which i used as per below SELECT DISTINCT * FROM [Devices] but still it shows multiple same values.I want that the values are unique.How should I fix it ? I already clicked -return only unique … | |
Evening Sirs, I got some problems in PHP when using while loop in tables. My problem is that I can't make the rows be the same width. This is my preview:  I want the blue part of the table, to be equal width with every relative white part. … | |
Is there a sleep function for so many seconds in HTML or am I gonna have to use JavaScript | |
I'm struggling with acquiring the same consistent table size across all three primary browsers as shown below. http://i41.tinypic.com/izxrtu.jpg - Chrome http://i43.tinypic.com/24yctw6.jpg - Firefox http://i39.tinypic.com/2ceg3lj.jpg - IE I'm not sure if it's a coding issue or a table issue, but here's the primary CSS: body{ background-image: url(../DefaultBackground.png); background-repeat:repeat-x; background-color: #FFFFFF; border: … | |
Responsive Web Design essentially indicates that a web site is crafted to use Cascading Style Sheets 3 media queries…with fluid proportion-based grids, to adapt the layout to the viewing environment, and probably also use flexible images. As a result, users across a broad range of devices and browsers will have … | |
User fills out certain values in a form and hits the submit button. The values the user filled out will be submitted to the database. The user needs to come back to that form and be able to update the values he did not enter the first time. How would … | |
![]() | Trying to access DW on Smartphone (Android) and still getting trouble with the dropdown menus. Trying to access PHP forum, but of course, no hover on mobile, so have to go to Web Design then find a thread with the PHP link. Has anybody got an easier way - I'm … ![]() |
When i was playing around with `<iframe>` I noticed that it only works on specific browsers but if you view the site without the iframe, it works fine on the browser. Why is that happening? Does each browser have their own specifications or something? *I was playing around in a … | |
How can I prevent a XSS attack but allow user to post iframe and img? My page is php based but I allow users to submit text and have allowed only iframes and imgs with strip_tag How do I prevent a user from launching an xss attack? | |
Full disclosure - I'm not total novice so any help would be appreciated but simple help for dummies will be **extra** appreciated :) I'm creating a form in an html page. It needs to link up with a payment gateway and forward the entered information (I'm currently using the method="post" … | |
[Image of design issue](http://imgur.com/seWlte0) Hi peeps, Struggling to locate the source of this issue. The dropdown for ALL of the menu items appears on the far left of the nav and not below te menu item selected. For example, in the image above I clicked programming and the dropdown appeared … | |
Hi all, am trying to use bootstrap switch in my form. Am at a lost as to how to get the value of name="onoffswitch" from that field and insert it into mysql db, here is my code... div class="onoffswitch"> <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="myonoffswitch" checked> <label class="onoffswitch-label" for="myonoffswitch"> <div class="onoffswitch-inner"></div> … | |
following code replaces Figure 1....so on with <a href=1>1</a> .....so on but want to replace this " <a href=1>1</a> " ....... with <a href="#fig1">Figure 1</a>....so on in single line declaration please help me public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs … | |
Hi all, quick question about a website I am about to build. Basically, somewhere on the homepage, presumably quite far down closer to the footer I will have a div with two clickable tabs: when clicked they will show different content but the url of the page needs to stay … | |
HI all, I was wondering if it is legal to have a span tag inside a legend, something like this `<legend>This is my<span>legend</span></legend>` Can't quite work out whether legend is a block element or inline thanks | |
Hello, I am looking for html codes to change the css background. Is the following codes correct? index.html <div id="demos"> <div id="slideshow" class="pics"> <img style="background-image: url('../images/indonusa1.jpg');"> <img style="background-image: url('../images/indonusa2.jpg');"> <img style="background-image: url('../images/indonusa3.jpg');"> </div> <ul id="nav"> <li><a href="#"></a></li> <li><a href="#"></a></li> <li><a href="#"></a></li> </ul> </div> Thanks before. | |
Using a CSS background gradient and, in Chrome, it just shows up as solid black if the div is greater than 32,000 pixels. background-color: white; background-image: -webkit-linear-gradient(top, #EEE9F0 10%, white); background-image: -moz-linear-gradient(top, #EEE9F0 10%, white); background-image: -ms-linear-gradient(top, #EEE9F0 10%, white); background-image: -o-linear-gradient(top, #EEE9F0 10%, white); background-image: linear-gradient(to bottom, #EEE9F0, white); … | |
If you were to build a fairly complicated website, and you wanted to add features like instant messaging (one to one and multi-chat like a chat room, and possibly if the site becomes profitable enough, voice/video chatting) and you wanted to be able to store these chat sessions, would it … | |
![]() | This is a part of addtobasket.php file i want to change the normal submit button with my stylish one but dont know how to do. here is code... ...require("header.php"); echo "<form action='addtobasket.php?id=". $_GET['id'] . "' method='POST'>"; echo "<table cellpadding='10'>"; echo "<tr>"; if(empty($prodrow['image'])) { echo "<td><imgsrc='./images/image_not_found.png' width='50' alt='". $prodrow['name'] . "'></td>"; … |
I just created an empty HTML5 project and could not run it through the new Chrome netbeans Connector feature. I have added the netbeans connector extension to my chrome browser, but I keep getting this warning "Could not access Url through external browser. Check browser configuration." I have the latest … | |
Hi Guys! I'm building a site on html,javascript/jquery and css. i have links on the left side of the page (home, contact etc) which clicked displays appropriate and content on the right side. its (20:80) ratio. i have a javascript file that controls the display of the content: $(document).ready(function() { … | |
I have a gallery of product images in an e-commerce site which the client wants to "pop-out" on rollover. I wrote this CSS style to do it however while it works fine in Firefox .. not so in IE10. Can anyone suggest a work-around with this code that will support … | |
so I'm limited to a single class used by this span element in a forum plugin. I want to style it to work exactly like the buttons of my forum. here's my current code: color: #000000; background: #808080 left center repeat-x scroll url('http://images.proboards.com/v5/gradients/darkness.png'); padding: 5px; display: inline-block; what can I … | |
Hello everyone, I am trying to retrieve some info from a remote site using PHP DOMDocument and I cannot figure out why the code returns NULL, although the provided ID exists on the page. Please help. $dom = new DOMDocument("1.0", "utf-8"); @$dom->loadHTMLFile('http://sports.yahoo.com/news/messis-tax-hearing-put-back-122033643--sow.html'); $content = $dom->getElementById('yog-content'); var_dump($content); | |
Hello, I create a website with a 1024 x 728 size. After I create the html amazingly, the horizontal space is more than 1024, larger than the background that I create. There are around 400 px more space to right side of the background which is filled with a blank … | |
Hello, I wonder why my navigation input text box size being effected by the agent.css agent.php <html> <link href= "css/style.css" rel="stylesheet" type="text/css" media="screen"> <?php include('includes/navigation.php'); ?> <link href= "css/agent.css" rel="stylesheet" type="text/css" media="screen"> <body> <br><br> <div id="form"> <div id="formtitle"><br><center>FORMULIR PENDAFTARAN AGENT INDONUSA</center></div> <br><br> <div id="formtable"> <table border="0"> <tr> <td class="field">Nama Lengkap</td> … | |
How do I use htmlspecialchars to escape all html but then allow two tags? I've escaped my text but want to allow the following two tags: img iframe Is there an easy way to do this? I never had a class on php so everything I know is self taught. … ![]() | |
Hi im new to html and fairly new to programing i've been waching youtube vidios on html and they all do the same thing to put up a phot but whenever i try the photo eror shows up by the way i use notepad ++ <!doc type html > <html> … | |
please help on my codes ...this works good in firefox but in internet explorer it gets disarrange. also, if im gonna zoom in/out in both browsers it also got disarrange.thanks index.php <?php session_start(); //Unset the variables stored in session unset($_SESSION['SESS_ID']); unset($_SESSION['SESS_LNAME']); unset($_SESSION['SESS_FNAME']); unset($_SESSION['SESS_MNAME']); unset($_SESSION['SESS_SUFFIX']); if (isset($_GET['page'])) { $pg = $_GET['page']; … | |
agent.php <div id="formtitle"><center>FORMULIR PENDAFTARAN AGENT INDONUSA</center></div> <br><br> <table border="0"> <tr> <td class="field">Nama Lengkap</td> <td><input type="text" name="name" placeholder="harus diisi" value=""></td> </tr> <tr> <td class="field">Tempat & Tanggal Lahir</td> <td><input type="text" name="name" placeholder="harus diisi" value=""></td> </tr> agent.css #form { width: 900px; height: 1600px; background-color: white; display: block; border: 1px; margin: auto;} #formtitle { … ![]() | |
Ok I am having trouble with this homework assignment. I need to modify the code to sort by the number of pages rather than by chapte number. I get this part but the code I need to modify will not display correctly in my internet browser. All I see is … ![]() | |
I'll come to the point, every link is working except one link. My index page --> http:// pastebin.com/wGAhtT9k My Css Page --> http:// pastebin.com/Kg1WGvGJ My js page --> http:// pastebin.com/rv4mdcJ8 This is my website --> www.leranjith.com In my website, i have two "certificates" link, the one inside the circle is … | |
if i want five(5) boxex in a row, than how i have use span classes in Bootstrap | |
Hi. 'm new to php..please help.. 'm working with dropdown and submit button.. the dropdown contains certain values..if the user selectes one option in dropdown and clicks submit button, values corresponding to the dropdown should be displayed in table format from the database. the file name is campus.php 'm attaching … ![]() | |
Hello, Anybody knows how to create a changing background website like this: [background](http://id.gateway.com/gw/en/ID/content/home) I have the website and 3 different background. Now, I would like to make those background changes one after another. | |
The below mentioned code uses css3 to develop drop down menu .I am unable to solove a problem which crops up while i click sub2 h4 menu it disappeare below body text can anybody help .Thanks in advance. <style> body,,container,h1,navmenu,ul,sub1,sub2,darrow,rarrow,header,leftnav,rightnav,footer { margin:0px; padding:0px; } #container { position:absolute; background-color:#FFF; left: 136px; … | |
Hi, I am new to html and I am reading the html and the css code of the website: http://www.quarryequipments.com/ I notice that if I make the browser size small, the li element in the navigation will not float left, how do I make it out? thanks. |
The End.