What are practical cons to use W3C valid presentational element, which are not listed as deprecated
for XHTML-CSS developers,
Sighted End users of site,
and for Screen reader users, ?
like <b> , <i>, <br>, <hr>, <small> If i use these tags for presentational purpose. (note: these are also supported in HTML 5)
for example:
If i use...
I have a div which contains text. The text should be shortened to two lines and "..." added at the end to point that there's more.
Since the font and font size may vary according to different users' settings (for example: browser "text size" settings, different browsers, etc.), I need to do this dynamically on the client side.
What is...
I'd like to integrate something like a welcome panel (welcome screen) into our iPhone application to inform our users about updates and new offers when they launch the application. I have the following thoughts and doubts:
No user input required
Shows generic HTML without any action from the user point of view, the thing closes after 2...
Hello there,
We develop our pages based on HTC element behaviors (let's call them 'htc' for short). One of the components is a dataGrid.htc which has many dataGridItem.htc inside of it. These items are created on demand.
So, in dataGrid.htc I import the item:
<html xmlns:dataGrid>
<head>
<?import namespace="dataGrid" implementation="d...
Why @import is not advisable to link css? What @import can't do which can be done by <link> and does @import have any incompatibility with browsers?
What in <Link> make it's advisable? And is there any specialty in @import which is useful?
Should we always ,always use <link>?
...
I'm using this code to change the status bar of IE.
<a href="http://www.google.com" onmouseover="window.status='Google';return true;">Google</a>
But the problem is when i'm using a menu (links inside a div) it doesn't change anymore the status bar. Is there any way to fix it?
...
I have a situation similar to the following
<div class="col1">
<h2>title</h2>
<div><ul><li>Content</li><li>Another Item</li></ul></div>
</div>
<div class="col1">
<h2>Another title</h2>
<div><ul><li>More Content</li></ul></div>
</div>
<div class="col1">
<h2>...</h2>
<div><ul><li>More Content</li><li>Still more</li></ul></di...
Hi,
I have an issue with CSS I can't solve.
I've made a little diagram.
Let's say that the pink and green box's height are determined by there content. The pink box could sometimes be the smaller one.
What I am trying to do is have the smaller box fix it's height to the outer containing div, so that it would have the same height as ...
I want to make a select tag in a JSP, where the options are an Enumeration (for example, all US States). Is their a tag in JSTL or a standard tag that can do this, without manually iterating through the list?
...
Hiya,
I'm working on a project using Cufon font replacement, and we're having a rather frustrating issue with a flicker when the content is rendered in the browse. You can see it as your browser around the site here.
The effect is worst in internet explorer but also noticeable in all other browsers, any way to reduce this will be great...
Hi,
I don't have any code to show as it is on a intranet system. However I have noticed a couple of weird things when looking at it in IE6. This isn't the usual box model problem or IE6 rendering things differently.
One thing that I noticed is on a div where I have a gradient background with repeat-x attribute. When the page loads in I...
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?
Sh...
I have some JavaScript that needs to apply an xslt to the result of an ajax request. The xslt is defined in a separate file "transform.xslt" - whats the best way of including the xslt in my page?
Is it possible to use some sort of <link... element, or will I need to make a separate http request myself for the xslt?
...
Hi all,
I have a question , about parsing xml.
I want to get some xml data to HTML, but I have a problem, I can get this data just from local xml, when I try to get data from external URL it doesn't work, for example from
http://www.w3schools.com/XML/plant_catalog.xml
This is jquery:
<script type="text/javascript">
$(docum...
Hi, i'm building a simple text editor by setting contentEditable=true on a div (anyway i think that textarea behaves in the same way) and i have some problems with the tab key.
What i want is that when the user presses the tab key, the focus remain on the div and a tab character is added to the text.
I've solved the first part of the...
Hi! I am having a problem trying to scroll a table wich has variable amount of rows and columns. I've tried to put overflow (auto AND scroll) and max height and width to both the div containing the table and the table itself. I copied the source of the code and my css class. If someone could help me I will appreciate it! thanks!
<div cl...
How do I load external font files into an HTML document.
Example:
Make the text "blah blah blah blah blah blah blah" a custom font from a TTF file in the same directory using HTML CSS and/or JAVASCRIPT
...
I've a form with an inline validation message in a span.
<span id="EndTimeErrors">
<label for="EndTime" class="field-validation-error">
Bitte geben Sie eine gültige Uhrzeit ein, zum Beispiel 8:00 oder 14:34
</label>
</span>
Image
Unfortunately the word wrap is really ugly.
I could put the validation message in a div, to bea...
border-bottom for tr is not working in ie...
...
Is it possible to create a tooltip for an html button. Its the normal HTML button and there is no Title attribute as it is there for some html controls. Any thoughts or comments?
...