xhtml

CSS styles on <label> in Firefox

Is there something wrong with firefox? My styles on <label> work in every browser but FF. I'm using 3.5.5. I mean they even work in every version of IE? anyone have a suggestion? EDIT, as i said, the code works in any other browser. but all of these fails. <label style="color: #aaa; font-weight: bold;">Blah</label> and .mylabel { co...

Why do the major browsers not support HTMLs ACCEPT attribute for input type="file"?

Does anyone know how to use the accept attribute in input tags? I can see it documented, but w3schools indicates that it is not supported by any of the major browsers. Testing also confirms this. I know that validation should be done server-side, and am doing that now. But it'd be nice to have it restrict the types of files in the file ...

What's the most Pythonic XHTML/HTML parser/generator/template module that supports DOM like access?

It should be able to create, modify and read X/HTML in a highly object oriented way that still feels DOM like but is not obese, and is really Pythonic. Preferably it would deal with malformed HTML too, but we can skip this for templates. For example, I'd like to do this: >> from someAmazingTemplate import * >> html = Template('<html><h...

Is Selenium IDE useful for XHTML CSS coder?

Is Selenium IDE useful for XHTML CSS coder? ...

Can we create onclick popup without Javascript in CSS?

Can we create onclick popup without Javascript in CSS? ...

Is this syntatically valid for div ?

<div class='clear'></div> /*which comes out to be below one in FF (seen via firebug) */ <div class='clear'/> /*is this the last empty div declaration is semantically valid ? */ ...

CSS to make an iframe take the rest of the height of the page?

If I have something like this: <p>Element<p> <iframe src = "otherPage.html" style = "width:100%;height:100%"> </iframe> The iframe runs off the page. For various reasons, I can't specify an absolute height. What is the proper CSS way to make an element use the remaining height of its container element? A quick google search claimed th...

What is the limit of character to use in alt="text" according to WCAG 2.0?

What is the limit of character to use in alt="text" according to WCAG 2.0? ...

Best Way to View Generated Source of Webpage?

I'm looking for a tool that will give me the proper generated source including DOM changes made by AJAX requests for input into W3's validator. I've tried the following methods: Web Developer Toolbar - Generates invalid source according to the doc-type (e.g. it removes the self closing portion of tags). Loses the doctype portion of th...

Document conversion software: XHTML and CSS to PDF

I have a large database of XHTML that I wish to render as PDFs and/or RTF using CSS. Is there an off-the-shelf/cheap solution that could do this at scale? Large meaning terabytes. Need something that is robust and good at handling large volumes of files. ...

Nicely formatted source code

The source code is already formatted using newline characters and whitespace. Goals: keep source formatting as long as lines fit in the screen horizontally (e.g. pre) show line numbers on the left side aligned with the lines (e.g. a table with line numbers in a separate column) break lines into multiple lines when they do not fit in t...

Are there any guidelines as to when links should open in a new window?

Do the WCAG or W3C provide any guidelines regarding when hyperlinks should open in new windows? ...

Are javascript disabled users (which are very low in the world) is a topic of accessibility?

Are javascript disabled users (which are very low in the world) is a topic of accessibility? To make accessible everythig without javascript is more time consuming then to make site compatible for IE6. My question is actually how many people keeps javascript diabled in browser , and if it's very low percentage in the work then why we nee...

How Screen reader reads presentational tags of XHTML ?

How Screen reader behave with <hr> <b> <i> <big> <small> <br /> ? ...

Making homepage from different files

How can I build a homepage from different files? I would like to have a file styles.css, one javasript file which uses anti-spam link obfuscator, and the main code which gathers the site up. ...

How can I make my text stay in side of my JQuery slider

Hi, I have tried everything as far as widths and margins. The problem is I have a background image and when I use a width that makes the text stay inside the slider during scroll, it cuts off my image. That being said, I have everything set to what I want, except the text issue: here is the CSS: #wrapper { width: 550px; margin:0...

Displaying xhtml content in a jsp page

Hi All, I have a JSP page that displays XHTML content. I have included the following lines at the top of my JSP page: <?xml version="1.0" encoding="UTF-8"?> <% response.setContentType("application/xhtml+xml"); %> <% request.setCharacterEncoding("UTF-8"); %> If I change the above line to: <?xml version="1.0" encoding="UTF-8"?> <% res...

XHTML in JSP page

Hi All, I have a jsp file that display XHTML, the problem is that shows up as a question mark in the rendered page. First few lines in my JSP look like this: <% response.setContentType("application/xhtml+xml"); %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&g...

Fix a warning thrown by HTML Validator

Hi I have some JavaScript code in my php website. This code uses jQuery, and builds a < select > menu using ajax calls. Here is the code sel.append('<option value="' + data[i].id + '">' + data[i].nombre + '</option>'); And this gives me the following warning line 240 column 82 - Warning: '<' + '/' + letter not allowed here Does any...

Can you help me quantify the semantic value of <p> as opposed to <div>?

I'm transforming some XML, which I have no control over, to XHTML. The XML schema defines a <para> tag for paragraphs and <unordered-list> and <ordered-list> for lists. Frequently in this XML, I find lists nested within paragraphs. So, a straight-forward transformation causes <ul>s to get nested within <p>s, which is illegal in XHTML. ...