xhtml

Replacing h1 text with a logo image...best method for SEO?

It seems like there are a few different techniques out there, so I was hoping to get a "definitive" answer on this... On a website, it's common practice to create a logo that links to the homepage. I want to do the same, while best optimizing for search engines, screen readers, IE 6+, and browsers who have disabled CSS and/or images. E...

what meta-tags in the header of an (x)html page should be enough for SEO whitout overload it?

what meta-tags in the header of an (x)html page should be enough for SEO whitout overload it? ...

Specifying Tab-Width?

Is it possible to define the tab-width when whitespace is displayed (say within a <pre> tag or something)? I can't find anything to do this with CSS, but this seems like it would be a pretty common thing to want to do. In my case, the tab width is so wide that it causes some of my code snippets on a page to be too wide. If I could someh...

IE8's rendering of transparent pngs is FUBARed on my site

I just downloaded the IE8 full release so I could test a site I just created. [Example Deleted] Focus on the left sidebar background image. It is suppose to be a 1x1 semi-transparent .png image that repeats. IE8 renders it as a gradient!!! It get's even wonkier when you try to scroll your window or mouse-over the sidebar. I had alread...

Is it good practice to use typographic quotes on web pages?

Lately I have been seeing an increasing number of design articles encouraging the use of typographic quotes (Curly Quotes) for use in web pages over straight quotes. While I agree typographically, that correct quotes are that much more appealing and add a nice touch to a design, I wonder if it is actually better practice from an encodi...

UTF8, ISO-8859-x or 7-bit ASCII and entities

What's your opinion on encoding accented and special characters in XHTML and XML. Do you convert each and every non-US-ASCII character to named entity? You use ISO-8859-x or Win-125x and encode to entities anything else? Or do you directly write everything in UTF-8, without bothering about entities? Please elaborate on which and why...

Using PiL to take a screenshot of HTML/CSS

I want to enable a user on a website to upload an image, and write some text over it. Also, they should be able to crop/scale/move the image and text. For that stuff, I can do it in jQuery. After they've made the image the way they want it, is there a way i can take a screenshot of that image (using PiL) and save it on the server? Wh...

Why is XHTML 1.0 Transitional so popular?

My company is looking to replace all websites in the group with a new CMS-based system and similar designs/styling, with E-Commerce functionality being added in a future phase. It's too big a job for me to do in a reasonable time-frame, so we are going to be inviting tenders from agencies. I'm currently in the process of defining the te...

Overriding a CSS style

In a global style sheet used across all of our pages sits the following line: ul { margin: 0; } li { list-style-type: none; padding-bottom: 3px; } Therefore, any ul's inside my pages render with no discs next to li's. However, in special cases, I need to display the disc next to a li. I have a div with the class "blog-post" and thou...

Frameset problem in html

Hi friends, I have created a website with multiple no of pages with in a same folder (i mean all those pages are with in a folder). I have developed this design under the frames. I have used 3 frames top for banner, left side for menu and and right side for main page. While clicking the left side menu frame i just navigate the main page...

ASP.NET bug iframe hides textboxes?

Well here is my problem: I have a table with an iframe in the first cell and then some rows below I have some textboxes and buttons. But as long as the iframe is on the page the buttons and textboxes do not show up. What am I doing wrong? <table> <tr> <td> <Iframe/> </td> </tr> <tr> <td> <input type="password"> </td> </tr> </table> t...

How do you access a custom XHTML attribute with JavaScript?

I have the following XHTML: <span id="myid" cus:att="myvalue" xmlns:cus="http://mycompany.com/customnamespace"&gt; </span> Is it possible to access custom attributes with javascript? I have the element that represents the span. Doing myElement.att doesn't work, and I can't figure out how to specify the namespace? ...

<br/> vs <div/> in clearing

What is the difference <br style="clear:both;"/> vs <div style="clear:both;"/> ?? Also, I thought <div style="clear:both;"/> is a good way of clearing, but is <div style="clear:both;"> </div> a proper way? ...

Legacy html form in ASP .net application

I have an html page that I am converting over to an asp .net page. This page contained a form that accesses an external website that I have no control over. There is some sample code below: <asp:Content ID="sample" ContentPlaceHolderID="body" Runat="Server"> <form name="Subscribe" method="post" action="http://anexternalwebsitehere.com/s...

Good Editors for Web Development on OS X?

I'm getting started with web development on OS X need some good development tools, text editors...etc. I have XCode already but it doesn't seem geared towards editing the web technologies I will be using: xhtml, javascript, css, and php. So I am looking for some ideas. I know about TextMate, but am trying to avoid spending any $$$. Th...

Jquery Dynamic Form - Quick Question

I have a form and up the top it contains four different radio buttons - the rest of the form changes depending on which of these radio buttons are selected. Currently each 'part' of the form is in its own fieldset and I'm hiding/showing these with Jquery. How can I only submit the data that is relevant to which part of the form is fille...

Autosizing departure board using Html, CSS and JQuery

I've got to develop an auto scaling arrivals and departures board at work. It's started out easily enough with me creating a table with percentage based column widths (and the overall table being 100% width). For now, I've got a small piece of JQuery letting me change the scale of my text but its only to prove the concept. I'm really ...

Has anyone used tntnet?

I'm looking for a C++ MVC framework. Has anyone used http://www.tntnet.org/index.html? How was it compared with like MVC.net or SpringMVC? What compiler is required for it? ...

Blogger layout problem

This is my blog: http://laschavasdeflickr.blogspot.com As you can see there is a grey line (#bbbbbb) there that its not on the edge, I am going crazy trying to fix it since I change the width of the post column. If someone can point me what I am doing wrong I will appreciate it. <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html P...

Problem with URLs on pages being served as XHTML

The following link to a URL in my application is giving me an XML Parsing Error on the second equals sign when I try to view the page. <a href="http://www.example.com/admin/banning.php?do=banuser&amp;u=3"&gt;Ban User</a> I think the problem is the ampersand in the URL. If I encode the ampersand the parsing error goes away but the URL ...