xhtml-1.0-strict

XHTML Validation issue trying to render '&' character inside an ASP.Net control

Ok, the description is kind of funky, but here's my problem: <asp:ListItem Value="0">All Leads <i>(include Archive & Trash)</i></asp:ListItem> <asp:ListItem Value="0">All Leads <i>(include Archive &amp; Trash)</i></asp:ListItem> <asp:ListItem Value="0" Text="All Leads <i>(include Archive & Trash)</i>" /> <asp:ListItem Value="0" Text="Al...

Horizontal <ul> menu: how to fix the width of list items

I have a horizontal <ul> menu. How can I fix the width of the <li> elements at, say, 250px each? ...

TinyMCE is modifying the XHTML 1.0 Strict HTML I input. How can I stop it?

The code I want to have saved through TinyMCE is as follows: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="90" id="homepage-banner"> <param name="movie" value="/images/header.swf" /> <param name="wmode" value="transparent" /> <!--[if !IE]>--> <object type="application/x-shockwave-fl...

What is the difference between these 2 doctype option on W3C HTML Validator page

http://validator.w3.org/#validate_by_input+with_options What options should i select in both if i want to check validity against XHTML 1.0 Strict and XHTML 1.1 there is no option for XHTML 1.1 under "Validate HTML Fragment" option. Why? ...

Validation errors from Google App Engine Logout link

I am making a web page using the Google App Engine. I am validating my pages, and found that the logout link that is generated by the call to the users api (in python) users.create_logout_url(request.uri) does not validate as XHTML 1.0 Strict. The href in the anchor tag looks like this: /_ah/login?continue=http%3A//localhost%3A8080/&a...

HTML Strict increases line height...

Hi Why does XHTML 1.0 Strict display a line height as appearing larger than a line height of the same value in XHTML 1.0 Transitional? This therefore pushing down content within table cells (i.e Hotmail in Firefox, Gmail in IE and Firefox). Has anyone else experienced this issue and know a way around it? Cheers Heres an example code ...

ASP.NET XHTML Strict Validation & autocomplete=off

We have an ASP.NET form with the following doctype:- We need to add autocomplete=off (by setting the TextBox property of AutoCompleteType="Disabled") to the input fields but still need the form to pass XHTML Validation (yes I know it's not XHTML valid because of this). Is there anythign we can do to ignore the autocomplete=off?? Som...

html doctype adds whitespace ??

can someone please explain to me why having a doctype of <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> and <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"> render the following block differently under firefox? <table style="border-collapse:collapse; margin:0; padding:0;"> <tr> <td style="border...

How should i center my page?

I have two parts to my site. The main body and the sidebar. The body is 6in and sidebar will probably be 200px. How do i center my page? So there is equal space on the left and right side? It should center no matter the resolution. Using XHTML 1.0 Strict. Should work on all major browsers or at least Firefox and chrome. ...

"Converting" XHTML 1.0 Strict to HTML5

OK folks, So I have a valid XHTML 1.0 Strict webpage. I'm aware of the differences between XHTML and HTML, but, what are the differences between XHTML and HTML 5? Would a 'conversion' be as easy as changing the Doctype, and it would all still validate OK? Or, are there markup differences that would need to be changed first? Thanks! ...

Nest lists in paragraphs in html

It seems that (strict) html doesn't allow nesting any non-inline elements inside a <p>, but then how am I supposed to render a paragraph that contains a list (something that occurs often in natural texts). I've seen three answers that all seem unsatisfying: Lists should not happen inside paragraphs. (I'm not going to go into a cultur...

Nested Incrementing Lists XHTML + Slidy

I am new to XHTML and I could use a little bit of help. I am using a tool called 'Slidy' to help me put together a slideshow on the net, I would like to make an incremented list so that when you advance the slideshow (click or press the right arrow) the next item appears. This should be the case whether the next item is a new item in the...

Semantic HTML markup for complex tables

Which HTML tags would you use to describe table like this: +--------+---------+---------+---------+ | TH1 | TH2 | TH3 | TH4 | +--------+--------+---------+---------+---------+ | TR1 | str1 | 1 | 1 | 1 | +--------+--------+---------+---------+---------+ | TR2 | str2 | 1 |...

How do you detect DOCTYPE (Transitional or Strict) server-side in ASP.NET?

I am wondering if there is a way to detect from the server-side which DOCTYPE the page is specified as. I have some HTML and CSS in a custom WebControl that renders differently depending on which DOCTYPE the page is. Is there a Page property or a Response property I could check? ...

Is it considered more professional to write a website in strict rather than transitionl html?

Hi, I was wondering if it was considered more professional to write a website in strict xhtml rather than transitional. Is it something that should be done as you advance as a web developer, or is it irrelevant? ...

New site - XHTML 1 Strict or HTML 5

I'm beginning a very large project in the coming weeks and am trying to decide if I should take the leap into HTML5 land or stick with my time trusted XHTML 1 strict. The site will be huge. Thousands of pages, video, custom CMS system, lots of social media integration, etc. I'm trying to justify using the new technology, but am unsure...

how to validate noscript+meta refresh tag in xHTML?

For visitors that don't support JS I'm redirecting them to a certain page "js.html" For this I have the following in all my files: <noscript> <meta http-equiv="Refresh" content="0;URL=js.html" /> </noscript> Of course, this doesn't validate in xHTML as noscript must be placed in <body>. But when I place that code in the body of my do...

link rel="script" usage

I am reading through the XHTML 1.0 Strict Doctype and found out that there's a value of "script" for the rel attribute on the link element. <link rel="script" href="..." /> I tried using this tag to link external JS files, but Safari does not even load the file. So what can the tag be used for? Update: After rereading the DTD, it do...

Open Graph Protocol is not a valid XHTML 1.0 Strict?

The protocol: http://opengraphprotocol.org/ states the use of <meta> tags with the attribute property. AFAIK, this is not a valid XHTML 1.0 Strict value. Is there any design decision over why it doesn't use name attribute instead? It looks trivial to me. ...

XHTML strict span inside label is sementic

hi Im using xhtml strict. I want to put a SPAN tag inside LABEL tag. Is it correct way ? <label>Username <span>*</span></label><input type="text" .... /> ...