html

<button> behavior in Firefox vs IE

I have a table, and at the end of each row, there is a button so the user can delete that row. I'm doing it like this: <td><button type=submit name=delete value=1>delete</button> <td><button type=submit name=delete value=2>delete</button> <td><button type=submit name=delete value=3>delete</button> <td><button type=submit name=delete val...

What does a browser consider as a page?

Hello, a) What does a browser consider as a page? Assume monitor has a resolution of 800*600 and we expand browser to take the whole monitor surface area A1. If we resize a browser to an area A1 ( A1 < A) such that it still captures the whole html document ( thus we don’t have to scroll ), then browser considers A1 to be the whole p...

write webpage with links to files in different directory

I am now creating a html webpage under $HOME/public_html on a Linux server. I want to make some pictures show up in the webpage. These pictures are stored under some different directories than $HOME/public_html, e.g. $HOME/dir1, $HOME/dir2... I write the full paths for these picture files in the webpage and change the permission for al...

How to remove gaps between FRAMEs without hurting HTML validity?

I know frames are bad. However I have to stick with them a little longer. My problem comes from the non-standard "border" attribute of the "frameset" element: <frameset border="0"> ... </frameset> If I don't use that attribute browsers put a gap between each frame. If I use the attribute, HTML validators throw error about "unsupporte...

Form Problem in ONLY IE6 and IE7

For some reason the form inputs are pushing off the left margin.. I have no clue why! Below is the link.. http://mimedx.com/mg/contactus.php I have no clue why this is happening. Probably Microsoft being Microsoft and having some random rule that conflicts with standards.. CSS: #content form { overflow: hidden; width: 550px; } #co...

Obtaining the functionality of Flex Tile Container in HTML

The Flex tile containers will create and remove tiles as the data changes and seems good to use in areas where the content is dynamic. How to implement this functionality in HTML? I guess that we need to use some JS and/or CSS. Any inputs? ...

How to protect HTML navigation

Hi! I am writing software for an elearning platform. Validation is performed via PHP and MySQL. All content is uploaded into a folder protected for all direct access by HTACCESS and content is only served to users via a PHP routine that validates student credentials and then Fopens the file and sends it to the browser. This is ok for a...

Compare/contrast HTML, XHTML, XML, and HTML5

Ok, so I'm not quite sure the difference between these languages. Could someone clarify? I know that XML has user-defined tag and html is pre-defined, but thats basically the extent of my knowledge. I know that HTML5 is supposed to replace HTML, but wasn't XML supposed to do that as well? Basically, which languages here are a substit...

Why doesn't this simple jQuery toggle animation work properly?

Your help would be very very much appreciated. I spend 4 hours trying to figuring this out, but was not successful, albeit it is a very easy example: Given the following (full running and Copy and Paste ready) example, I have two Strange Problems (occurring both on IE and Firefox): 1.) When having the line <div id="notexid" style="clea...

Stacked images in HTML email template have a space between them

I'm building a template for an HTML email I'll being sending via .NET. I don't do this often and I know I have to stick to tables and inline CSS. I just sliced up some images and I have two that need to stack. I understand there are issues with this in terms of whitespace in the HTML code. As a result, I've tried it all on one line, e.g....

jQuery table sort function only sorting one-way

I'm working through a jQuery book and am currently on the chapter of table sorting. Using the example code in the book I've set up the following test scenario, when I click on a column heading it correctly sorts the data one way (ascending), but when I click on the same column heading again nothing happens (I'm expecting the data to be s...

CSS3 box-shadow, all sides but one?

I've got a tabbed navigation bar where I'd like the open tab to have a shadow to set it apart from the other tabs. I'd also like the whole tab section to have a single shadow (see bottom horizontal line) going up, shading the bottom of all tabs except for the open one. I'm going to use CSS3's box-shadow property to do it, but I can't f...

Positioning DIV

Hey Guys, I'm looking to deconstruct some javascript I found for a lightbox plugin on a site. I was curious if someone could help to decode this piece of script? I would like to implement it into my jquery but need to discern what I can use what I cannot. Currently my issue is that my positioning jquery aligns my div to the vertical...

jQuery .live() "click" event being unbound when new matches are added to the DOM

Here's the problem I'm having. I have two jQuery .live() events, both for click events. These are initialized at the beginning of the page's load; they then wait until items matching the selector come along and are clicked on. Now, the problem with these is that when an item is added to the DOM that matches the selector, the live even...

Drop Down Box Keeps flickering - JQuery and CSS

I am having difficulty with something really basic. I am trying to implement a drop down box with JQuery and CSS. I can not figure out why my drop down box keeps flickering when I hover over the "Products" link. Here is a demo of what I am working on. http://174.132.101.73/~ree/header/ I would appreciate any help on this. Edit Well t...

jquery cloning html problem, update DOM?

Hi, I need help of javascript / jquery experts to solve the next problem: ---- 1. this javascript alerts the id of a selected option in a select html tag: $(function(){ $("#id_productos_list").change( function(){ var op = $(this).selectedValues() alert(op); } ); }); ----2. this javascript clone html code: ...

Javascript Text Insertion Not Working in Chrome?

Hey guys, this bit of code works in IE but not in Chrome, any idea why? <script type="text/javascript"> function fillreply(commentID){ var item = document.getElementById("replyto"); item.value=commentID; } </script> ... ... <div id="makereply" class="hidden">Reply to: <input type="text" size="6" ...

Cannot type in text input in IE

I've been searching around for an answer to this one and I can't seem to find the solution. When I mock-up a simple HTML page with a single text input on it, I'm not able to type in it in IE6 or IE7. The HTML below is exactly what I'm testing this on. <html> <head> <title>Input Test</title> </head> <body> <input t...

Should the IFrame be dead by now?

I was talking with a colleague about a problem we were having and he suggested that one possible solution was to use an IFrame. I haven't needed to use an IFrame for he last 5 years and I've done full time web application development, but it made me wonder if the concept of the IFrame and Framesets is something that is supported by brow...

Autogrow jQuery Plugin on dynamic content in Internet Explorer

Hi I am using plugin here http://plugins.jquery.com/project/autogrow and I got a problem in Internet Explorer and Chrome (Not Firefox) See code below: <script type="text/javascript"> $(document).ready(function() { $('#main').html('<textarea class=\"test\">aaaa</textarea>'); $('.test').autogrow(); </script> </head> <bod...