10,452 Topics

Member Avatar for
Member Avatar for wildplace

Hi all... position elements is giving me a hard time here :( hope you could hlep with with these 2 questions. 1. how does inline, inline-block, block affect position? 2. consider the code below, how do i vetical and horizontal center the elements inside #contenter. seems code tag doesnt <html> …

Member Avatar for JorgeM
0
120
Member Avatar for Sanchixx

how can i make this div unresizable in a smaller screen size: #space3 { display:inline margin:auto; font-family:Arial; text-align : left; font-size:16px; width:490px; background-color:#f2f2f2; border-bottom:0px; padding-bottom:0px; padding-top:0px; padding-left:20px; border-style:solid; border-width: 1px; border-top:1px; border-right:0px; right:345px; position:absolute; } #space3 a { -moz-border-radius: 5px 5px 0px 0px; -webkit-border-radius: 0px 0px 5px 5px; font-family:Arial; text-align …

Member Avatar for Sanchixx
0
521
Member Avatar for aki2all

<?php include 'functions.php'; if(!loggedin()) { header("Location: index.html"); exit(); } $session = $_SESSION['empno']; $dbName = mysql_query("SELECT ename FROM employee WHERE empno = '$session'") or die(mysql_error()); $nameResult = mysql_fetch_array($dbName); $name = $nameResult['ename']; $reqno = $_GET['id']; //echo $reqno; exit; $amtApproved = $_GET['amtApproved']; $query = mysql_query("SELECT * FROM requisition WHERE reqno = '$reqno'") or …

0
130
Member Avatar for syd919

Hello I have a problem with customizing my menu, I created a new mvc web application. Visual studio has created a default menu but I wanna add a background image like an image with "Home" or About instead of the default one. here is my code. <body> <div class="page"> <div …

Member Avatar for IbrahemShehata
0
125
Member Avatar for emtw

Hi, I've been working with Ruby on Rails to make a web application, but I've found something that I really cannot work out how to do with it, so it may be best if I do it manually. Basically, I've got a dropdown menu, that is populated with a list …

0
105
Member Avatar for cgull

Hello, I have a sprite dropdown menu that works fine everywhere besides IE9. In IE9 the menu just doesn't drop. I have search the net for 2 days trying to find a solution with no success. My html code: <div id="nav"> <div id="menu"> <ul> <?php if($title == "Home"): echo '<li …

Member Avatar for cgull
0
280
Member Avatar for rfrapp

Hello, my website looks perfectly fine on my iPad (which I created it on) however some of the divs such as for comments overlap other divs. I'm not sure why that is. Also, once you login, the header of the website gets cut off. I think this is due to …

Member Avatar for ushajase
0
101
Member Avatar for Nastadon

I'm trying to styalize my links but it isn't working. It shows the change in DW, but when I FTP the site it is default. Tried different browsers and settings, different computer to see if it was my computer not displaying, but it isn't working anywhere. I tried different styles …

Member Avatar for JorgeM
0
115
Member Avatar for mahdiyazdani

i create some login form and i put remember me check box below username and password field this is my login form code : <?php error_reporting(0); include "../db.php"; ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <title>IN ADMIN PANEL | Powered by Mahdi Yazdani</title> <link rel="shortcut icon" …

Member Avatar for mahdiyazdani
0
647
Member Avatar for G_S

Hello. I am working on a personal project. It's basically a program for changing specific tags from certain HTML files. So far, everything works. The GUI and the logic a work but I know the main function is wrong because it looks like this: def tag_remove(HTML_string): clean_HTML = a_string.replace('<b>', '').replace('<i>', …

Member Avatar for G_S
0
8K
Member Avatar for blaaam

Hi! I have small problem, in my add.php is selection tag used to choose year, so in my edit.php has place for year too where i use selection tag too, but how can i show in edit.php that year in selection tag, that what i have choosed in add.php? With …

Member Avatar for pritaeas
0
74
Member Avatar for yehoshua2123

I want to make HTML appear as text to maybe write some snippets on a site. I know that there is a way to make < and > by using &lt; and &gt; but I would like something that were a bit easier to remember and quicker like maybe using …

Member Avatar for Troy III
0
416
Member Avatar for Albert Pinto

Hi People, Got some issue with radio buttons... I want to pass the form details WITHOUT PAGE REFRESH.... I have a textbox and 2 radio buttons with values Subscribe and Unsubscribe and a submit button. The user has to enter his E-mail id in the given textbox and select either …

Member Avatar for kalpanakovuru
0
2K
Member Avatar for alanlee9898

Hi, I have problem with the dropdown menu overlapping. http://bit.ly/KSmtJT suppose the "leafs" will show the drop down menu. Please help! Thanks.

Member Avatar for milon09
0
165
Member Avatar for jessica1410

Guys can you please tell me that which is best (XML or HTML) actually i want to create a sitemap of my website so that's why i asking to you this confusion. please share your thoughts here... Thank You.

Member Avatar for geric823
0
145
Member Avatar for hwoarang69

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\a_upload\index.php on line 114 line 144: while($row = mysql_fetch_assoc($R)) $count = 0; $Q = "SELECT (SELECT image_short_name FROM user) as `image_short_name`" .",`image_id`,`user_id`,`image_short_name`,`image`" ." FROM `image`" ." ORDER BY RAND()" ." LIMIT 5"; $R = mysql_query($Q); echo " <!DOCTYPE html> …

Member Avatar for hwoarang69
0
432
Member Avatar for JOSheaIV

So awhile back I came here asking for help trying to read in data from a webpage, more specifically the HTML. I was running into an issue where the data wasn't actually being read (as if it hadn't loaded in). I had to put the program aside for awhile as …

Member Avatar for JOSheaIV
0
296
Member Avatar for Violet_82

Hi there, I am working on an accordion, I am more interested in the way it works, but I am having some problems. I worked on something similar sometime ago, and got some help in here, but I thought I will try to do it again on my own..and ehm, …

Member Avatar for Violet_82
0
89
Member Avatar for spideyprasad

I need code for iframe for the replacement of frameset. My frameset code is <frameset rows="14%,*"> <frame src="logout.html" scrolling=no> <frameset cols="25%,75%"> <frame src="Players Name.html"> <frame src="Dhoni.html" name="secondframe"> </frameset> </frameset> I need it in iframe. I cant able to nest iframe which i did in frameset. Is it possible to write …

Member Avatar for JorgeM
0
301
Member Avatar for [csharp]

I try to create dropdown list with informations from title column in sql table, but never succeeds. My connection and query is good. Can somebody to help me with this? mysql_connect(***); mysql_select_db(***); $query = mysql_query("SELECT title FROM test"); Thanks!

Member Avatar for bobgodwin
0
236
Member Avatar for veledrom

Hi, Code below works fine up to **hr**. For some reason, html code appears as is in textarea. It should first appear as notmal text. Anyone know why? Thanks <!DOCTYPE html> <html> <head> <style> p { margin:8px; font-size:20px; color:blue; cursor:pointer; } b { text-decoration:underline; } button { cursor:pointer; } </style> …

Member Avatar for veledrom
0
193
Member Avatar for oldezwe

Here is the code for my login page <!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 http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Login</title> <style type="text/css"> #apDiv1 { position:absolute; width:200px; height:115px; z-index:1; left: 608px; top: 201px; } #apDiv1 form table tr td { font-family: "Trebuchet MS"; } </style> </head> …

Member Avatar for oldezwe
0
262
Member Avatar for hwoarang69

trying to user left margin 50px on this link but it no working. index.php echo "<a href=\"zoom.php?img={$row['image_id']}\"> <b id='bold2'>" . $image_short_name_db . "</b></a>"; c.css .bold2 { margin-left:50px; }

Member Avatar for blocblue
0
101
Member Avatar for Kniggles

Hi I have managed to set up a players database log-in with name number e-mail and am trying to get a buton on the players home page that when clicked adds one to thier total, Do I have to set up a new database for this or a new table …

Member Avatar for pritaeas
0
317
Member Avatar for Patiodude

I'm a PHP newbie, and I need to replace my current code for linking to a stylesheet (which looks like `<link rel="stylesheet" href="/style.css" type="text/css"> `) by a PHP alternative. If it's important, the code I'm using which will link to it is [php-mobile detect](http://code.google.com/p/php-mobile-detect/). The structure I wanted to use …

Member Avatar for veedeoo
0
200
Member Avatar for davy_yg

Cek this site: http://www.masterlink.co.id/ Cek the text which is out of order. I wonder how to keep the text in order eventhough I change the screen resolution for example to 1280 x 800 or 1024 x 768 px. index.php <html> <head> <title>Rustoleum</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="style.css" rel="stylesheet" type="text/css" …

Member Avatar for dany12
0
212
Member Avatar for saito200

Hi people! :D I'm new to html and css, aside of an artist. I am trying to create a template for art tutorials. Basically I want to have a series of rows, with a floating image to the left or right, and an explanatory textbox on the other side. The …

Member Avatar for saito200
0
151
Member Avatar for Octet

I am looking to create a PBBG game using HTML and CSS for the display and then PHP and MySQL to handle the game itself. It shall only be simple, click on this item and upgrade it if you have enough resources e.t.c. I am hoping to make it a …

Member Avatar for dany12
0
236
Member Avatar for miguel1810

I have done some designs in Flash and then converted them to HTML5 Swiffy Files via the google Swiffy Site. What I want to do is make the HTML5 Swiffy File a clickable link to another page on the website I am working on. My Question is... can a Link …

Member Avatar for dany12
0
98
Member Avatar for Despairy

Hi just had an assignment to make a nice looking html5/css website this is what i got so far https://dl.dropbox.com/u/67006557/EX2/home.html got any suggestions on stuff i can add to make it better? and also if anything is wrong with the html logic / css commands etc. tired of getting bad …

Member Avatar for dany12
0
104
Member Avatar for ben.matthews18

hi, i am trying to vertical align the text in a block; here's my current html and css - html - <ul> <li><a href="index.php">Home</a></li> <li><a href="aboutme.php">About me</a></li> <li><a href="portfolio.php">Portfolio</a></li> <li><a href="comingsoon.php">Coming soon</a></li> <li><a href="contact.php">Contact me</a></li> </ul> CSS - #nav ul{ margin:0px; padding:0px; overflow:hidden; } #nav li{ display:inline; padding:0px; list-style:none; } …

Member Avatar for JorgeM
0
196
Member Avatar for Violet_82

Hi guys, I wonder if you could clarify something for me. I am looking at some css examples and I have this situation here: html: ...<div id="news"> <h2>Latest News</h2> <p> Which member of the seminal calypso/lectro band <em>C&amp;C Music Sweatshop</em> was spotted last night at <em>Dirt</em>, the trendy New York …

Member Avatar for Violet_82
0
131
Member Avatar for rotten69

Hi everyone, I have had this question for a very long time and am not sure about fixing the problems with different screen sizes. Recently, I designed a website on 10 inch screen laptop and when I opened it on the other laptop that is 15 inch screen. I could …

Member Avatar for Oxiegen
0
156
Member Avatar for Violet_82

Hello there, I wonder if you can help me with a jquery issue. I am at the moment reading a book about it and there is an example in there, which you can see here http://antobbo.webspace.virginmedia.com/various_tests/worktest/chapter_03/09_animated_navigation/index.html If you hover on the navigation you will see the jquery effect kicking in …

Member Avatar for pritaeas
0
318
Member Avatar for ttback

I am trying to experiment with HTML5+Ajax client with a Java SOAP web service on the server end. I know that Ajax can use SOAP web service and it is not difficult. What about using Web Service through HTML5 Web Socket? I haven't found much about using a SOAP service …

Member Avatar for geg2024
0
66
Member Avatar for pritaeas

I'm looking for a short jQuery snippet to count how many divs I can have horizontally in my browser window. Basically, I'm using a fluid layout, like this: <div id="wrapper"> <div id="content"> <div class="foo" /> <div class="foo" /> Wrapper is 100% width, and foo about 250px wide. What's the simplest …

Member Avatar for pritaeas
0
221
Member Avatar for DAZL

Hey Guys, I'm struggeling with an idea of mine and hope there's someone here who can help me. **My idea:** A small gallery package, consisting of as few files as possible (html, css, javascript) that can read the /images folder in the same folder, and output those files to the …

Member Avatar for DAZL
1
256
Member Avatar for eduardar

How can I put the flag icons of my website (www.eduardlid.net) at the same place, but with a different size (24 * 24) (now it´s 48 * 48)? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML> <head> <meta http-equiv="content-type" content="text/ html; charset=UTF-8"> <title>Eduard Lid</title> <link rel="stylesheet" type="text/css" href="ex1.css"> </head> <body> …

Member Avatar for dany12
0
146
Member Avatar for Reliable

I made a website that has a floated div which contains the contact form. The entire website can be seen on all platofrms and on all browsers except for teh contact form. After some research I believe the floatd div is rpeventing the contact form from being viewed on tablets …

Member Avatar for dany12
0
149
Member Avatar for missc

i have a website that i did using html and i used google chrome while doing it. now when i'm testing it on internet explorer the buttons and texts are moving. what can i do ?!

Member Avatar for JorgeM
0
57
Member Avatar for Violet_82

hi all, is it possible to add more than an image in the css? I mean if the syntax goes: background-image:url('paper.gif'); background-color:#cccccc; How do I add more than 1 image? thanks

Member Avatar for Violet_82
0
94
Member Avatar for skran

Hello all! I would like your help please.. I have a datetimepicker and I want to use it for the time part only! So, I would like to disable its dropdown calendar.. Thank you in advance!

Member Avatar for poojavb
0
784
Member Avatar for baller_r

Im trying to build a drop down menu like the one on this site: http://www.debijenkorf.nl/. I know css and i have built normal horizontal menus before,but not with drop down menus. I would like some info on how to build this. Thanks.

Member Avatar for almostbob
0
110
Member Avatar for Patiodude

I notice that in some browsers, on some OSs, a field in a form gets a colored border. Is there any way to use CSS3, or possibly a JavaScript, to change the border color (as one can change the text highlight color on a given HTML page using CSS3)?

Member Avatar for dany12
0
238
Member Avatar for bilal_fazlani

-webkit-transition:left .4s ease-in-out .1s; -ms-transition:left .4s ease-in-out .1s; transition:left .4s ease-in-out .1s; -moz-transition:left .4s ease-in-out .1s; can anyone please tell why is it working in browsewrs but not in IE ? what am i missing ?

Member Avatar for dany12
0
134
Member Avatar for cereal

Hi! *Minimize HTTP requests*. One of the suggestion I always read is to combine files, so I made a little Class that merges files on the fly, the supported formats are CSS and Javascript. With little efforts, I think, it can work fine also with JSON and CSV. Usage is …

Member Avatar for cereal
1
335
Member Avatar for vaironl

Hello fellow Daniweb members, A relative is a film maker in a foreign 3rd world country, with poor services to help him construct a website for his films and small company. I, trying to be helpful, said that I could provide him with a model of what his website would …

Member Avatar for fred1
0
84
Member Avatar for sk8ergirl

Hello, I'm done with my html and css file and now I'm trying to start with the php , but after I type <?php ?> and then try to type > $name = $_post['name']; > line 9 <?php ine10 $name = $_post['name']; line11 ?> I get error "There is a …

Member Avatar for minitauros
0
231
Member Avatar for VasquezPL

I have a small problem, maybe you guys know how to avoid it. system.IO.StreamReader text = new System.IO.StreamReader(to the html path); while ((line = text.ReadLine()) != null) { newMail.HTMLBody += line } When I open html file directly from its folder where html file is,byclicking 2 times on it, All …

Member Avatar for VasquezPL
0
237
Member Avatar for |-|x

Just wondered if anyone knows if there is an MS equivalent of the [hidden](http://www.w3schools.com/html5/att_global_hidden.asp) property, which doens't work in IE. Or do I have to just use the style properties to set visibility/display because IE sucks so bad?

Member Avatar for Troy III
0
177

The End.