6,567 Topics

Member Avatar for
Member Avatar for Bassznapper

Hi can anyone tell me why my page don wnat to go to center? [url]www.norwegiandjs.no[/url] My html is [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="author" content="Dimitris Michelinakis" /> <meta name="keywords" content="Opera, Baritone, Modenos, Music" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="charset" content="ISO-8859-1" /> …

Member Avatar for stultuske
0
197
Member Avatar for ajcoder

I can't seem to get my code to work. What am I missing? I want to be able to call the xml information and put it into a div I created in an html page. I was able to get one of them to show up with similar code to …

0
80
Member Avatar for yanwick

I have this file x.php but it doesnt work. Php only works if it is in a pure php file (with no html code).Im using xampp 1.7.7. Any ideas what might be the problem ? [CODE]<html> <body> <?php echo ("HELLO"); ?> </body> </html>[/CODE]

Member Avatar for yanwick
0
233
Member Avatar for varoluscu_prens

Hi There; I have designed a web site. There are buttons at the top of the web site, similar with daniweb.com has "Hardware&Software" , "Software Development" ,"Web development" and so on. But my web site looks perfect in my computer, however, positions of buttons corrupted in different computer that have …

Member Avatar for almostbob
0
206
Member Avatar for adityamadhira

My code of drop down box is [CODE]<select name="dname"> <?php $data = @mysql_query("select * from Department"); while ($row = mysql_fetch_assoc($data)) { $ID = $row['dept_ID']; $dname = $row['department_name']; echo "<option value=$ID name=not>$dname \n"; } ?> </select>[/CODE] I retrieving department name into dropdown box.. ID - is department ID.....when user click submit …

Member Avatar for cigoL..:)
0
303
Member Avatar for srinidelite

Hello Their, i'm new asp.net and I've assigned to design a ERP supplier page and when i started designing the page i used lot of space tag(&nbsp) for spacing and my project guide insist me to find another way to align text box and label using css and ceratainly i …

Member Avatar for srinidelite
0
165
Member Avatar for basamdamdu

Hi all, I am a newbie when it comes to js/jquery. I am trying to have the content of a div (let's call it "quote") added to the body of a mailto. the content of the div "quote" is randomly generated (stored in .js file) by pressing a "next" button. …

Member Avatar for basamdamdu
0
4K
Member Avatar for baig772
Member Avatar for frrf

For a couple of months now I've been working on a community website; however I haven't got past the registaration because MYSQL can't connect to my HTML and PHP codes.Also my laptop treats .PHP documents as text documents and I can't open them, is this related? Thanks in advance :D.

Member Avatar for smantscheff
0
167
Member Avatar for pxalpine

Hello, I'm manipulating large quantities of HTML files (about 2000). I'm new with Python, and would appreciate any help. For example, I want to delete the lines that contain "embed_music" in all the files, or change all instances of the word "Paragraph" to "Absatz". This is my pseudo-code: [CODE] open …

Member Avatar for ihatehippies
0
168
Member Avatar for jsa005

Hello! On my website I'm looking to create a dynamic HTML table from the contents of a MySQL database. I have no idea how many rows there will be, and I need it to look a bit like an iPhone home screen. Here is some code: v1: // Make a …

Member Avatar for diafol
0
1K
Member Avatar for subrata_ushasi

Hi all, I have dropdown in html consisting value country name. Instead of entering country name one by one into the mysql table I want to transfer by php programming . Is it possible ? If so ,any one can suggest....... Thanks in advance. Subrata

Member Avatar for subrata_ushasi
0
146
Member Avatar for asif49

Hi I'm trying to have a search facility on my site which performs search without refreshing the page. The only problem I have encountered is to be able to take the input which is typed in a search box and associate an onClick event with it that passes that value …

Member Avatar for Airshow
0
156
Member Avatar for SolidSolutions

How can I get an image to have it's own hyperlink that is inside of a clickable div? [CODE]<div id="clickable" onclick="window.open('http://www.daniweb.com');return false;"> <p>I love clickable images!</p> <a href="http://www.google.com"><img src="someimage.png" /></a> <p>too bad they don't click in a clickable div</p> </div>[/CODE] If I try the above then the DIV is always …

Member Avatar for SolidSolutions
0
362
Member Avatar for Aamit

Hi, I need some deep knowledge Regex Vs Dom. Is Regex much faster then Dom or not? Like processing speed, reliable or not . If any one share link or article it helpful for me.

Member Avatar for pritaeas
0
177
Member Avatar for cambridge77

Hi, Am trying to get away from flash + new to jquery. I know there is an obvious problem in the Css or js but the more I change things around the worse it gets. I want the gallery up next to the right of the nav column. Sick of …

Member Avatar for ctaylo21
0
181
Member Avatar for SmokeOp

I would like to use the front end to send info to a program built in python 2.7/3.2(not sure which yet but most likely 2.7). That program would then send data back over to the front end and create new buttons (the number of buttons will be arbitrary). I have …

Member Avatar for jackbauer24
0
81
Member Avatar for Aung Myat

Hi all, I just started learning Python and Beautiful Soup. I am developing a script to look for particular text "Running" in the HTML. If that text "Running" exits, I would like to print out the keyword "QSAJK". Please see the attached image to visualize. If there is one or …

Member Avatar for tomstratton
0
4K
Member Avatar for Virangya

hi, i'm trying to add a background color to a element which is positioned before the identified tag. for example, i know the class of one elment and i have a list like below. [CODE] <ul id="one"> <li><a href='#'>text0</a></li> <li><a href='#'>text1</a> <ul> <li><a href='#'>text2</a></li> <li><a href='#'>text3</a> <ul> <li class="item-1"><a href='#' …

Member Avatar for Virangya
0
125
Member Avatar for abhijeet P

Hello all, I am new to both HTML and CSS i am using a code where u can drag and drop elements from left into the grid. i want to put the images in the left with same effect as the one where I am dropping the image. Also on …

0
171
Member Avatar for softDeveloper

Hi All, I'm copying a long text from word and pasting into a html textarea and from here I send it to MySQL database. If the submited text is too long nothing happens. Any ideas on how to submit a large amount of text from a webpage to a MySQL …

Member Avatar for stultuske
0
203
Member Avatar for skorm909

Hey, I was about to get started just making a simple text game and was wondering how to make it so the game came up in a different window other than the CMD? Like how can I make it come up in say.. A 400x200 Window? Where I could customize …

Member Avatar for DeanMSands3
0
99
Member Avatar for Que336

Hi guys We have been asked to create a sudoku game using some type of CSS grid framework. I can't find any good explanations as to what a grid framework is. Someone please explain or direct me to an explanation. Regards

Member Avatar for pritaeas
0
71
Member Avatar for davy_yg

page-about.php [CODE] <div id="AboutNav"> <h3>About</h3> <p style="border-bottom: 1px dotted #787878; width: 200px;"></p><br /> <a href="https://localhost/wordpress/about/about-vision.php">Vision & Mission</a><br /> <a href="https://localhost/wordpress/about/about-history.php">History</a><br /> <a href="https://localhost/wordpress/about/about-client.php">Client</a><br /> <a href="https://localhost/wordpress/about/about-people.php">People</a><br /> </ul> <br> </div><br /> [/CODE] style.css [CODE] #AboutNav h3 { margin: 20px 0 0 0; } #AboutNav a:link{ background: url('images/About/AboutNav2.png') 0 0; width: …

Member Avatar for stultuske
0
278
Member Avatar for skygrrrl

Hi, I am trying to have my landing page center in the browser when it resizes, with css yet and I'm confused. Right now its all flush left and i want it to center in any browser if possible. Maybe could someone please add the code in red so i …

Member Avatar for drjohn
0
183
Member Avatar for jonow

I have a simple JavaScript question. I want a drop down selection so that when you select a certain option is shows the value of the option in a div. So for example: [CODE]<select> <option value="select-1">One</option> <option value="select-2">Two</option> <option value="select-3">Three</option> </select>[/CODE] So lets say that option one is selected, then …

Member Avatar for stultuske
0
224
Member Avatar for suavedesign

I am not a javascript coder, but I wanted to make pop windows on my webpage, without a separate window. I followed the instructions I found here:[URL="http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/"]http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/[/URL] It worked well. However, I want to make more than one popup on my webpage- I have thumbnail images that I want to …

Member Avatar for stultuske
0
178
Member Avatar for androidf

Hi, I need to create an html page to export some information. Currently, by using java, i've exported information to excel. But now, I need to export the information in HTML page using java.Is there any APIs I can use? Thanks.

Member Avatar for JamesCherrill
0
1K
Member Avatar for dijjio

Hi ^^ sorry, iframe! I am able to load an external website into an inline iframe I have on page1.php by adding target name to the hyperlink. However, what I can't seem to get working is making the URL load into the iframe through simply adding the link to the …

Member Avatar for dijjio
0
134
Member Avatar for dr_copper

Hi, I try to create a menu for the website of my friend. But I have a probleme with the reaction of event. My submenu close when i quit the section div. Someone can help me please? my code: [CODE] <html> <head> <title>test menu</title> <script language="javascript"> function ouvrir_menu(cible){ liens_cible="liens"+cible; document.getElementById(liens_cible).style.visibility="visible"; …

Member Avatar for dr_copper
0
212
Member Avatar for Martin C++

start_session() after <html> tags generates error, Can it be used there somehow? If so, then how ? If not then what are the alternatives cause I have a function that generates some part of my <head></head> in my themes. So the session_start() definately has to saty in that function (e.g …

Member Avatar for diafol
0
171
Member Avatar for davy_yg

page-about.php [CODE] <div id="AboutNav"> <h3>About</h3> <p style="border-bottom: 1px dotted #787878; width: 200px;"></p><br /> <ul> <li><a href="https://localhost/wordpress/about/">Vision & Mission</a><br /></li> <li><a href="https://localhost/wordpress/about/">History</a><br /></li> <li><a href="https://localhost/wordpress/about/">Client</a><br /></li> <li><a href="https://localhost/wordpress/about/">People</a><br /></li> </ul> <br> </div><br /> [/CODE] style.css [CODE] #AboutNav li a:link{ background: url(images/About/AboutNav2.png) 0 20px ; width: 100px; text-decoration: none; color: black; Arial, …

0
72
Member Avatar for theweirdone

Hi, I'm trying to extract certain things from a web page. The website is TVRage.com, and the example I'm using at the moment is [URL="http://www.tvrage.com/Warehouse_13/episode_list"]the Warehouse 13 episode list[/URL]. So far I've managed to get the title of the show using this code: [CODE]#!/usr/bin/env python import urllib def save_page(site="http://www.tvrage.com/Warehouse_13/episode_list"): mypath …

Member Avatar for Aung Myat
0
674
Member Avatar for tweets23

How to use macros in html . I do not want to re-write a part of html code in many pages. any way to use modular kind of programming in html. Thx in advance.

Member Avatar for drjohn
0
70
Member Avatar for kutchbhi

The situations: I have text in a var, that I am assigning to the innerhtml of a 'p' tag . The text has whitespace at the end. The problem: The last whitespace isn't rendered, by p tags. IT is ignored. Is there a tag other than the pre tag, that …

Member Avatar for Troy III
0
176
Member Avatar for pizzipie

Hi, I am generating a table for use as a revision form. The following line: [CODE] printf("<td><input type='text' name='%s' onfocus='showDisplayName($v[1], $v[2]);' id='%s' value='%s'></input></td></tr>\n", strtolower($key), strtolower($key), $value);[/CODE] has the php function showDisplayName() embedded in it. This function will not work. If I write the identical line in a pure HTML page …

Member Avatar for pizzipie
0
367
Member Avatar for bigjoke

I am trying to get a database created as per html5 web sql specs. [CODE]h**p://www.w3.org/TR/webdatabase/#sql[/CODE] I am using jquery/javascript to accomplish this. Here is a bit of simplified problem that i am facing. 1. User enters two fields on a html form 2. In background, i create a websql database …

Member Avatar for pritaeas
0
154
Member Avatar for varoluscu_prens

Hi There; I try to design a web site. There are many pages in my web site and I linked them altogether. But there are constant buttons must be existed in different pages. I mean there are buttons namely, "Home" , "About" .. vs in different HTML pages . I …

Member Avatar for ckchaudhary
0
121
Member Avatar for divin757

I want to have an iframe expand and center on the screen when a button is clicked. This would be similar to creating a lightbox for it but I dont want to have the content in the iframe reload. I have found solutions that can resize an element but it …

Member Avatar for drjohn
0
155
Member Avatar for Karrashin

Hello everybody, I'm trying to make a simple page, build from several div's. I have a Header-div (yellow), a Navigation-div (green), a Content-div (pink), a Socialmedia-div (grey) and a Footer-div (red). All div's have a fixed height except for the content-div, I'd like this div to auto size itself. This …

Member Avatar for asprin
0
232
Member Avatar for doomhades666

How can i get selected text in web page and put it on textbox? This is the text that i want to copy. [URL="http://i1059.photobucket.com/albums/t432/doomhades666/1-1.png"]http://i1059.photobucket.com/albums/t432/doomhades666/1-1.png[/URL] This the page source of the web page [CODE]<div class="output"> <h1 class="titlebar">Calculator Output</h1> <div style="padding: 1.2ex;"> <pre>Simplifying -2x + 3y = 8 Solving -2x + 3y …

Member Avatar for codeorder
0
1K
Member Avatar for davy_yg

style.css [CODE] #AboutNav a:link{ background: url(images/About/AboutNav.png); width: 100px; text-decoration: none; color: black Arial, Helvetica, sans-serif; font-size: 12px; padding: 10px; } #AboutNav a:hover{ background: url(images/About/AboutNavHover.png); width: 100px; text-decoration: none; color: black Arial, Helvetica, sans-serif; font-size: 12px; } [/CODE] page-about.php [CODE] <div id="AboutNav"> <h3>About</h3> <p style="border-bottom: 1px dotted #787878; width: 230px;"></p><br /> …

Member Avatar for davy_yg
0
104
Member Avatar for fredy91

Hy all, I am still newbie in web developing here my problem, I using .htacces to change the url of my website the url have changed but the problem the css file is not loaded here is my .htacces file [CODE] RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond …

0
67
Member Avatar for justinkb88

I am very new to JavaScript and am trying to use JavaScript to determine the height of a div. The div starts in the middle of the browser window and I need it to extend to the bottom of the window. How can the window height be determined and used …

Member Avatar for justinkb88
0
132
Member Avatar for ARKaMAN

Alright I have a MYSQL database with data for Clients. I am displaying this Client info on a HTML Table. I want the last 2 Table Cells to have EDIT and DELETE Functions. I am almost there I just need a final solution to linking them together and getting them …

Member Avatar for Fest3er
0
721
Member Avatar for MattWhitehead__

Hello, I'm having trouble with a webpage that has multiple CSS. The issue is the jQuery on the page, which doesn't work. The page I'm trying to get to work; [url]http://www.sahara-online.co.uk/demo/News.htm[/url] So does anybody know what to do? - some help would be much appreciated. Thanks Matt.

Member Avatar for ctaylo21
0
213
Member Avatar for softDeveloper

Hi all! Can anyone help me on finding out if it is possible to fill an iframe in a jsp loading text from MySQL? or a different way to do it? Thanks in advance [CODE] Example: <% Connection conn = null; Statement stmt = null; ResultSet rs = null; String …

0
113
Member Avatar for Pankti Desai

I am looking for a way to achieve the layout shown below using CSS or any other method that can accommodate the design and implementation. The "top" portion is a fixed area. The "left" area will be a list of text links that target to the "main" area.To be more …

Member Avatar for Philippe.Lahaie
0
110
Member Avatar for Transcendent

How do you create box with like this with things in inside the boxes? [URL="http://oi43.tinypic.com/18nllk.jpg"]http://oi43.tinypic.com/18nllk.jpg[/URL]

Member Avatar for jorik
0
114
Member Avatar for trektrak

Hello guys, Is it possible to convert html page into image using php? Thanks in advance guys...

Member Avatar for jyothirpatil
0
67

The End.