xhtml

Hyperlinks A HREF do not work

烂漫一生 提交于 2020-01-02 08:59:09
问题 I'm a bit fooling around with a new website idea. But when i was testing it the A HREF does not work. It's not even showing a finger/hand pointer. It's the text at the content area (the first white block under the header, but not the menu ). The headers should be links to the posts (Wordpress). screenshot of the links that do not work (red arrows): http://new.go80.nl/screenshots/brokenlinksscreen.png Actually all the links in that area do not work. And at the Contact page not even the google

HTML multiple column select list

拥有回忆 提交于 2020-01-02 08:29:32
问题 generally html list is created, <select size=6 name="sel" id="sel"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="4">5</option> <option value="4">6</option> <option value="4">7</option> <option value="4">8</option> <option value="4">9</option> </select> but it is displaying as, 1 2 3 4 5 instead i want to be it as, 1 2 3 4 5 6 7 8 9 ......... or 1 3 5 7 2 4 6 8 how to display it without using any "pluggins"

<div> within <a>

匆匆过客 提交于 2020-01-02 07:03:47
问题 I have made a simple fragment of html, which contains this: <a href="#"><div>Something here</div></a> It obviously alert me that div cannot be inside an <a> tag. I have used a div, because I want the whole box (div in this case) to be a button. So the subclass :hover and a proper button area applies to the whole box, not only a text inside. As far as I remember divs can be used inside tags in html5. I use XHTML 1.0 Transitional. Is there anything I can replace a div with to avoid errors in

Will deprecated elements be removed from future browsers?

谁说我不能喝 提交于 2020-01-02 06:26:43
问题 What are cons to using deprecated elements if I don't care about validation and I use that DTD which supports them? Will deprecated elements will not be rendered by future browsers? Some online WYSIWYG editors (which we use in CMS) still give output in deprecated elements. Must I invest the time to change the output for a client? alt text http://easycaptures.com/fs/uploaded/241/3445655293.jpg Should we avoid deprecated elements at any cost? Currently all mainstream browsers show all

What are cons of global css reset * { margin: 0; padding: 0; }?

∥☆過路亽.° 提交于 2020-01-02 05:45:09
问题 What are cons of global css reset * { margin: 0; padding: 0; }? What people prefer eric meyer css. This is eric mayer css html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0;

CSS parser + XHTML generator, advice needed

♀尐吖头ヾ 提交于 2020-01-02 05:06:31
问题 Guys, I need to develop a tool which would meet following requirements: Input: XHTML document with CSS rules within head section. Output: XHTML document with CSS rules computed in tag attributes The best way to illustrate the behavior I want is as follows. Example input: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <style type="text/css" media="screen"> .a { color: red; } p { font-size: 12px; } </style> </head>

Is W3C validation important? [duplicate]

对着背影说爱祢 提交于 2020-01-02 03:55:06
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: How important is W3C XHTML/CSS validation when finalizing work? I read about validation from many sources and most will say always validate your web page. It is important that your page validate. I understand the concept. But my site does not "validate", yet it works across every major browsers, does not produce errors in those browsers and looks correct in all browsers. This is an example of an error I get

How can I embed a XML document inside a XHTML document?

与世无争的帅哥 提交于 2020-01-01 15:30:45
问题 For example, how can I embed <?xml version="1.0" encoding="utf-8"?> <root> <node><![CDATA[Text]]></node> </root> in my XHTML? I know I can put it in a CDATA section... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>My title</title> </head> <body> <p>I am a XHTML paragraph!</p> <div> <![CDATA[ <?xml version="1.0"

How to hide any text from sighted user and search engine but not from screen reader?

只愿长相守 提交于 2020-01-01 15:11:20
问题 What is the best tested way to hide any text from sighted user but not from popular screen readers? and without affecting SEO. for example if i adding any hidden text only for screen-reader users then that text should not be crawl by search engine when search engine will crawl that page. 回答1: The jQuery UI CSS framework does this by positioning elements far off-screen, e.g. .ui-helper-hidden-accessible { position: absolute; left: -99999999px; } 回答2: I'm using the system Drupal 7 class which

Is there a property named “rowgroup” like “colgroup” in XHTML?

…衆ロ難τιáo~ 提交于 2020-01-01 13:34:27
问题 The following w3c documents mentions rowgroup http://www.w3.org/TR/html401/struct/tables.html#h-11.2.6 http://www.w3.org/TR/html401/struct/tables.html#rowgroups <!ENTITY % Scope "(row|col|rowgroup|colgroup)"> Is there such an attribute or property? 回答1: No, there is no such element. If you want to group rows, you can put the particular tr elements in the same class. The “rowgroup” you are referring to is a row group that is naturally formed by an element like thead , tbody and tfoot . And