6,568 Topics

Member Avatar for
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
263
Member Avatar for shrikanthnk

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"> { …

Member Avatar for diafol
0
585
Member Avatar for IsaacMessi10

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" …

Member Avatar for IsaacMessi10
0
268
Member Avatar for MartyWooly

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 …

Member Avatar for alexloxton
0
2K
Member Avatar for bullet_1

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

0
69
Member Avatar for alpdoruk

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 …

Member Avatar for alpdoruk
0
861
Member Avatar for alpdoruk

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 …

Member Avatar for alpdoruk
0
147
Member Avatar for tibor.marias

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: ![11ce93daec6265124e189def81dc9696](/attachments/large/4/11ce93daec6265124e189def81dc9696.png "11ce93daec6265124e189def81dc9696") I want the blue part of the table, to be equal width with every relative white part. …

Member Avatar for tibor.marias
0
618
Member Avatar for daniel.conlinjr.1

Is there a sleep function for so many seconds in HTML or am I gonna have to use JavaScript

Member Avatar for Nmalik1
0
3K
Member Avatar for ACRDepos

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: …

Member Avatar for ACRDepos
0
252
Member Avatar for touqeer s

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 …

Member Avatar for Nmalik1
-1
285
Member Avatar for brandon66

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 …

Member Avatar for brandon66
0
198
Member Avatar for diafol

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 …

Member Avatar for diafol
0
302
Member Avatar for <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 …

Member Avatar for <M/>
0
361
Member Avatar for woodenduck

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?

Member Avatar for woodenduck
0
350
Member Avatar for Zoe_1

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" …

Member Avatar for Anima Templi
0
175
Member Avatar for mmcdonald

[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 …

Member Avatar for mmcdonald
0
139
Member Avatar for dannybarh

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> …

Member Avatar for dannybarh
0
3K
Member Avatar for bullet_1

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 …

Member Avatar for gusano79
0
176
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
113
Member Avatar for Violet_82

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

Member Avatar for Violet_82
0
1K
Member Avatar for davy_yg

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.

Member Avatar for EvolutionFallen
0
229
Member Avatar for Dani

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); …

Member Avatar for Dani
0
226
Member Avatar for pwolf

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 …

Member Avatar for noelthefish
0
294
Member Avatar for JazzibAli

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>"; …

Member Avatar for minitauros
-1
367
Member Avatar for jobo.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 …

Member Avatar for rohan.verma.52012
0
482
Member Avatar for chris evans

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() { …

Member Avatar for Josh Connerty
0
302
Member Avatar for Marty1963

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 …

Member Avatar for almostbob
0
399
Member Avatar for Tcll

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 …

Member Avatar for Tcll
0
124
Member Avatar for eburlea

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);

Member Avatar for pritaeas
0
155
Member Avatar for davy_yg

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 …

Member Avatar for touqeer s
-1
272
Member Avatar for davy_yg

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> …

Member Avatar for davy_yg
-1
205
Member Avatar for woodenduck

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. …

Member Avatar for diafol
0
162
Member Avatar for nocal

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> …

Member Avatar for asaa
0
160
Member Avatar for lloydsbackyard

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']; …

Member Avatar for lloydsbackyard
0
293
Member Avatar for davy_yg

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 { …

Member Avatar for LastMitch
-2
232
Member Avatar for ncis_sg1

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 …

Member Avatar for LastMitch
0
413
Member Avatar for Ranjith_2

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 …

Member Avatar for almostbob
-1
239
Member Avatar for pardeepkhatri
Member Avatar for paulkd
0
106
Member Avatar for Anila_1

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 …

Member Avatar for diafol
0
335
Member Avatar for davy_yg

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.

Member Avatar for davy_yg
0
278
Member Avatar for imti321

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; …

Member Avatar for imti321
0
232
Member Avatar for aswekown

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.

Member Avatar for aswekown
0
128
Member Avatar for suavedesign

I am trying to align some text vertically with an image next to it, as in: [http://204.10.65.195/get_involved.php](http://204.10.65.195/get_involved.php) On the bottom half of the page, you can see that I have a bunch of images, each one with some text next to it. I want the text to appear in the …

Member Avatar for flashhtml5
0
314
Member Avatar for tihomir.dochev

Hi all. I need help with one HTML form. I taked a web sie template and formed it to suit my need but at the end the form build in it was not working. I have add php file and action to use the php file from what i have …

Member Avatar for pritaeas
0
180
Member Avatar for Julia25

I'm almost done experimenting on how make the slideshow background clickable http://www.gracetous.org/test/ but I was hoping the mega menu dropdown will show up without adjusting the height since its responsive, is there any hope to this?

Member Avatar for Julia25
0
176
Member Avatar for james.lu.75491856

def GenContent(address,what): return urllib.urlopen("http://www.yelp.com/search?find_desc="+what+"&#find_loc="+address).read() I am using python to do this. It works prefectly in my browser.

Member Avatar for chriswelborn
0
313
Member Avatar for pratik65

im trying to put an image in the background of my form so that it cptures full screen n i donno how to dp that. my code is follows: Me.BackgroundImage = System.Drawing.Image.FromFile("school.jpg")

Member Avatar for abhi159
0
24K
Member Avatar for azegurb

Hi all, I have taken from net drop down menu (Drop down chrome menu). it is written in Object oriented background. but i would like to get it simple and concise. i wrote it in a prosedural background again. below is original script. 1-is HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

Member Avatar for LastMitch
0
301
Member Avatar for Rachael_1

Hi, I would like to have my pop-up(upon clicking create order) to be visible even after an error msg appears. How can I do it? <?php $selection = ''; $type = ''; $size = ''; $bidprice = ''; $offerprice = ''; $stoploss = NULL; $takeprofit = ''; //////////////////////////////// $Error = …

Member Avatar for LastMitch
0
273

The End.