html

How to insert web forms into web pages made with WIX editor?

Hi, I have made a web page with WIX editor. They do not give you the HTML, but I got it with Mozilla "View""Code Source I have deleted some Wix adds but could not delete the hyperlink to Wix home. Does anybody know how to find it in the HTMNL code and remove it? Other issue: I want to insert a form but seems that all are not compatibl...

BlackBerry: [un]checking HTML checkboxes with JS not working

I am trying to check and uncheck an <input type="checkbox" /> by adding and removing the checked="checked" attribute using javascript (jQuery). It works great in Firefox & IE. Adding and removing disabled="disabled" works perfectly. But with checked, neither clearing nor adding the attribute does anything. I'm writing in XHTML 1.0 Stri...

How do I get multiple links to open in the same container?

Example: click first link, view contents. Click second link and have contents replaced with second link? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html> <head> <title>bq13 ----trying Stackoverflow suggestions</title> <script type="text/javascript" src="http://trans...

Good practices for writing HTML in Javascript

I was wondering about this if people have strong opinions about the best way to generate HTML on the fly, especially with Ajax based applications. Do you just create the HTML code using server side scripting and then send it out to the page or perhaps just return a JSON string and let Javascript do the job. In my personal opinion, th...

How can I get rid of the blank space under the website?

OK, so im working on this website for a friend. The homepage looks pretty good but im having a problem with the 4 pages that are linked at the top. Every time I click on them and they load but there is a big blank space at the bottom of the page. Its not a huge deal but I think it looks funny. Anyone have any idea whats wrong with it? Di...

determine when contents of html tag changes

Is there a way to determine when the contents of a HTML tag has changed? I would prefer to catch an event rather than polling it. My use case is I have text enclosed in span tags within a rich text editor, and I need to remove the span tags when the enclosing text is modified by the user. ...

select items from mysql

making a simple movie review site to practice PHP. on one page ( a form) i write a title and review and submit, it then adds the info to mysql. i'm trying to create a page where i can delete reviews i've written. i'm going about this by returning all titles into a form tag, where i can select on and then submit that form to a process pa...

CSS Issues - DIV Element Disappears

I'm having a lot of trouble with this, given the following HTML: <!doctype html> <head> <style> .nav { width: 26%; display: inline; float: left; margin-left: 2%; margin-right: 2%; background-color: #FF0000; } .content { width: 56%; display: inline; float...

CSS - Equal Height Columns?

In CSS, I can do something like this: But I've no idea how to change that to something like: Is this possible with CSS? If yes, how can I do it without explicitly specifying the height (let the content grow)? ...

Delete element from Mysql

hi, using a drop-down list that's populated from database fields, i need to select an option and then delete that from the database. i'm trying to do this by sending the form to a process php page where i pull in the select option from the post array and then delete it from the database and return to the index page. having issues with g...

Are there any disadvantages of using PHP compared to html?

I have a few pages out (not too many though) and I was just thinking that I might want to change all of the pages to php instead of html. I am planning on using php in the future, I am just not quite ready yet to make it my full-time language. I know anythign you can do with html pages, you can do with php pages, but I just wanted to kno...

Practical Difference between XHTML, HTML, AND XML

So here's what I understand (please correct if wrong) : HTML5 is the newest version (or at least soon to be released) of HTML and contains features that XHTML does not yet have XHTML served as MIME type text/html is equal to HTML for the purposes of rendering Converting from text/html to application/xhtml+xml is difficult because it's ...

Pull twitter profile image

Is there a quick way to pull twitter profile image in PHP or Javascript? I need to get the url of the FULL image (not avatar size). Thanks. Any code sample is good. ...

Simpler framework than Django?

Django installation itself was quite a task (for a beginner like me) and reading a book to learn it would not be possible right now. I'm just looking to create simple test applications only to learn Python better, so I'm not ready for Django yet. Is there any simple web framework that can be used for test projects, so I don't have to sp...

Attribute "lang" exists, but can not be used for this element.? W3C validation error.

I'm using this dtd <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt; <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"&gt; Error is for this attribute? <html lang="en"> Should i remove this from DTD? ...

CSS for Table headers,even odd rows?

My Table structure is like follows: <table> <thead> <tr class="navigation"> </tr> </thead> <thead> <tr class="headers"> </tr> </thead> <tbody> <tr class="even"> <td><a href="#"/></td> </tr> <tr class="odd"> </tr> </tr> </tbody> </table> I have defined following CSS ,how can apply "navigation","header","...

Regex with long HTML strings and <wbr>

I just found the <wbr> element (link) which basically lets specific an area where a break could apply if needed. Basically I'd like to implement it in my apps, to prevent breaking the layout due a comment in a blog with too many letters or signs. The problem is: it has to be HTML compatible, so averylongmadeupandunnecesaryunspacedword ...

CSS color of anchor element ?

Please refer to the image at: http://i50.tinypic.com/svgg2h.jpg I have defined CSS color(#000000) for my anchor tag inside a table. But that color is overriden by the color value of #content (#50922c) . How can I solve this problem? ...

change text size in textbox in html

How to change the textbox size in html. Like the one in twitter. ...

Semantically correct sitemap in HTML

I am trying to develop/design a main menu/site map for our website. The brief is that the menu should look like a directory tree and each item on the menu should either expand to reveal more menu items or link to another page on the site. On top of this, every item should have the functionality to be added to the sites "Favourites" app...