xhtml

How to fill out table data contents on auto sized table?

Currently I'm working on two table columns next to eachother, which contents must be of equal height. Sounds classic, however, the table/row/cells can't be given a fixed height, because it will be different every time. I've simplified the case to this example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w...

jQuery Drop Down Menu IE7 Problem with .slideDown

I have the following jquery on mcgillidssa.com to animate the drop down menu: $(document).ready(function() { $("#navigation ul li").hover(function() { $(this).addClass("over"); $(this).find("ul").slideDown('fast').show(); $(this).hover(function() { }, function(){ $(this).removeClass("over"); $(this).find("ul").slideUp('f...

what is the use of a "PRE" tag in (X)HTML

what is the use of a "PRE" tag in (X)HTML ...

Should I provide these things by default or only on client request

Should I provide these things by default or only on client request (if they are paying for these) Try to implement graceful degradation on JavaScript Print css Handheld CSS Form validation Combine all CSS and JS into one if possible and minified them XML Site-map Skip to main content link Fluid layout make Abbr ,Acronym if possible Tab...

How to make single-multilevel convertible, keyborad accessible, non-javascript dependent (except IE), CSS sprite dropdown navigation?

I've to write css for a simple/ horizontal menu for a CMS and i've to write css as if client will add subpages to main page and subpages of of subpages I mean right now it's simple navigation no dropdown but in future it can single level dropdown or multilevel dropdown and if navigation will have dropdown then dropdown links should be ...

What is the best way to display a drop down menu?

What is the best way to display a drop down menu? for the sake of best practices. keeping in mind: -Accessabilty , Its viewable with javascript off screen readers -backwords capatabilty , viewable in IE6 -cross browser I'm asking this because I've recently been working on some site that have css only drop down menu's that do n...

Add margin to 100% width element in IE7?

In IE7 I'd like to add some margin to a element that has 100% width of it's parent. But the element overflows it's parent. Somewhat logical, but what's a solution to this problem? I added a simplified example, where the yellow div overflows it's green parent. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3...

@font-face or sIFR 3?

I've to implement custom font in a website, What should be used. Client is providing custom fonts. All browser support (Including IE6 and in all A Grade Browsers) text Selectable Selection visible Accessible with screen reader Successfully degradable if JS is disabled Easy to implement and manage in less time Mobile browser compatible ...

How to force Asp.net 3.5 Menu Control to Rendered as UL List Item

As you all know Asp.net 3.5 and past generations Rendered as Table ( TR - TD ) form and this makes it heavy to load and blah blah blah. Microsoft change the rendering methods of this control from table to UL LI in Asp.net 4.0 As I am using Asp.net 3.5 , Is there any solution to force this control rendered as a UL LI ? ...

Validator: How to settle this error?

I get this error in the validator: Line 47, Column 187: character "&amp;" is the first character of a delimiter but occurred as data …num, silver diamonds. cartier tiffany & Co. $18 WALKING LIBERTY DOLLARS $15… This message may appear in several cases: You tried to include the "<" character in your page: you should escape it as ...

IE7 extra padding/margin

http://www.wilwaldon.com/crossing/page3.html If you look at the page in IE7 there is an ungodly amount of space between the top paragraph and the bottom spotlight area. It works fine in all other browsers. If you know of any tricks or hacks to prevent this I'd greatly appreciate this :) Thank you! ...

Overlapping divs, absolutely relative?

A wordpress theme I'm working on has headlines which span across the entire content area. These headlines are overlapped by the sidebar which is absolutely positioned at 100% width. The issue, is when the sidebar's content exceeds the page's content, it stretches OUT of my wrapper overtop of the footer without forcing the it down (beca...

Dynamically create form elements with php

This short program is suppose find the column names of a table X, and create a form with at least one text field and one select element that contains all the names of the columns of the table. With that information, the user can perform a search on this table and further specify on which column he would like to do the search. I would lik...

What is this attribute "headerindex="5h"?

I saw this on a CMS(sitecore) based Asp.net 2.0 Webform based site. <a class="boardTextLink " id="boardTextLink6" headerindex="5h"> is it semantically correct and w3c valid? Can we make and use custom attributes like this? Is it good practice? ...

<ul> overflow to next line in XHTML and CSS

I have a list of items (<ul> containing <li>'s) which I want to limit by height. Let's say I have the following code: <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> <li>Item 4</li> <li>Item 5</li> <li>Item 6</li> </ul> This will display as such: Item 1 Item 2 Item 3 Item 4 Item 5 Item 6 I would like it to di...

xhtml/rst to excel conversion

I am working on a reporting tool and need to generate reports in various formats including pdf, html and excel(.xls or any format which can be easily opened in excel) I am thinking of generating basic report in xhtml or restructuredtext(rst) and then converting it to other formats, I can use xhtml2pdf or rst2pdf for pdf conversion but I...

how to overcome "name" attribute error in xhtml Strict

in my form i have this code <form action="mail.php" class="contactForm" name="cform" method="post"> Problem is when i validate it tells me "name" is not allowed on xhtml strict. is there a way i can use soem thing else for this. thanks ...

PHP: building (X)HTML output with DOM - pros and cons?

I just started out with a new site and I decided to use DOMImplementation for building the complete site. What do you think about this, is it fast enough? I expect it to be quite a bit slower than the basic print method. I prefer the DOM one because it allows greater flexibility when building the final output, not to mention the more er...

using the DOM to add elements, document.write

I have just learned (no thanks to IE) that I cannot use document.write scripts in XHTML. However, it seems there is a way around it by using the DOM to add elements. I don't know. It's foreign to me. Here's the JS: copyright=new Date(); update=copyright.getFullYear(); document.write("Copyright &copy; 2004-"+ update + " flip-flop media"...

Why List item going to Image?

Why gose to image's flow This is code: <p><img class="left" width="95" height="64" src="#" /> some text here some text here some text here some text here some text here some text here </p> <ul> <li>some text here some text here some text here some text here some text here some text here some text here </l...