xhtml

What is the quickest way to test validity of any xhtml css code snippet in W3C validator?

What is the quickest way to test validity of any xhtml css code snippet (not whole page} in W3C validator? and give link of that test in forum/question/discussion. code snippet like this <ul> <li>Item one</li> <li>Item two</li> <li>Watch, you can easily nest list items: This item has some sub-items</li> <ul> <li>Sub-item on...

Firefox: Space on top of content

If you visit the page in Firefox 3.6 http://unirazz.com/images/ww/home.html There is a space of around 10px above the content. Whats causing this extra space on top?? any solution? thanks ...

What things we should avoid in small screen, low bandwidth supported devices compare to big screen , high bandwidth supported devices?

Mobile has low speed , internet subscription plans of mobile companies are "data upload/download based" so bandwidth is the key in mobile site. So what things we should avoid if me are making different css for mobiles or making different site for mobile. some things i know to make mobile version of site quick to browse Flash silverl...

Anchor in IE not displaying block

Morning all. Im currently working on the following site: http://www.web-design-contractor.co.uk/ username: codingforums password: password The site is to basically offer a my services as a sub contractor and produce a "round-about" quote ( as it is stupidly hard to let a form produce a quote when you dont know exactly what the proje...

Which web-safe fonts are more readable to eyes as a body text? Which web-safe fonts should not be used?

Which web-safe fonts are more readable to eyes as a body text? Which web-safe fonts should not be used? What should be the minimum font size of <p>body text</p> for better readability? What font size should we use for <H1/2/3/4/5/6>, <p> <ul>, <ol>? Should we use same font-size for <p>, <ul>, <ol> and <th> <td>? What would be the bala...

How to create xhtml query strings with Scala?

How do I create an x(ht)ml-Node containing a href-attribute including a query string without the &s being escaped automatically or runtime error? val text = Text("?key=val&key2=val2") will be escaped and val node = <a href="link?key=val&key2=val2">link</a> throws (in Scala 2.7.5): java.lang.AssertionError The node will be used w...

Validating Featured News Section of my website

I have a web portal that almost validates XHTML 1.0 transitional. However the featured news section on home page does not validate. I am wondering are there any way to validate this section without breaking functionality. Following is my template: Please tell me if website url needed: Not i added extra space before start and end tags. <...

Is it good for accessibility and usability if we only use web-safe fonts in website design?

Should we use default web safe fonts as much as possible, should try to make good design with web safe fonts only? Show we avoid fancy fonts in design which would be only possible with any image replacement techniques, sIFR, @Font-face, Typeface etc. for better site maintenance, accessibility, usability ...

xhtml validating problem - omittag and system identifier

Hello! I try to validate my code, but i get a few error, and i need help with this: I get a few error for this: end tag for "param" omitted, but OMITTAG NO was specified cannot generate system identifier for general entity "color" general entity "color" not defined and no default entity 4 reference not terminated by REFC delimiter...

Ecmascript in XHTML or SVG

Which is better? To use Ecmascript inside your SVG which is embedded in XHTML sent as application/xhtml+xml or to use Javascript (ecmascript) inside the XHTML within which the SVG to be manipulated is embedded? It feels better to use it inside the SVG, but that's just me. Is there any actual value in any of the methods or are they the s...

Strange w3c validation on a certain points

Hi, Can someone help me and explain me why this isn't validated? My doctype: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; The errors: 1. line 55 column 14 - error: document type does not allow element ...

"selected" menu item isn't selected.

When the class "home" is added to an li the background image of the tab is supposed to be a different image than the black background. I'm at my wits end right now and would love any help you could offer. You can see an example at http://www.wilwaldon.com/hornav/index.html Thank you so much for your time, it's greatly appreciated! ...

DOCTYPE XHTML 1.0 issue + Scroll bar is not appearing in IE6

Hii, I'm using the DOCTYPE is DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" I have set the overflow property of the div is not working in IE 6 but it is taking in IEs higher versions i.e. I have set like this <div style='overflow-y: scroll; overflow-x: hidden; height: 370px'></div> ...

CSS combining a Class selector with an Id

I use the following css: /* style.css */ #someId { background-color: red; } #someId.medium { width: 300px; } #someId.large { width: 500px; } with the html: <!-- medium.html --> <div id="someId" class="medium">hello, world</div> and <!-- large.html --> <div id="someId" class="large">hello, world</div> I know the above wo...

IE8 Printing coloured table?

I have a (XHTML)page that contains a table with some cells, and some of the cells are grayed, but when i print the document in IE 8 all cells are white what am i doing wrong? Is there some way to force IE to print the document as it is rendered? ...

Mobile web on nokia devices not displaying centain elements

So i have a site which is rendered with our in-house portal engine. It resizes images and adjusts style-sheets automatically in real-time. Issue is that some html elements are inexplicably disappearing due to what only can be described as HTML compatibility. But the problem is not consistent. And only seems to be an issue on some nokia...

Redirecting to another web page after selecting a div class?

Hi, Not to sure how to do this one, I am using the jQTouch framework to develop a web app. I want to know if I can redirect to a different web page such as Google when selecting a div class using an anchored link. The purpose of this is that I want to use the animations built into the jQTouch framework to make the interface coherent. ...

parse xhtml in python 2.6

xml.etree.ElementTree.parse is choking on my xhtml file. I saw somewhere that lxml can handle html. Can someone tell me the documented way to parse, and then alter, xhtml? I want to add some javascript to xhtml on the fly. ...

Which browser we should use to see HTML CSS rendering while making a site and why?

Firefox's Latest version IE7 IE6 IE 8 Which browser we should use to see HTML css rendering for always and why? Edit: My question is not on which browsers should i test site before go live. i will try to test on all possible. My question is which browser should i choose during layout development process and why? because while deve...

What are pros and cons to use external css in conditional comment over css hacks in same css?

What are pros and cons if i make 4 different css? main.css IE7.css ( in conditional comments) IE8.css ( in conditional comments) IE6.css ( in conditional comments) OR 1 css file for all main.css + including hack for IE6 + IE 7 + IE8(if needed) ...