XHTML or HTML 4.01 ?
What is your preferred format for html content? Why do you choose one over the other? ...
What is your preferred format for html content? Why do you choose one over the other? ...
Hi, I'm using the excellent Jalbum to create a photo album for a website. Each page of the generated photo album is a complete webpage, so the recommended way to embed the album within a website is to use an iframe. A problem arises when I want to style the images contained within the embedded iframe. If I add a rule such as: img { ...
Anybody knows how wishfi injects advert code into a loading page? wishfi ...
The HTML standard for forms appears to be such that disabled input elements do not contribute to the form name/value collection. Is there ANY way to get around this? I need to be able to toggle disable on and off but still return whatever the value is when the form is submitted. I realize that I can use JavaScript to copy the value to...
Hi, I have a website which consists of a bunch of static HTML pages. Obviously there's a lot of duplication among these (header, menu, etc). The hosting company I plan to use supports PHP, which I know nothing about. Presumably PHP provides some sort of #include mechanism, but what changes to I need to make to my HTML pages to use it? ...
Hi all, i want to know how can we select more than one option from a select box like given below: Colors Black White Tan Navy Royal Blue Red Yellow Hunter(Dark Green) Kelly(Green) Burgundy Thanks ...
Hi, For example, there is this website: www.azet.sk On the right, there is login and password, I'd like my application to login to this web application and retrieve the data from my own account to C# (.NET) application and work with it. The aim is to keep the "logged in" connection alive and send vars using POST method. Is there any tu...
I'm looking for a way to insert a <style> tag into an HTML page with javascript. The best way I found so far: var divNode = document.createElement("div"); divNode.innerHTML = "<br><style>h1 { background: red; }</style>"; document.body.appendChild(divNode); This works in Firefox, Opera and Internet Explorer but not in Google Chrome. A...
I wish to download a web page, which may be in any possible text encoding, and save it as UTF16LE. Assuming I can determine the text's encoding (by examining the HTTP header, HTML header, and/or BOM), how do I convert the text? I am using Delphi 2009. Unfortunately, the help files do not explain how to get from any encoding to a Unico...
I am using FancyBox to generate a popup image. FancyBox (In case you are curious.) It pops up a div with z-index: 92;. I have a Flash animation running which is far below that z-index. My problem is that in two different Firefox browsers (same versions) I have different results. In one, everything appears OK. In the other, the F...
Hi All, I am using Ruby's Test::unit to compare the result of generated html with the expected result. (not using rails). I am not concerned with whitespace differences but these nearly always crop up during tests. Is there any testing mechanism to compare html while ignoring meaningless whitespace. I can see there's similar question f...
If I have a HTML form with some embedded divs, and after the CSS is applied the sections of the form end up spread all over the page outside of the original <form> boundaries, does/will the form continue to work. What do the HTML specs say about this kind of thing? ...
Well I know it's not evil just not as pretty in semantics as <strong> and <em> right? However, with <b> becoming more semantic as <strong> and <i> as <em>, why isn't there a semantic twin for <u>? In styling: So there's a CSS style text-decoration:underline for <u>, but isn't there one font-weight:bold for <strong> already? Thus goes ...
I have done web programming through PHP, so I know the basics of HTML, CSS, and sessions. Nontheless, there's probably a lot of concepts and theory behind web development which I'm probably missing since my original approach came from knowing a language, not a platform itself. Where does one go to learn the practices and general theory,...
Hi all, How does one embedd an image in HTML so that the image is delivered with the html file content and does not need a separate trip to the server to retrieve the image? We need this to embed company logo's into signatures before they leave the mail server. We don't want to use a client side solution like thunderbird's or outlook's ...
I am looking for way to implement iframe just like a frame. There is a problem with scroll bar when I update the src of it. It sometimes disappears for some web pages (like Yahoo.com). And I have to work against frame breaker too. There is a very good implementation that fits my need. It is the Navigator of EyeOS. I would like to know ...
I need to save a page from url - This page is in my own application - in html format. This html will then be send by email to a user. Any anyone knows how? ...
The following code shows what I expect in Firefox and Chrome: a small white square in a big green rectangle. I don't see the small square in IE7. How can I make it appear? <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/...
Hi, Given the following HTML: <div id="container"> <!-- Other elements here --> <div id="copyright"> Copyright Foo web designs </div> </div> I would like the div with ID 'copyright' to stick to the bottom of the 'container' div, can I achieve this without using absolute positioning? If the float property supported a value o...
I am working on a personal website. On the front page, I have a listing of all the articles, and their date published. This data would be a perfect use for a table tag. The table would only be used to display this tabular data. I worked on it again, and was able to achieve the same layout using unordered lists and a little bit of c...