html

Open custom IE window from Flex or Can a window customize itself?

Is it possible to open a custom IE window (i.e no status bar or address bar etc) from within flex? or if i call a php file or html file can the page customize itself when loaded? ...

Can a child influence its parent's size in Standards mode?

Take this page for example, is it possible to insert a child into mydiv such that it will cause mydiv's height to grow beyond 500px? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html> <body> <div id="mydiv" style="width:500px;height:500px;border:4px solid red"> ...

Auto-hide Visible Child Elements

I am doing some prototyping using HTML, JavaScript and CSS. The prototype is for an application suite to run on a mobile device. Each screen is built in it's own DIV. There is one home screen, several screens off that, et cetera. The user should be able to dump out to the home screen at any time. There are certain elements in each scree...

How to style dt and dd so they are on the same line?

Using CSS, how can I style the following: <dl> <dt>Mercury</dt> <dd>Mercury (0.4 AU from the Sun) is the closest planet to the Sun and the smallest planet.</dd> <dt>Venus</dt> <dd>Venus (0.7 AU) is close in size to Earth, (0.815 Earth masses) and like Earth, has a thick silicate mantle around an iron core.</dd> <dt>E...

Which one I have to follow for W3 Validation?

In W3 validations it have many options HTML - XHTML1.0, XHTML - Transitional, XHTML - Strict and for CSS - CSS - 2.0, CSS - 3.0 ... Which one I should follow? Any suggestion plz ...

PHP, XML to HTML through XSLT makes HTML inside CDATA encoded.

Hi, I really need an answer to this question. I am working on a project which uses XML to make pages, then XSLT to produce it to a web page. Here is a code sample: public function transform ($xml) { $proc = new XSLTProcessor; $proc->importStyleSheet ($this->xsl); $output = $proc->transformToXML ($xml); return $output; } the...

HTML and different email providers

Hi, Most of you probably know the following problem: You edit an HTML, view the result in your browser and happy with it.Then, you send it through different mail providers (AOL,YAHOO,GMAIL...), and discover that after going through their mail servers it may look completely different (not to say worse) than you've expected it to. The vie...

Exporting HTML Tables

How can I export an HTML table in my page as PDF and/or XLS? (preferably using JS (+jquery)) ...

Jump to anchor tag after clone

Hi all, I have these hyperlink which will jump to anchor tags in UL some where <a href="#A">A</a> <a href="#B">A</a> <a href="#C">A</a> <ul> <li><a name="A"></a></li> <li><a name="B"></a></li> <li><a name="C"></a></li> </ul> This is to make sure I jump to the right alphabetical letter in the list (which is long and will have scrolle...

How to make scrollbar?

hi. i'm new here. i create a table which can show the data from the database and create 1 more table to show the data which be selected. But the problem is if we just select few data it wont be a problem. but if select more than 100 data it can cause a layout problem. and this my code... <script type="text/javascript"> function List()...

Block Level Elements inside Inline elements

The W3C Validator tells me I can't put block-level elements inside inline elements. Makes sense... but what if I'm using CSS to change that block-level element into an inline element? And what if I'm using CSS to convert an inline element into a block-level element (when inside another inline element)? The Validator doesn't pick up on...

Load and run an EXE file after a website loaded

Is there a way to load and run an EXE file on the client side, after a webpage has been loaded ? [with java script or HTML ] ...

how do i encode symbols in my html and php

Symbols such as: ♫ http://www.chatsmileysemoticons.com/music-symbol-twitter/ So that I can do something like: $tweet = '♫'.$tweet.$play_song_url; ...

Small CSS problem in IE7

Hi, I have a small css problem that i can't seem to find a solution for. I have 2 problems: url to site: http://www.umono.nl/test/ The OL in the red box "Zoek en boek" is wrong in IE7 The css popup menu in the header "home, alle steden, etc.." is not aligned right in IE7. Can somebody please help me out? Thx, Kevin, ...

Removeable side bar layout possible without CSS expression?

I have the following layout with a sidebar that is only present on some pages and not others. When the sidebar is not present #main should fill the available width of the container. It works but makes use of a CSS expression - is it possible to achieve the same layout without this expression? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1....

c# Truncate HTML safely for article summary

Hi All, Does anyone have a c# variation of this? This is so I can take some html and display it without breaking as a summary lead in to an article? http://stackoverflow.com/questions/1193500/php-truncate-html-ignoring-tags Save me from reinventing the wheel! Thank you very much ---------- edit ------------------ Sorry, new here, ...

Create a dynamic table using jQuery

Which is the best way to create dynamic tables from scratch in jQuery and then populate them with data. EDIT : Assume data comes from a script service and I need to create a table dynamically and populate them with the incoming values ...

Why doesn't the target attribute work in my frames?

I'm building a FRAME solution for my CMS. But, before you all start showing me disrespect about the entire frame thing keep in mind that this is a solution that would be visible only to administrators, and the reason why I'm doing this in frames is because then I don't have to keep reloading the administration controls. So the entire vi...

Exception Handling in HttpHandler ASHX file

I'm using ASHX file to creating images in a dynamic way. I added a line of code to throw an exception in my ashx file. if I browse to ashx file directly, my application_error in global.asax is working fine to handle the error. my problem is application_Error is not working when I use this handler in another page. like in show.aspx if I...

How to properly invalidate an HTML5 Cache Manifest for online/offline web apps?

I'm currently using a Cache Manifest (as described here). This effectively makes the necessary resources to run the application available when the user is offline. Unfortunately, it works a little too well. After the cache manifest is loaded, Firefox 3.5+ caches all of the resources explicitly referenced in the cache manifest. Howeve...