Questions tagged [xhtml]

XHTML is the traditional name for what is now formally called the XML syntax of HTML, as opposed to the more commonly used HTML syntax, both of which are defined by the HTML5 standard. It is a markup language commonly used for HTML pages which are generated using a XML based tool chain. Do NOT use this tag for Facelets. Use [facelets] instead.

1,202 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9votes
0answers
171views

How to use the offline version of NU Validator to check HTML 4.0.1 Strict files

This online version of NU Validator allows users to specify different presets, e.g. HTML 4.0.1 Strict or XHTML. However, the offline version doesn't seem to allow users to specify presets. Where can ...
user avatar
  • 491
9votes
3answers
2kviews

TinyMCE autocloses HTML tags - How to disable?

In TinyMCE, when I edit HTML code (using code plugin) and delete closing tags it will automatically add them right after clicking OK. For example a piece of code like <table> <tr> ...
user avatar
  • 30k
7votes
0answers
1kviews

Google multilingual sitemap issue

I have a sitemap issue. I am working on a multilingual website and I'm trying to use the Google method to indicate alternate language pages, as it is described here : https://support.google.com/...
user avatar
  • 522
6votes
1answer
1kviews

DataTable with contextMenu, multipleSelection, rowEdit

So I have a pretty complex dataTable. It should be able to edit a single row, to select multiple rows, and to display a contextmenu for each row. Single row editing works fine, multiple selection ...
user avatar
  • 1,075
6votes
1answer
316views

Does anyone have a validation schema for Visual Studio 2010 for XHTML+RDFa?

Visual Studio validates XHTML 1.0 Transitional by default. There are custom solutions for validating HTML5. But if you are writing a site that uses any part of the Facebook API or the meta property ...
user avatar
5votes
4answers
3kviews

Is there any online text editor for HTML, CSS with saving and syntax highlighting facility?

I want to make css file from accessible from everywhere (home, office etc) and ready to edit. and save. I will do hand coding ,just want syntax highlighting and saving on net facility. I tried google ...
user avatar
4votes
1answer
445views

Handling <?xml-stylesheet> similar to <link rel="stylesheet">?

During investigation of advantages and disadvantages of attaching CSS with <?xml-stylesheet> processing instruction, I came upon some issues. Suppose we have a simple XHTML document (which is ...
user avatar
4votes
0answers
1kviews

How to put a passing parameter into <p:confirm message="">?

This is what I've got: <p:growl id="message" showDetail="true" /> <p:commandButton value="delete user" actionListener="#{bean.deleteUser(user)}" update="@form"> <p:confirm ...
user avatar
  • 143
4votes
1answer
2kviews

xmllint fails to validate XHTML 1.0 Transitional file

Steps to reproduce on Debian Jessie GNU/Linux. Check xmllint version: $ xmllint --version xmllint: using libxml version 20901 compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 ...
user avatar
4votes
0answers
105views

how to extract the strings to resouce bundle from xhtml file with intellij idea

Is there a way to extract the message strings into the resource bundle files while coding xhtml (jsf) files by using intellij idea? I want to add the message properties by using refactoring option of ...
user avatar
  • 211
4votes
1answer
112views

How to protect XHTML files from editing

I am developing a JSF application and the archive (war) will be given to multiple customers and will be separately deployed on their own Tomcat servers. This is just a front end application and it ...
user avatar
  • 6,871
4votes
0answers
2kviews

XHTML and viewport tag

Viewport tag is recommended (as follows), for optimised zoom levels in mobile browsers: <meta name="viewport" content="width=device-width, initial-scale=1"> The above idea is mentioned here ...
user avatar
  • 15.3k
4votes
1answer
2kviews

How can I define an entity such as nbsp in an asp.net application

I have an asp.net application that renders and works correctly in all browsers. However when checking with the validator at http://validator.w3.org/ I get the following error: reference to undeclared ...
user avatar
  • 1,022
4votes
2answers
23kviews

convert svg to html+css

I want a converter to convert from svg format to( html + css ) <g transform="matrix(1.25,0,0,-1.25,0,15.56875)"> <text transform="matrix(1,0,0,-1,76.881,0)"> ...
user avatar
  • 231
4votes
2answers
396views

optional use of xsl stylesheet

I have xml files which make use of an XSL stylesheet to format it when view in a web browser. I save the xml files in a central location, a shared drive which any of my colleagues can access. If they ...
user avatar
4votes
1answer
9kviews

innerHTML bug IE8

This innerHTML code wasn't working reliably in IE8: (but was working in IE6 IE7 FF Opera Chrome Safari) (by not working reliably I mean I had placed this code within onmouseover handlers on various ...
user avatar
3votes
1answer
174views

Can I use duplicate IDs on multiple <template> fragments?

Why does HTML5 validation fail when having duplicate element IDs but on different <template>. I'm planning to use only one template at a time so the actual DOM ID won't be duplicated. something ...
user avatar
3votes
0answers
144views

Disable value for autocomplete drop down

I am trying to make disable 'No Results Found'. I mean user can't able to select 'No Results Found'. For that I tried itemDisabled but it is not working. Would you like to help? <div class="form-...
user avatar
3votes
0answers
549views

Docx4j table column border has space in between using XhtmlImporterImpl

I'm trying to convert HTML into docx using docx4j. I set cellspacing and cellpadding attributes of table to 0. But somehow after I opened the generated document, there's still cellspacing between each ...
user avatar
3votes
0answers
1kviews

Eclipse: format JSF/XHTML/HTML/... files with each attribute on same line, but column-wise

In Eclipse, I find no way to format code the way I need to for JSF, XHTML, HTML or XML files like can be configured for Java. I have found the following part-solutions: JSF Code formatter or Eclipse ...
user avatar
  • 13.1k
3votes
0answers
2kviews

Include xhtml page with ajax request in multi-level page template (JSF, Primefaces)

I am trying to create an application using JSF and Primefaces. Unfortunately, I have an issue about page templates and could not manage to work it out properly. I have a page template like this. What ...
user avatar
3votes
2answers
2kviews

SVG tag image not seen Android webview

i'am using android WebView to show xhtml files in my app for display images i am using shouldInterceptRequest function but when i try to use code below <svg xmlns="http://www.w3.org/2000/svg" ...
user avatar
3votes
0answers
253views

Code formatting with XHtmlTextWriter and Control instance

XHtmlTextWriter takes second parameter tabString. I set it to HtmlTextWriter.DefaultTabString When we use xhtmlTextWriter.WriteLine(), it indents the code. But if we use control.RenderControl(...
user avatar
  • 2,960
3votes
2answers
174views

Custom xwiki renderer

Does anyone have an example of a custom made Renderer for xwiki rendering framework? I want to do a conversion from JSPWiki to XHTML but the default result xwiki generates is not sufficient. I need to ...
user avatar
3votes
1answer
209views

Some problems to understand CSS paged media style

I have some doubt about the paged media in CSS. If I have something like this code: @page rotated {size: landscape} TABLE {page: rotated; page-break-before: right} what exactly happen? can you ...
user avatar
  • 37.3k
3votes
1answer
442views

How to produce valid xhtml/xml output from Oracle ADF

I've tried to find a way to get our Oracle ADF pages to output valid code. I see a reference in Can we configure Oracle ADF Faces to produce valid XHTML? but it's dated back in 2008 or so. Is there ...
user avatar
3votes
1answer
587views

Background-Position on HTML tag not working

I'm following one tutorial on webdesign tutsplus, Final Page: http://webdesigntutsplus.s3.amazonaws.com/126_RibbonNavTutorial/code/demo_css_ribbon.html I've completed everything but one problem is ...
user avatar
3votes
1answer
841views

same [not-fixed] width of same column in multiple tables in HTML

I have several tables on the same page, each with the same number of columns. I want the first column in all the tables to have the same width, likewise for the second, etc. I do not want to specify ...
user avatar
  • 5,138
3votes
0answers
603views

What is the __expr-val-dir html tag attribute in SharePoint master pages for?

This non-compliant, mysterious attribute seems to be simply a copy of the dir attribute, but I cannot find any reference to it or example of it being used anywhere. Can anyone shed some light on ...
user avatar
  • 31
3votes
1answer
2kviews

VS2010/VS2012 default Doctypes and which to use to be future-proof

I was wondering why VS2010 and VS2012 use different doctype declarations for masterpages and webforms. i.e. VS2010 uses the "XHTML 1.0 Strict" doctype for masterpages and the "XHTML 1.0 Transitional" ...
user avatar
  • 53
3votes
3answers
286views

Using 2 style sheets on my website html

I've finished my website and completed the style sheet but now i have created a second style sheet (called other.css). What I'm trying to do is have 2 links on my home page, one with "normal.css" and ...
user avatar
  • 107
3votes
2answers
769views

FCKeditor wrapping certain HTML5 elements with <p> tags - causing problems for older browsers

I'm being forced to use a WYSIWYG editor on a CMS our website is being published on, and the default behavior for white space is blank <p></p> tags (this is expected). FCKeditor.prototype....
user avatar
  • 785
3votes
2answers
4kviews

Displaying a web page inside another without frames

I want to display a webpage inside another website page. How safe is the approach below, and how good practice is this? <div style="margin: 0 auto; width:100%; height:400px;"><object type="...
user avatar
3votes
1answer
850views

CSS: How to get the "main text" element to stretch it's properties to the bottom of the page

I have the following XHTML page followed by my intended CSS and would like the main-text div to go all the way to the bottom of the page so that footer and footer2 appear at the bottom of the page and ...
user avatar
  • 7,635
3votes
2answers
4kviews

innerHTML doesn't work correctly with xhtml in Chrome

I've got a trouble with Chrome5.0.375.70, but FF 3.6.3 and Opera 10.53 are OK. Below is the line of code: document.getElementById('content').innerHTML = data.documentElement.innerHTML; The data ...
user avatar
  • 187
3votes
1answer
142views

Facebook sharing feature on seam

Good morning all. I'm developing a web application, using Seam. I have the following problem: I have my site with Locale set to "en". I'm trying to share a specific page: ../pt/news.xhtml?id=8 The ...
user avatar
3votes
2answers
847views

Make NSXMLParser skip an Element

I'm using NSXMLParser on an iPhone App to parse HTML Files for a RSS or Atom Feed Link. Everything works fine until the parser find a <script> element that includes Javascript code without the ...
user avatar
  • 31
3votes
1answer
162views

How to prevent duplicate HTML IDs?

The HTML standard doesn't allow duplicate IDs in the same document, but what are the tools web developers can use to enforce this requirement? Some difficulties developers are faced with: JavaScript ...
user avatar
  • 8,364
3votes
2answers
2kviews

word spacing not working in safari

Hi I was hoping if someone can help me with an issue I am having in Safari. Basically I have created a website If you look on the top menu at the navigation bar, there is word and letter spacing in ...
user avatar
3votes
2answers
301views

google plus doesn't show meta information snippet from xhtml documents

I have been fighting with this for some time now, but I cannot figure out even a why it doesn't work. Take this simple XHTML test source: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE ...
user avatar
2votes
0answers
50views

How to start creating a language extension for VS Code?

Pursuant to the discussion in Add XHTML support, I'd like to start creating an extension for Visual Studio Code which would implement support for XHTML. Which is HTML with XML syntax, so the the ...
user avatar
  • 590
2votes
1answer
116views

In HTML with XML syntax, can one use elements with namespaces other than HTML, SVG and MathML?

It has long been my understanding that one advantage of the XML syntax for writing HTML documents is that it also permits to include in HTML documents elements with a namespace that is not one of ...
user avatar
2votes
1answer
43views

xHTML correctness question and quick CSS float question

I'm just writing to inquire what would be more correct for xHTML and a CSS question. For the HTML: Say I have a list of: Apples, Bananas, and Carrots Would this be more correct: <ul> <li> ...
user avatar
2votes
0answers
238views

Conversion XHTML to JIRA Markup and vice versa with the AtlassianRenderer

I have an Java application with Jira integration. The Integration means user may create an issue in the Application format and the Application will transfer it to the Jira Server. And vice versa: user ...
user avatar
2votes
0answers
159views

docx4j cannot render <text-indent>

I am using docx4j-ImportXHTML to convert an XHTML into a docx. When rendering to docx I notice it doesn't render CSS text-indent property. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ...
user avatar
2votes
0answers
106views

How to fix "Could not make numeric conversion for modulo" error in xhtml code

How to fix the below error in my xhtml file. Error: Multiple annotations found at this line: - Could not make numeric conversion for modulo operation - Syntax error in EL - This equals ...
user avatar
2votes
0answers
1kviews

JSF 2.3 <f:websocket> not working on Wildfly 15.0.0.Final after second deploy

I'm trying to make simple JSF example with usage of feature to update the content of the page. Unfortunately, it works only after the very first deployment or after rerun of the server. If I'm ...
user avatar
2votes
0answers
44views

Primefaces RadioButton, JS functions is not working

I have a problem with 3 radio button in a xhtml file, when I click on a radio button to call onclick JS function it enter in the function the first time, but next time I will click the same button or ...
user avatar
  • 108
2votes
0answers
37views

Primefaces Rating Method returns always null

We are using Primefaces with Java EE in an Netbeans project. What we want to do is, set a Rate Value to a variable an work with that Variable. But the Variable is always a Nullpointer. Can somebody ...
user avatar
2votes
2answers
867views

When update an accordion It doesn't hold the open/closed tab

I have a big problem with Primefaces accordion. I have an outputPanel with an header and an accordion with 2 tabs. If I close the first tab and change a field in the second tab, it open the first tab ...
user avatar

15 30 50 per page
1
2 3 4 5
25