xhtml

tapestry 4 generate valid XHTML

is it possible to generate valid XHTML in tapestry 4.1.x ? i specifically need the shell to generate the proper XHTML headers and can work around the actual body content - ie only use specific components that render valid tags/structure. thx. ...

Why sifr text's swf takes more width than actual text ?

I think if we can match swf size with original text width's then rendering will be fast. ...

redirect URL to mobile version

I want to redirect some URL to mobile version, if the user agent is a mobile. Example : klikkarir.com/jawa-pos/5215/lowongan-call-center-accounting-administration-pt-asia-teleservices-januari-2010.html will redirect to : m.klikkarir.com/5215/lowongan-call-center-accounting-administration-pt-asia-teleservices-januari-2010/ somebody ...

Handheld media type in css vs another domain or subdomain for mobile enabled site?

While Handheld option is available in CSS then why some people use different subdomain and make different site for mobile? ...

How to make Dropdown menu using :hover on <a> in place of hover on <ul>?

IE 6 only support :Hover on <a> then can we make css drop down using :hover on <a> http://htmldog.com/articles/suckerfish/dropdowns/ This example use JavaScript to add hover on LI 'sfhover' class to li elements in the 'nav' id'd ul element when they are 'moused over' and removes it, using a regular expression, when 'moused ou...

What questions should I ask to client before to start PSD 2 XHTML work?

I have a PSD design file for fixed width site which I'm converting to accessible cross browser xhtml markup. It is not my design and I cannot write server side coding (php, asp.net, etc). My job is to write only XHTML, CSS and javascript/jquery if needed. What questions should I ask my client before starting the work? Edit: Client wa...

How to convert 6 digit color code to 3 digit quickly in css file ?

I have a large css file and i want to convert all 6 digit hex code into shorthand 3 digit. Is there any online or offline tool to do so. my purpose is to reduce css file size without making something wrong. any other tips would be be appreciated to reduce css file size without affecting css output. Edit: As me_and suggested css drive...

Take a TR and force it to become vertical (like a list) using only CSS

I have markup like this: <tr> <td>test</td> <td>test</td> <td>test</td> <td>test</td> <td>test</td> </tr> That obviously creates a horizontal table. Is is possible, using only CSS to make that table display with only 1 item on each row? The desired output is similar to a unordered list with no margin or...

What is the best strategies to write CSS for CMS generated HTML where I can't modify HTML?

What is the best strategies to write CSS for CMS generated non semantic HTML with overuse of Divs, spans. I can't modify HTML? I can add javascript and css files but can't add xhtml code. Is there any things needs to be concern? Edit: See example code of horizontal dropdown http://jsbin.com/emuco/edit ...

How to make common reusable css for almost every common things in web design?

How to make common reusable css for almost every common things in web design? Like Horizontal and vertical form with javascript validation, Horizontal and vertical navigation with or without dropdown, multiple horizontal boxes etc. ...

Is there any pros and cons if i use always CSS Class instead CSS ID for everything?

In CSS we can use both ID and class. is there any pros and cons if i use Class always instead ID in terms of Semantic, Web standards- W3C , SEO , Accessibility and future maintainability? ...

Child elements with margins within DIVs

Hi, I need two consequetive divs (with backgrounds) to be touching seamlessly, one below the other. However, this layout breaks when I put a child p element into the bottom div. The margins of the p element force a blank gap between both divs. This is strange behavior, as I am expecting the margin of the p to stay within the content and...

How should i start to learn javascript/jquery etc.? My programming knowledge is zero?

I'm from design background. My programming knowledge is zero. After learning xhtml and css i want to learn and get good command on Javascript/jquery etc. How should i start? This will be my first attempt to programming. I can use and edit readymade available jquery/javascript scripts but can't make my own and can't do high level editing...

CSS List strange behaviour

Hello all, I have the following CSS: div#topWrap div#advancedSearchWrap { width:738px; border:solid 1px #dadada; background-color:#fffcd9; margin-top:4px; padding:10px; display:none; } div#topWrap div#advancedSearchWrap ul { width:798px; margin:-20px 0 0 -60px; float:left; } div#topWrap div#advance...

New Quicktime Look for Embedded mp3s

Hi there, With the release of Snow Leopard, Apple has also unveiled a newer, slicker looking version of the quicktime controls for when html links to an mp3. I'm working on a site with embedded mp3s, and would like them to show up inside Quicktime's newer skin, but I can't figure out how to do it. Everything I've tried results in the sa...

XHTML 1.0 Transitional vs XHTML 1.0 Strict?

In terms of SEO, for client point of view Is XHTML 1.0 strict with some validation errors is better than validated XHTML 1.0 Transitional document. EDIT: Today i saw a Easyframework http://easyframework.com/easy1.0/demo.html (for quick xhtml cc development) from well know Web designer and he is using XHTML 1.0 Transitional in framewor...

How to make CKEditor render text with a CSS ?

I have a CKEditor used to edit a text in a web-page. In the web-page, the text renders in its context and therefore follows the page CSS formatting. My question is how to tell CKEditor to apply a CSS style-sheet to the editor rendering ? Without of course changing the generated source ? My code : <textarea class="ActuContent" name...

What is the best method to code physical address in html ?

What is the best method to code physical address in html ? in Semantic, Accessible and SEO way ...

Implement depths in XHTML Strict

I would like to implement <div> beneath a <table>, in other words, the div will be visible, as the table has transparent png's in but it will behind the <table>. Does anyone know how to do this? I tried float:left and differing z-index's, but to no avail. ...

Is there any other tool better than Firebug on any other browsers?

Is there any other tool better than Firebug on any other browsers? free or commercial? or any other similar tool which has any single or multiple function which can be useful along with firebug ...