14,212 Topics
Hi, I am having trouble with the layout of a website I'm making. I'm not very good with CSS. So the trouble I'm having is that I want to have a horizontal menu bar that I want to center in my website. This menu can have dropdown children. The implementation …
<select name="country" id="country"> <option value="IN">India</option> <option value="PK">Pakistan</option> <option value="UK">United Kingdom</option> <option value="US">United State</option> </select> When a user selects a country and clicks submit php gets the **value=""** ie, country code instead of country name.
I need to create a dynamic HTML form using PHP. I am only considering the following fields : Text, Text box, Radio, Check Box, Drop down. I am thinking of the creating the following database design. Field ID | Field Type | --- Other Attributes, such as length and others …
Hi People.... I've got some issues with the front-end. Everything works fine in chrome and firefox, issue is with IE8 What I wanted was help in conditional statements for IE..... Is there any possible way to display 2 different contents in a page for IE and other browsers. I mean …
Hi Dani Web Community, I'm having trouble with the spry menu bar in CS3. My first problem is occuring in Safari, Firefox, Opera and IE. There is a horizontal scroll bar at the bottom of the page and if you scroll to the right there is a secondary sub menu …
Hi All, Can anyone see why this line dos not produce real links if they have "http://" add to them when added to the data base ? //---------------------------------------------- $result = mysql_query("SELECT * FROM track ORDER BY rand()");while($row = mysql_fetch_array($result)) { echo '<td> <a class="mylink" target=_parent href="http://', $row['car'],'">',$row['tag'] . "<br>"; } …
Hi :), I'm sorry if I've posted this in the wrong section, but I was just wondering if anyone could help me with my CSS code? For one of my uni modules, I have to design a simple website with 5 webpages and 3 CSS. Basically, I messed my code …
Hi all, first post here. I was wondering if anyone knows how to format H1 headlines (titles of blog posts) when they are long. The problem is, if the headline goes onto two lines, it appears all scrunched up and squished. I could jsut make them all h2 tags instead, …
This should be simple , but the explanations in books and tutorials don't make sense to me. what exactly does the clear property do? I want to know exactly ,EXACTLY what it does. Take for example this code: p.one { width: 200px ; float: left ; clear:both; } p.two { …
i am trying to make an image align to be vertically centered. As it works perfect in all browser except IE7 . I already tried a lot. here is my css and div. .vertical_align_center{ background: none repeat scroll 0 0 #FFFFFF; display: table-cell; height: 209px; line-height: 209px; margin: 4px; text-align: …
hello all,,i added a pagination in my table,,before that,all the button is working,but now after i add a pagination,the image button is not now working....is any problem in my codes,this is my comple codes: hope someone help me out again.. <?php if(!isset($_COOKIE['POGI'])) { header("location:index.php"); } ?> <?php include('config2.php'); ?> <?php …
Hello, I'm working on Javascript and I have created a drop down list box. In my attached example I have a list of LS1,LS2,LS3,LS4 (as reasoncodes) My question: is there a way to create a mouse over in this drop down box to display text(Description pertaining to the reason codes) …
hello please how can import just one SCROLLING for all page same this  <html> <frameset NORESIZE SCROLLING=yes rows="33%,60%"> <frame SCROLLING=no NORESIZE src="bannar.php" name="up"> <frameset FRAMEBORDER=NO cols="10%,80%,10%"> <frame NORESIZE src="" > <frame SCROLLING=no NORESIZE src="home.php" name="down" > <frame NORESIZE src="accounts_page.php" name="account" > </frameset> </frameset> </html> please help me
Hi everyone, I'm new to the forum and relatively inexperienced at web publishing as well. I'm currently administering the following website: [url]http://latmont.org/[/url] I've set up the website to work with an external CSS style sheet that is linked from the header in each web page. The style sheet was created …
Hello there, I'm a newbie in regex in c#, and I have a problem in parsing the html tag using regex in the <span> tag. here the html file that i want to get the value. <li><span>Date of birth</span>December 16, 2000 (Age: 12)</li> i want to get the December 16, …
Hello! 1st let me apologize if I have duplicated a post. I am a newbie to DaniWeb (and to Java and HTML) and have searched your forum for a few hours now and not found and answer to my problem. I was hoping someone could help. I have a simple …
Hi I am trying to allow users to update records in a MySql database through php forms. One problem I am having is with a drop down field for dates. I want to echo the date already in the database so that the drop down menus is set to that …
Hello all, I have an interesting bug in a calculator I have written. I've snipped the code done to something to get an idea of the calculator. So, if I clilck on Imperial, I can't seem to put input into my text boxes. However, if I press my TAB button …
HI there, I am having some issues with position fixed. I am trying to replicate this layout http://www.csszengarden.com/?cssfile=/213/213.css&page=0 This is what I came up so far antobbo.webspace.virginmedia.com/test/test.htm. All good, but I had an issue and I can't figure out what it was causing it. At the moment the fixed image …
I have a problem with getting the center DIV the same height as the 'bodyContainer' DIV I have tried adding height:100% to the HTML tag and the inherit to the child divs, but this causes the page to always be 100% or seem like it is actually 150% and the …
Hi folks! I got a little problem with my assignment. The idea is to create online bookstore. As far didn't have much troubles with the project, until now. Problem occures when I'm trying to update/delete an entry to mySql. if you take a look at line 93 - there is …
i want to know how to use css with html forms i have css button <style> a.btn { display: block; width: 120px; height: 18px; padding: 18px 0 0 0; margin: 0 auto; background: #398525; /* old browsers */ background: -moz-linear-gradient(top, #8DD297 0%, #398525 100%); /* firefox */ background: -webkit-gradient(linear, left …
<?php include("include/dbc.php"); include("include/connect.php"); session_start(); $error="style='display:none;'"; $submitcheck=$_POST['submit']; if($submitcheck==1) { if($_POST){ $user_name=addslashes($_POST['user_name']); $password=addslashes($_POST['password']); $query1=mysql_query("SELECT * FROM tbl_login WHERE user_name = '$user_name' and password='$password' and user_level='1'"); $query2=mysql_query("SELECT * FROM tbl_login WHERE user_name = '$user_name' and password='$password' and user_level='2'"); $query3=mysql_query("SELECT * FROM tbl_login WHERE user_name = '$user_name' and password='$password' and user_level='3'"); $query4=mysql_query("SELECT * FROM …
Hello everyone I created one canvas and draw one line on it I want to move this line using mouse on the canvas How to move line on canvas because using draggable function it cant move so pls help me.
I need to make a contact form on a website that will send comments to an email. I have designed the html file but i'm not sure where to beggin with adding the file or code that will support this function. So far i have learnt that it can be …
hi i want to move from one applet that is displayed in html to another applet that is also displayed in html how i can do that thanks for help
Hello; I am working on a web page that I have designed to take up 75% of the monitor. Presently this web page when loaded auto aligns to the left side of my monitor. While it looks fine I would prefer it to be centered on my monitor. I have …
hey my project is discussion forum. i want formatting bar for writing topics description or question describe . how can i get formatting bar in asp.net
Hi, I'd like to edit database with quickedit, the script is work fine if in the first page, but if in the other page it go to top page again when I click on it. How to fix so it won't reload to the top page. Here is the main …
How do I get the results of this to be on the same line? I would like it to say From Atlanta + away New York on the same line. It is currently putting the second selection on the next line. Sorry for the dumb question. I'm new to this. …
How to some div value export to xml with tag in php code. I search my site and from div value export to external xml file. ?php $some_link = 'http://www.popusti.rs/'; $tagName = 'div'; $attrName = 'class'; $attrValue = 'offer-list-item'; $dom = new DOMDocument; $dom->preserveWhiteSpace = false; @$dom->loadHTMLFile($some_link); $html = getTags( …
Ok so i have been searching but this specific part i cant get, how do i echoinformation from my sql database with php into my div so i keep the same formating <div class="wrapper pad_bot3"> <figure class="left marg_right1"><img src="images/page1_img4.jpg" alt=""></figure> <p class="pad_bot1"><strong class="color2">Chateau Lingfield</strong></p> <p class="pad_bot1"><strong class="color2">3 baths, 6 beds, …
  I'm trying to achieve this animation from last week. Please help me. What I want to do,- 1. How to draw centered position circles with small cut at different angles 2. When clicked on logo display menus to bottom or right to circle 3. When clicked …
Hello, I have a menu in a webpage. I am looking to make the code reusable for another page, that way I can manage the links in one place rather than multiple page. Anyone know a way to do this? Thanks Drjay
Hey Guys, I came across the 'required' attribute for input tags in HTML5, and it just super handy. But I was wondering, if there is workaround for dependent inputs using just the required attribute. Like: Say I have a select box, which has certain options. Depending on the user selection, …
My ultimate goal is to save rendered presentation MathML to a .PNG file. Knowing just enough about programming to be dangerous :-) there may be a better way to do this...I am drawing the equation on a canvas element, then trying to save the canvas element as a .PNG. I …
Hello dear DaniWeb members I have a problem with the new site I´m making nad I was wondering if anyone could help me. Well its because I have big content box where I´m keeping 2 news boxes in and a right box but when I put the boxes to have …
Hey, i've tried to convert a free CSS template to fit into a CMS. it looks like that: http://www.airlinesofisrael.com/phpvms.full/index.php/ i belive its a CSS problem can someone help? My CSS file is below: * { padding: 0; margin: 0; outline: 0; } body, html { height: 100%; } body { …
Hello, I need some help with understanding floats. I have a div named holder, which as the name suggest, is a holder. Inside this holder I have 2 containers. One is the left container and the other is the right container. HTML <div id="holder"> <div id="contentleft"> <p>This is a paragraph. …
I built this web page with unordered list in the content div tag. But it does not look right. It should be 5 unordered list accross and then on the next row another 5. <!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>Canada-Accessible</title> <link href="css/main.css" …
Hi, Though I am not using IE8, just posting it for feedback. Menus dont work properly. I am using Firefox with adblock. In IE it maybe due to flash ad just where menus appear. Dont know just posted it to report bug :)
hello, i want to display social icons on images like facebook. is there any way to embedd? Thanks
Hi there, during developing website for my father's company ( [website](http://www.pgum-sill.pl/nowa_strona/index.html) ) I find out that I have problem with personalization of different lists. In this case I wanted to make a floating menu like thise one here: [Floating Menu](https://d2o0t5hpnwv4c1.cloudfront.net/018_Floating_Menu/demo/dhtml_float_menu_final_nettut.html) (this page is from this [Tutorial](http://net.tutsplus.com/tutorials/html-css-techniques/creating-a-floating-html-menu-using-jquery-and-css/)) At the pages above …
Can I use the html <a href></a> tag as a python form submit input type?
i have placed a text box with onclick and onblur event. onclick shows contents(links) of a div tag below it and onblur hides the div basically it was a jquery based drop down menu but due to some problem I need to avoid jquery. Now the problem happens when a …
Hi I am working on a project in CSS and xhtml but when i tested the layout on different browsers i identified a problem in positioning of elements. To be precise, the navigation bar renders well in firefox 11 for ubuntu canonical 1.0 but seems not to work in IE, …
Hey everyone, Recently, I have developed a website for my project and was using a 10-inch laptop during the development time. It looked fantastic on a 10-inch screen. However, I faced a problem with the width (CSS properties needed to be changed) of navigation bar on the top when I …
I'm getting user's profile picture along with their name from database and populating them in a div inside an anchor tag. The <a> tag is used so that we can click on any result and it takes to that user's profile page. I tried many codes to traverse the search …
Hey Im trying to make the typical options box where you cant click the parent (so to speak) box, you can only access the options window unti you close it. For a example of what I mean, in IE, click on Tools and Internet Options. That dialog box is the …
Hi, i'm just trying to make a simple 'contact us' form which emails me with the contents of each form field, here's what i have: HTML -------- <form action="contact.php" method="post" name="contact"> *Full Name<br /> <input name="name" type="text" /><br /><br /> *Email:<br /> <input name="email" type="email" /><br /><br /> *Message:<br /> …
The End.