xhtml

my javascript in external html is not loading.

ok so in order here is my code /* index.html */ <!-- jQuery Scripts --> <script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.2.6.min.js"&gt;&lt;/script&gt; <script type="text/javascript" src="http://tdr.host22.com/scripts/li.js"&gt;&lt;/script&gt; <link href="http://tdr.host22.com/scripts/tdr.css...

How to judge what should be more accessible markup <table> ,<div> and <ul><li> if design has table like data?

for example what is the accessible way to code this design. currently my company's CMS producing this HTML for this design <div id="presentationsContainer"> <div class="ItemsContainer"> <div class="presentationsItemContainer"> <div class="TitleContainer"> Presentation October 20...

How to decide when to use <th> or when not? in <table>.

Like for this code <table id="presentationsContainer"> <tr> <td class="main" width="60%">Presentation October 2009</td> <td class="dl" width="20%">Download pdf</td> <td class="dl" width="20%">Download ppt</td> </tr> <tr> <td class="main" width="60%">Presentation October 2009</td> <td class="dl" width="20%">Down...

Glitch in sent mail delete function

Hello, I am still a newbie.So that being said, my site has a messaging system that allows users to delete their sent messages. Its been discovered that if I erase my messages out of my 'sent' box, it erases the message out of the recipients inbox. I have two ways to delete messages out of your sent mail, 'erase all messages' and one by o...

What fonts to use when designing xhtml pages via CSS for mobile phones ?

Firstly I plan to CSS to style pages (with fluid layouts) which are targetted towards mobile browsers. <style type="text/css"> body { background-color: #000; color: #fff; font: normal 95%/130% "Trebuchet MS", Verdana, Arial, sans-serif; margin: 0; padding: 20px 0; } </style> Wha...

How to use linebreaks in a textbox?

Hi, I am saving text from a textarea in the database and display it in another textarea. The linebreaks are displayed as \n which should be right, but the textarea is displaying them instead of doing the breaks! How can I fix this? ...

How to make javascript/jquery code error proof ?

If jQuery is included in <head> and in <head> if we have some another jQuery code and that code has an id which is a id of an HTML element, so if jQuery library and jquery code in <head> is added globally And if any page doesn't have that html element which is used by jQuery code then browser gives JavaScript error. Can I make jQuery/J...

How to make a fullscreen iframe with opaque background?

I am able to create an iframe which occupies entire screen. But I am not able to make the contents of the background hidden, In other words, I want an iframe which is opaque. I am currently trying like this: <iframe name='myifrmae' allowtransparency = 'false' background= '#FFFFFF' id = 'myiframe' src = 'main.html' style='position:abs...

Little problem with styling <dl>

Hello. I have <dl> table, and can't style it to look like in this image. Is it possible to style list like that? Or maybe, better idea would be table? ...

Is use of <u>underline</u> deprecated and non validated?

Is use of underline deprecated and non validated? ...

I've seen many CSS compatibility list for browsers, Is there any list for X/HTML tag? or all browsers supports all tags?

I've seen many CSS compatibility list for browsers, Is there any list for X/HTML tag? or all browsers supports all tags? Is there any list for all major browser's supported HTML, XHTML and HTML 5 supported TAGS? ...

How to decrease front end development time in a company/team environment?

How to decrease front end development time in a company/team environment? My company is asking to suggest idea to make front end development process faster? Some points I realized main problem is client never provide right information at first time and many front end developer works on same project on same CSS so everyone makes his ow...

How to best vertically center an image and some text inside a div

I come up against this challenge frequently -- and when trying to solve I always wonder if I'm doing it wrong. In a 'div', I want to position an image to the left -- and some corresponding text to the right -- I'd like them to appear vertically centered. What's the best way to do this? Currently my xhtml looks like this: <div class="...

Is there any other better way than this (modernizr 7 KB javascript) to make round corner for IE 6, IE 7, IE 8?

http://www.modernizr.com/docs/#borderradius only 8KB in size. ...

Commenting div closing automation

I'm looking for a solution to a rats nest of code I was handed - it's massive in volume, so I'm looking for suggestions to a programmatic approach to commenting what div closes where. Example: BEFORE <div id="wrapper-item"> <div id="outer-item"> <div class="inner-item"> <h1>Just Some Placekeeper Copy</h1> <p>Lorem ipsum dolor sit ...

How to check whole website for certain conditions in rendered source of every page , automatically?

Like I want to check on Every page <h3> tag must come after <h2> otherwise page should be marked. like if any page has PDF then Some particular text <p>Download Adobe reader from here</p> should be at bottom of every page is this condition is not matched then page should be marked. I want to make different type of conditions to check ...

Practical Difference between XHTML, HTML, AND XML

So here's what I understand (please correct if wrong) : HTML5 is the newest version (or at least soon to be released) of HTML and contains features that XHTML does not yet have XHTML served as MIME type text/html is equal to HTML for the purposes of rendering Converting from text/html to application/xhtml+xml is difficult because it's ...

Attribute "lang" exists, but can not be used for this element.? W3C validation error.

I'm using this dtd <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt; <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"&gt; Error is for this attribute? <html lang="en"> Should i remove this from DTD? ...

Is it necessary to use lowercase for every Element and attribute , propertis in css and xhtml ?

4.2. Element and attribute names must be in lower case XHTML documents must use lower case for all HTML element and attribute names. This difference is necessary because XML is case-sensitive e.g. <li> and <LI> are different tags. Source : http://www.w3.org/TR/2002/REC-xhtml1-20020801/diffs.html#h-4.2 But is it also necesary for attri...

How to show live preview in a small popup of linked page on mouse over on link ?

How to show live preview in a small popup of linked page on mouse over on link ? like this http://cssglobe.com/lab/tooltip/03/ but live preview ...