So, i'm working on a layout that has to be in xhtml.. i changed the extension from html > xhtml and i got this prompt.. "This page contains the following errors: error on line 15 at column 8: Opening and ending tag mismatch: link line 0 and head Below is a rendering of the page up to the first error" <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title></title> <meta name="description" content=""> <meta name="viewport" content="width=device-width"> <link rel="stylesheet" href="fonts.css"> <link rel="stylesheet" href="normalize.min.css"> <link rel="stylesheet" href="main.css"> </head> <body> <section> <header> <!-- TOP SECTION OF THE LETTER --> <div id="name-address-from"> …

Member Avatar
Member Avatar
+0 forum 2

I wrote a web page with one Russian word in it, using the Cyrillic alphabet character entity names (found in a list of all Unicode characters that I have). The page works fine in every browser I tried. But the W3C validator won't validate the page because the Cyrillic character entity names were used. It validates if I use the Unicode numbers instead, but that is such clanky programming. It reminds me of having to type in the ASCII code for every character the program displays in assembly language programming. Why can't we have the better programming practices? W3C seems …

Member Avatar
Member Avatar
+0 forum 14

Hi, I have several image tags overlapping using css and am able to use hover to make the one selected move to the top of he pile. #gallery img{ float: left; width: 250px; height: 250px; position: relative; } #gallery img:nth-child(2) { left: -200px; } #gallery img:hover{ z-index: 10; } I am unable to make the hovering item stay on top of the pile `img:active` does not work. If i add anchor tags around the image tags the positioning does not work. I am not sure what to do.

Member Avatar
Member Avatar
+0 forum 5

this is my search.php , however once user has view one data user will want to update one location / status . I can not do the Edit.php . Can someone please help me ? Search.php <html> <head> <title>::Home</title> </head> <body> <div id="header"> <img src='banner.png' align='middle' width='101%' height='110%'> </div> <div id="navigation"> <div class="mainMenu"> <ul> <li> <a echo ; href='main.php' >Main</a> </li> <li> <a echo ; href='aduanbaru.php'>New Complaint</a> </li> <li> <a echo class='selected'; href='bor_semak_aduan.php'>Complaint Status</a> </li> </ul> </div> </div> <div id="content"> <?php if($_GET) { $search=$_GET['search']; $connect =mysql_connect("localhost","root",""); if($connect) { mysql_select_db("final",$connect); $query = "SELECT * FROM myaduan WHERE id='".$search."'"; $results = mysql_query($query) …

Member Avatar
Member Avatar
+0 forum 2

hi am having problem to deploy my java web application. I'm using myEclipse for spring 10 and tomcat 7. am having these errors: org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/projectname] startup failed due to previous errors Anyone know how to solve this issue?

Member Avatar
Member Avatar
+0 forum 2

Hey guys im using notepad++ to create a strict dtd xthml web page but im wondering if there is a more helpful and visual software for CSS ? something to guide me along a user friendly path and give me a basic visual preview of how my page will turn out any good recommendations along with expereinces out there would be helpful much appreciated

Member Avatar
Member Avatar
+0 forum 2

Is HXTML a library of HTML? Do I include an 'XHTML' include file to use XHTML? I'm just wondering how I use it. Thanks

Member Avatar
Member Avatar
+0 forum 8

Hey! I am an experienced programmer (php, javascript, mysql, some ajax) who is looking for an experienced and competent graphic and/or web designer with whom to create a text-based RPG. I will assume the financial risk and the programming responsibilities. I need someone to make the banners, logos, icons, and the layout for the game possibly including the CSS. Also looking for someone creative to help with content development (brainstorm with me to design the game). You will recieve a percentage of the profits once the game becomes profitable. If you meet this criteria and are interested please email me …

Member Avatar
Member Avatar
+0 forum 1

What does this mean? **Error Line 95, Column 56: end tag for "input" omitted, but OMITTAG NO was specified** <td><input type="button" value="Add to Cart"></td**> You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". **Info Line 95, Column 11: start tag was here** <td>**<**input type="button" value="Add to Cart"></td> I thought the element was closed properly. What am I doing wrong here?

Member Avatar
Member Avatar
+0 forum 2

Hello. I am doing an assignment. I just need someone to validate that I did it correctly. According to the book I must: "set the default namespace for the document to the XHTML namespace". I'm a bit confused as to how to do it, but I did this: <?xml version="1.0" encoding="UTF-8" standalone="no" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/html"> I had to do it under XTML 1.0 strict DTD. It also should use the CGI script at http://wizardworks.com/cgi/cart. Again, I'm not asking someone to do my homework for me. I just need suggestion as to what …

Member Avatar
Member Avatar
+0 forum 3

Hi all, I have a new form that is not responding in the Firefox browser and I can not figure out why. The code is: <form action="http://www.hostmonster.com/monstermail" enctype="multipart/form-data" method="post"> <fieldset id="contact"> <label for="fName">First name</label> <input name="fName" id="fName" required="required" /> <label for="lName">Last name</label> <input name="lName" id="lName" required="required" /> <label for="biz">Company name</label> <input name="biz" id="biz" /> <label for="phone">Phone</label> <input name="phone" id="phone" type="text" /> <label for="email">Contact Email</label> <input name="email" id="email" type="email" required="required" /> <label for="message">Message</label> <textarea name="notes" id="message" required="required" > </textarea> </fieldset> <p> <input type="hidden" name="sendtoemail" value="mobile@badgarden.com" /> <input type="submit" value="Send" /> <input type="hidden" name="redirect" value="http://www.badgarden.com/emsuccess.htm" /> </p> </form>

Member Avatar
Member Avatar
+0 forum 8

I did a page for adding and viewing activities in a project. The table linked with that page has an UNIQUE constraint for the activity code. As a result of which when i add a new activity with existing Activity code, it is not accepted and gives a runtime error like this > Error given by Compiler Internal Exception: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "activity_activity_code_key". Is there any way with wihich i can implement this as a custom exception so that it gives a error message to the user that " activity code already exists". I'm attaching …

Member Avatar
Member Avatar
+0 forum 1

Actually i'm planning to make a user registration page over swings and i decided that there should be a constraint that people with age below 21 cannot register. I want to make a validation of the date input of the user by calcualting the age and checking with if loop. For example : if my users input is: 21/06/2006 the code should extract the year from the input and from the current date, calculate the age and verify it with If loop. Is it possible to exrtract the year from the input... Any Built-in functions??? Pls help in this context …

Member Avatar
Member Avatar
+0 forum 12

Firefox HTML Validator [CODE] Firefox HTML Validator: front-page.php Result: 75 errors / 23 warnings Info: W3c Online Validation line 43 column 20 - Error: document type does not allow element "div" here; assuming missing "body" start-tag line 56 column 15 - Error: ID "body" already defined line 47 column 14 - Warning: ID "body" first defined here line 56 column 20 - Error: document type does not allow element "div" here; assuming missing "li" start-tag line 58 column 10 - Error: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag line 58 column …

Member Avatar
Member Avatar
+0 forum 2

Hi, i have a marquee on my page which looks like the following ------------------------------------------------------------------------------ |Picture(div)-|-Marquee(div)--------------------------------------------| |---------------|--------------------------------------------------------------| |---------------|--------------------------------------------------------------| ------------------------------------------------------------------------------ so my marquee stops at the picture and starts again from the beginning . here picture is a square area but i want to use some curved image to that place and marquee should stop at the curved image(next example). Since it's not a straight line i don't have an idea how to do this with divs or anything. please help me.. ------------------------------------------------------------------------------ |Picture(div)*--Marquee(div)--------------------------------------------| |---------------*--------------------------------------------------------------| |-----------------*------------------------------------------------------------| --------------------*-----------------------------------------------------------

Member Avatar
Member Avatar
+0 forum 5

Hi, i'm really new to jquery and i don't know how to solve this. i added following code to blink a div. initially mypopup div is hidden. and 10 seconds after page was loaded this div appears. because of this toggle() method div displays for 10 more seconds before hiding again. if i want to show that div only for 3 second what can i do??? [CODE] <script type="text/javascript"> var blink = function(){ //$('#mypopup').css({left:0px, top:0px} $("#mypopup").css({"left": "0px"}); $("#mypopup").css({"top": "0px"}); $('#mypopup').toggle(); }; $(document).ready(function() { setInterval(blink, 10000); }); </script> [/CODE]

Member Avatar
Member Avatar
+0 forum 3

hello to *.. I am new in php can you please help me here! cant insert my data into my database. [CODE]<?php error_reporting (E_ALL ^ E_NOTICE); $add = $_POST['add']; //Add button $date = $_POST['date']; $project = $_POST['project']; $task = $_POST['task']; $originated = $_POST['originated']; $incharge = $_POST['incharge']; $deadline = $_POST['deadline']; $status = $_POST['status']; $comment = $_POST['comment']; $fin = $_POST['fin']; if ($add) { if(is_array($incharge)) { foreach($incharge as $val2) { $con = mysql_connect ("localhost","root",""); if (!$con) { die ('Not connected to DB' . mysql_error()); } mysql_select_db ("profound_master", $con); $sql = "INSERT INTO bulletin VALUES ('','$date','$project','$task','$originated','$val2','$deadline','$status','$comment','$fin')"; if (!mysql_query ($sql, $con)); { die ('Error Sir' …

Member Avatar
Member Avatar
+0 forum 5

Good day to *. I having this kind of error when i tried to view all my data in the Database. [CODE]Warning: mysql_query() expects parameter 1 to be string, resource given in C:\wamp\www\pm website\php\bulletin_board\bulletin_board.php on line 51 Error Sir[/CODE] and here's my code. [CODE]<?php $con = mysql_connect("localhost","root",""); if(!$con) { die ('Could not connect to DB' . mysql_error()); } mysql_select_db("profound_master", $con); $view = mysql_query("SELECT * FROM bulletin ORDER BY pro_no DESC"); if (!mysql_query ($view, $con)) { die ('Error Sir' . mysql_error()); } while ($row = mysql_fetch_array($view)); echo "<table>"; echo "<tr id=\"boardLetter\">"; echo "<th width=\"46\">".$row['pro_no']."</th>"; echo "<th width=\"56\">".$row['date']."</th>"; echo "<th width=\"138\">".$row['project']."</th>"; echo …

Member Avatar
Member Avatar
+0 forum 2

Hello. Currently I am using XP and I wanted to save a CSS-file, yet I cannot save it correctly which results in the fact that I cannot properly link to it, meaning that every style I try, will not be accomplished. Can anyone help me? I'm grateful for any reply.. :)

Member Avatar
Member Avatar
+0 forum 4

Hi I have a joomla site with one flash based video in it. Of course people are now saying "It doesn't work in iPads". I was thinking about using the <video> tag in html to get round this - can I just simply put a <video>... </video> tag in the middle of the php template. Do I need to worry about the fact that the page will have an xhtml 1.0 transitional doctype? Am I right in thinking this will work because the html4 browsers will just ignor the extra tag and whatever is in between it? Doesn't feel like …

Member Avatar
Member Avatar
+0 forum 2

hello. I just started learning html, xhtml and css 2 months ago. I am learning with the head first html, xhtml and css book and so far everything is fine, yet I don't get certain things concerning css. so I created a css file in my notepad in order to link to it in my xhtml files. now they try to teach me classes. here is an example: <h2>Green Tea Cooler</h2> <p class="greentea"> <img src="../images/green.jpg" alt="Green Tea Cooler" /> Chock full of vitamins and minerals, this elixir combines the healthful benefits of green tea with a twist of chamomile blossoms …

Member Avatar
Member Avatar
+0 forum 4

I'm working on a simple XML/XSLT file that is just meant to display a list of books on a very simple html layout. The files were created to learn XML and XSLT. I have since created two XSLT files that use the same XML. One displays the information in a single column within in the <div id="content"></div> tags. This one works perfectly. The other displays the list in three columns. The problem I am having is that while the <xslt:apply-templates /> tag is withing the <div id="col"></div> tags, it is ignoring the content and wrapper divisions above it. [B]The XML:[/B] …

Member Avatar
Member Avatar
+0 forum 3

I am unsure how to describe this question, but I'll try my best. I am building a website in XHTML and have the text in a div over the background, which contains a box that I position the text in. Is there a way to get the box in the background to expand down when there is more text than box? If not, what is the best way to stretch the background box down to fit more text in? One more issue I am having! The bulleted list will NOT display bullets. I think I have tried everything, but hopefully …

Member Avatar
Member Avatar
+0 forum 4

I'd like to introduce myself as Sandeep (CEO, Web Designer and Developer) at Designing Studios. My frdz call me "DeepU" Intersted in Business Network, Freelancing, Web Design and Development and PSD to Html Services.

Member Avatar
Member Avatar
+0 forum 1

Howdy, First off, I should say that I am jumping on posting this issue much quicker than I normally would - but I'm not really in a patient mood now, and I'm far from being a fan of anything the W3 has done. Anyhow, I am in the process of going through a CMS I've built the past decade and cleaning up its markup so it validates (XHTML Strict). I've run into a little hitch and was wondering if there is a simple solution, or if this is another one of the many restrictions XHTML seems to impose. I understand …

Member Avatar
Member Avatar
+0 forum 3

Hi, this is the error that I get..please help me debug is...the source code is below the errors...thanks the website must look something like this [url]http://www.sis.pitt.edu/~arazeez/index.html[/url] * Line 20, column 40: document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag <table width = "100%" cellspacing = "0"> * Line 77, column 38: document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag <table width="100%" cellspacing = "0"> -------------------------------------------------------------------------------------- 1. <?xml version="1.0" encoding="UTF-8"?> 2. <!DOCTYPE html 3. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" …

Member Avatar
Member Avatar
+0 forum 5

Thank you for reading, I am currently trying to pass through a project or whole sites containing many pages to determine wether they are xhtml-strict or not with a local xhtml-strict.dtd file. I cannot go through a webservice it would be too overkilling for server and host might even probably block my requests. Here is how I currently do it. [CODE] public void Execute(string xml, string dtd) { Errors = new List<string>(); XmlReaderSettings settings = new XmlReaderSettings(); settings.ProhibitDtd = false; settings.ValidationType = ValidationType.DTD; settings.ValidationEventHandler += new ValidationEventHandler( ValidationEventHandler ); // Create a local reference for validation string newDoctype = string.Format("<!DOCTYPE …

Member Avatar
Member Avatar
+0 forum 2

Ok so i have a template script my friend built for me. I'll include all file names OK so what is not working is file_get_contents is not grabing the content (1 I don't know where the content should be placed and 2 i want it placed in a directory so that IF i change the template the area where content stays is the same. I'm trying to get file_get_contents to load the links ?=about ?=services etc to load in to body.tpl in the contents div please any help is apperciated. <file.class.php> [CODE]<?php $file = new file(); class file{ var $path …

Member Avatar
Member Avatar
+0 forum 5

YT spits out invalid xhtml for embed code, so have been trying to get to grips with validating pages with embedded videos. Came across this today. Any thoughts? Does it work with all browsers? I've got the modern ones - so can't test the oldies. [CODE]<object type="application/x-shockwave-flash" data="[B]http://www.youtube.com/v/vUzTQWn-wfE&amp;hl=en_US&amp;fs=1&amp;rel=0[/B]" width="400" height="326"> <param name="movie" value="[B]http://www.youtube.com/v/vUzTQWn-wfE&amp;hl=en_US&amp;fs=1&amp;rel=0[/B]" /> <param name="FlashVars" value="playerMode=embedded" /> </object>[/CODE] (I just took a random video). Seems not to like Chrome?

Member Avatar
Member Avatar
+0 forum 2

ok so in order here is my code [TEX]/* index.html */[/TEX] [CODE] <!-- jQuery Scripts --> <script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.2.6.min.js"></script> <script type="text/javascript" src="http://tdr.host22.com/scripts/li.js"></script> <link href="http://tdr.host22.com/scripts/tdr.css" rel="stylesheet" type="text/css"> <!-- Div Layout --> <div id="container"> <div id="dp">my DP here</div> <div id="hrefs"> <ul id="menu"> <li><a id="home">Home</a></li> <li><a id="about">About Me</a></li> <li><a id="shop">My Shop / Wishlist</a></li> <li><a id="friend">My Friends</a></li> <li><a id="vids">Wicked Videos</a></li> <li><a id="music">Music Playlist</a></li> <li><a id="pics">My Pictures</a></li> <li><a id="ranks">My Rankings</a></li> <li><a id="stuff">Random Stuff</a></li> <li><a id="read">Read Messages</a></li> <li><a id="leave">Leave a Message</a></li> </ul> </div> <div id="content"> TDR Content <div id="loading"> <img src="images/loading.gif" alt="Loading..." /> </div> </div> </div>[/CODE] [TEX]/* li.js */[/TEX] [CODE] $(document).ready(function(){ //References var sections = $("#menu …

Member Avatar
Member Avatar
+0 forum 4

The End.