xhtml

HTML5 Data Attributes for XHTML

Does anyone know how the HTML5 data attributes (data-*) can be implemented in XHTML without rendering the markup as invalid? Is there a custom namespacing hack that would allow this on existing HTML elements? ...

Dojo with application/xml+xhtml content-type

How can I get Dojo Dijits (1.5.0, currently) to work with XHTML as application/xml+xhtml? It works if sent as text/html, but application/xml+xhtml is required. This seems to be tied to dijit.form.DatePicker and a few others. This isn't a matter of validating against W3C, it just plain doesn't work, at all. Error: mismatched tag. Expec...

What is the real benefit to make pixel perfect cross browser compatible site for anyone?

IF a site is Valid and Accessible and usable but it's some things are showing slightly different on different browsers and almost matching with design? What is the real benefit to make Pixel perfect cross browser compatible site? While nobody will surf same site on multiple browsers and OS. Why anyone think(client or boss) that pixel ...

Update sum on table change (tr add, remove, focus, type...)

Hi, I'm looking for the best way to trigger (call) a function which will sum all the input fields in all table rows. The problem is, that the field can be manipulated manually (by typing) or with a function - value written to them (which does not trigger an event). I would like that the sum function would trigger on add/remove row (tr...

JSF 2.0 Using Eclipse ?

I am using JSF 2.0 with eclipse 3.4 and Tomcat6. For Facelets I need to create XHTML files. Now the problem is that there is no XHTML file in eclipse. I can make it using a new and convert its etension XHTML but i am coding it is not showing any tags in autocomplete. In JSP file when I write <h: it shows all relevant tags of and same for...

tab not showing in IE 6

tab not showing in IE 6, working fine in others http://jsbin.com/ehege/2 how to solve? <style type="text/css"> * { margin:0; padding:0; } li { list-style:none; } a { text-decoration:none; font-size:14px; } #...

VS2008 forces XHTML

Hello all, I don't want to use XHTML but VS2008 forces me to. When I type in an ASPX document < br it will autocomplete to < br /> But normal HTML4.01 does not use these things. So how do I get rid of this annoying XHTML autocomplete? I want normal HTML 4.0 ...

What is the relation between z-index and css Position:?

What is the relation between z-index and css Position:? Is z-index only works if position:absolute or relative or fixed defined? Does it never works with position static? When z-index creates problem in IE? How to use carefully? ...

issue when dragging an image using javascript (jQuery)

Hi all, I am trying to create a draggable div with an image. I could drag a div with some text, but whenever I replace the text with an image dragging not working fine. Please check this link, If you replace the image with text, it will be able to drag the text on the window,but it wont work if we replace the text with an image as it is...

jQuery jScrollpane plugin strange behavior

Please check this site: pixeli.ca/works/italia There I work on the site. The problem is when I just open this address, it doesn't show two panels using jScrollPane properly - these look like narrow horizontal stripes with content inside them. Then I click any of the top nav bar items and it becomes what it should be - all looks fine. Wha...

On iPad/iBooks: XHTML code for opening/linking to another app within ebook?

My question applies to the iBook app for the iPad. The goal is to be able to open another app on the iPad from within the text of an ebook. What code should be inserted into an EPUB's XHTML file to create a direct link to another app on the iPad? ...

What is the means of terms "Normal Flow" and "Out of Flow", in terms of HTML, CSS and Browser?

What is the means of terms "Normal Flow" and "Out of Flow", in terms of HTML, CSS and Browser? ...

align nested tables in IE

Hey, This is my first question here so let me know if i have not understood the site ethos ;) I have written a html page for showing and hiding nested tables. I would like to get the columns to align correctly. I have got close by setting the columns to have a specific width in both IE and firefox the columns are a few pixels out... ...

jQuery Selector + SVG Incompatible?

I've been working with an HTML5 document with inline SVG and javascript animation. I'd like to have a box pop up when the user clicks anywhere, and I'd like the box to go away when the user clicks somewhere that isn't the box. This means I can't use $(window).click(), which works. I've tried selecting the SVGs on top by giving them cla...

XHTML Markup Validation

i have my site [here][link removed] when i run it through validator, i get several errors regarding the: <embed src="inception/inception.mov" width="620" height="274" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/download/"&gt;&lt;/embed&gt; if i keep the <object> and drop the <embed> then the code co...

Weird problem: Submit button not showing up in IE8.

On this site: http://tinyurl.com/2allkcs The submit button for the login form doesn't seem to show up in IE8, however in Firefox it all works just fine. Any ideas as to why? ...

How to embed a resized website throught an iframe ?

I need to embed a website in another website ( throught an iframe I think ). I want to embed this website in this resolution: 200x150 pixel. How can I do that ? ...

How to hide the referer ?

I need to link a website from my blog. I don't want that the owner of that website know that I have linked his website. How can I do that ? ...

How do I center an image if it's wider than its container?

Normally, you center images with display: block; margin: auto, but if the image is larger than the container, it overflows to the right. How do I make it overflow to the both sides equally? The width of the container is fixed and known. The width of the image is unknown. ...

CSS non-stretching box

Hello all. I have a question about my layout. I have a setup something like this: <div id="container"> <div id="body"> <div id="item"> </div> <div id="item"> </div> </div> </div> And I want the body box to stretch with the amount of items I put in it but it doesn't. anyone know how to fix this with css. ...