6,574 Topics
![]() | |
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.