Skip to main content

Questions tagged [html]

HTML (HyperText Markup Language) is the markup language for creating web pages and other information to be displayed in a web browser. Questions regarding HTML should include a minimal reproducible example and some idea of what you're trying to achieve. This tag is rarely used alone and is often paired with CSS and JavaScript.

1 vote
4 answers
561 views

HTML Data exceeds field length after being hex-sanitized

The problem is you can't tell the user how many characters are allowed in the field because the escaped value has more characters than the unescaped one. I see a few solutions, but none looks very ...
Eduardo Marinho's user avatar
5 votes
3 answers
4k views

FCKeditor vs TinyMCE and XHTML Compliance

I'm after (short) opinions on FCKeditor vs TinyMCE and whether either or both are XHTML compliant. In the interest of keeping with the spirit of stackoverflow, if someone has already made your point, ...
Darren Oster's user avatar
  • 9,186
3 votes
6 answers
674 views

Where can I find some good information about how the new canvas HTML element works?

I keep reading about how great this new Canvas element for HTML5 is and I see amazing demos done with just javascript and no flash. Where can I find some good information on how to some of these ...
Frew Schmidt's user avatar
  • 9,504
4 votes
7 answers
21k views

Make <h1> tag the same maximum width regardless of capitalization of text within

I'm trying to display a series of titles varying from 60 characters to 160 or so and the capitalization varies, some of it all caps, some half caps. When it's mostly lowercase the whole 160 ...
Greg's user avatar
  • 46.4k
23 votes
5 answers
28k views

How do you add a link that will add an event to your iPhone calendar from safari?

This seems like it should be simple but after a couple hours of googling I have not figured it out. I know I can add iCal links using ICS files, but this does not work on the iPhone. BTW, when I say ...
drye's user avatar
  • 1,402
7 votes
9 answers
69k views

How do I show an embedded excel file in a WebPage?

I want to allow an Excel report to be viewed embedded in a WebPage... is there a way? I don't want to use an ActiveX, or OWC (Office Web Components), I just want to open an existing file from the ...
juan's user avatar
  • 81.3k
12 votes
7 answers
4k views

What is the simplest way to allow a user to drag and drop table rows in order to change their order?

I have a Ruby on Rails application that I'm writing where a user has the option to edit an invoice. They need to be able to reassign the order of the rows. Right now I have an index column in the ...
Mark S.'s user avatar
  • 1,082
18 votes
7 answers
26k views

Will targeting IE8 with conditional comments work?

When IE8 is released, will the following code work to add a conditional stylesheet? <!--[if IE 8]> <link rel="stylesheet" type="text/css" href="ie-8.0.css" /> <![endif]--> I've ...
Devon's user avatar
  • 5,784
10 votes
6 answers
6k views

XSLT Abstractions

I'm exploring the XML -> XSLT -> HTML meme for producing web content. I have very little XSLT experience. I'm curious what mechanisms are available in XSLT to handle abstractions or "refactoring". ...
Will Hartung's user avatar
75 votes
3 answers
136k views

How do you right-justify text in an HTML textbox?

I have a need to display many numerical values in columns. These values need to be easily editable so I cannot just display them in a table. I am using textboxes to display them. Is there a way for me ...
Haabda's user avatar
  • 1,433
299 votes
19 answers
529k views

How can I scale the content of an iframe?

How can I scale the content of an iframe (in my example it is an HTML page, and is not a popup) in a page of my web site? For example, I want to display the content that appears in the iframe at 80% ...
John Griffiths's user avatar
9 votes
10 answers
8k views

Opinion: in HTML, Possible Duplicate IDs or Non-Standard Attributes?

It seems pretty common to want to let your javascript know a particular dom node corresponds to a record in the database. So, how do you do it? One way I've seen that's pretty common is to use a ...
Nick Retallack's user avatar
8 votes
6 answers
51k views

How to add a Tooltip to a "td" with jquery?

I need to add a tooltip/alt to a "td" element inside of my tables with jquery. Can someone help me out? I tried: var tTip ="Hello world"; $(this).attr("onmouseover", tip(tTip)); where I have ...
SpoiledTechie.com's user avatar
1 vote
5 answers
7k views

How do I convert a "title" attribute to a mouse over event with jQuery?

I have a "span" element inside a "table" "td" element. The span tag has a Title. I want to get the title of that span tag and pull it out to make it the "mouseover" tip for the "td" element. For ...
SpoiledTechie.com's user avatar
22 votes
6 answers
104k views

Insert a Link Using CSS

I'm hand-maintaining an HTML document, and I'm looking for a way to automatically insert a link around text in a table. Let me illustrate: <table><tr><td class="case">123456</td&...
Schof's user avatar
  • 6,439

15 30 50 per page