I try to make newsletter compitable wiht Outlook 2007, but Outlook rendering engine isn't very logical. Following code is not making borders as width of 1 pixel like in Firefox and other rendering engines, but it adds some extra space between some of these td-elements. Is there a workaround for this issue ?
<table>
<tr>
<td width="0" s...
Is there any way to call a stylesheet, and only if it is not available, call a stylesheet from another location?
Something like this:
<link rel="Stylesheet" type="text/css" href="http://cdn.somewhere.com/css/style.css" />
<link rel="Stylesheet" type="text/css" href="local/style.css" />
But only call the second one if the first is not...
I have a Web Site thats designed using traditional tags but I need to convert to CSS based tags. Is there a better way (Free Software / Tool) to do this rather than taking one tag at a time and converting it ?
Thanks
Rahul
...
Hi all,
here is the situation:
In the web application, user selects some options, submits form, and PDF file is dynamically generated on the server side and offered for download.
The problem:
The generation of PDF file takes quite long (up to 1 minute). Some users think nothing is hapening and keep clicking the submit button again and ...
Is there a way to strip HTML tags selectively in TextMate - you can easily do this in Dreamweaver.
TextMate allows you to strip all HTML tags but I would like to get rid of only, let's say all the <span>'s and <font>'s.
On a similar topic, is there a way to get rid of all the inline css styles?
...
Inspired by the new User Flair, but the question applies to the general case as well.
Let's say I want to include something like this on a site that doesn't allow me to specify external styles or use any javascript. The only thing I can do is paste in an object, embed, or iframe, and some other simple html. Additionally, the width o...
This is probably a very dummy question, don't throw your shoes at me :)
Consider having HTML like this:
<div class="container">
<div class="header">
</div>
<div class="body">
</div>
<div class="footer">
</div>
</div>
I want 'header' and 'footer' to be anchored to the parent's top and bottom respectively, and '...
Hello,
I would like to generate an HttpResponse that contains a certain string. For each of the characters in the string I have a background color I want to use.
For simplification, let's assume I can only have shades of green in the background, and that the "background colors" data represents "level of brightness" in the green domain...
I asked how to do this before but it seems I needed to put more code to really get an answer.
I have a reddit type site, and I am trying to create a rss feed this is the code, but I get a Fatal error: Uncaught exception 'Exception' with message 'Query failed'
Here its the code:
<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/config.php...
I have the following jQuery
$('#btnDelete').click( function() {//Do the delete here via jquery post});
In my table I have numerous rows with the following
<a id="btnDelete">Delete</a>
How I do I pass parameters to the click event to post an ID to delete something
...
Hi!
Inspired by http://stackoverflow.com/questions/624102/enable-a-currently-disabled-dropdown-list-when-clicking-the-dropdown-list I tried something and I added some grey background to disabled selection.
The problem is that when I click on some selection (which radio button was disabled) the background of the dropdown list remains gr...
Let's say that I have this string:
s = '<p>Hello!</p>'
When I pass this variable to a template, I want it to be rendered as raw html. Looking at the docs I see that I can either use the safe filter:
{{s|safe}}
or disable autoescape:
{%autoescape off}
{{s}}
{%endautoescape%}
or inside the python code declare it safe:
from django...
Hi anyone see why my alert won't work?
<script type="text/javascript">
function SubmitForm(method)
{
var login = document.form.login.value;
var password = document.form.password.value;
$.post("backend.php", {
login: login,
password: password,
method: method},
function(data){
...
Duplicate:
Why are (X)HTML 5 and XHTML 2 separate standards?
HTML 5 versus XHTML 1.0 Transitional?
HTML vs XHTML does it still matter?
There appears to be a unified opinion that the developments in HTML 5 and support by browser vendors of HTML 5, make the adoption of XHTML 1.0 with hopes of the day of XHTML 2.0 a bad ch...
i was browsing Amazon.com and noticed that a search such as a "1TB" hard drive:
http://www.amazon.com/s/ref=nb_ss_gw?url=search-alias%3Daps&field-keywords=1TB
if we move the mouse over the rating "stars" image, we will only see the score of it if we are using IE. If we use other browser like Firefox, Chrome, Safari, Opera, then th...
Many Swing components support embedded HTML, but I cannot find any official documentation on that subject. (Everything on Sun's pages about HTML seems to be targeted at JEditorPane)
So: Which HTML tags are supported in Swing components?
EDIT: Although I said that I'm missing "official documentation", I'd also like any "unofficial" doc...
Hello,
I've an issue at the first load of a page with outerHeight.
The value returned by outerHeight() is a multiple of 27.
jQuery
$('.entries').each(function(r) {
$(this).attr("value", $(this).outerHeight()+15);
})
HTML :
<div class="entries">
<div class="container_entrie">
<span class="meta"><span class="title">Daily Inspi...
i am making a photo gallery script that involves displaying an image in fixed width/height box. now i want that image to display in its complete size. i mean, if the box is 700x300 px, the image should not resize to 700x300 but should display at its own full resolution. also if possible, can i somehow make it drag around in the box so th...
for example,in file test.php:
<a href="someting/?start=1">go</a>;
so that no matter where this test.php is,
can be in Document_Root/Test/ directory,
or can be in Document_Root/Production/ directory,
the anchor will point to itself.
...
I set the src attribute of img the way below but was not working :
src="/../files/filenamee"
the image is not shown.
How to do it correctly?
...