I'm displaying KML placemark data in Google Earth via a NetworkLink, and would like to keep the size of the KML down by not including the description text in the Placemarks' KML definitions. Instead, I would like to retrieve and embed remote HTML text (via an HTTP request) only when the balloon window is activated.
Is this possible? I k...
I am having trouble getting a background-image to overlay the border of another div. We have a sidebar panel with various sidebars, including a navigation menu. To the right is the content panel. We'd like anything selected on the sidebar to appear connected to the content panel:
In the example above, there is a background image on...
Is it possible to create data URI's in GWT?
I want to inject a byte array image as an actual image using a data URI.
Thanks!
...
How do I specify that a page is in a certain language so search engines can understand?
Is it a meta tag I put at the top? If it is, do you know if most of the search engines use this to determine language?
I have converted 1 page of content in english to several different languages, and would like to include that information in the ht...
Hello,
My code is :
//cron.html
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 11">
<meta name=Originator content="Microsoft Word 11">
<
</head>
<body>
<form method="post" action="CETrafficGenerator.php?step=2">
<...
I have the following code:
<div style="width: 100px;
overflow: hidden;
border: 1px solid red;
background-color: #c0c0c0;
padding-right: 20px;
">
2222222222222222222222111111111111111111111111113333333333333333333</div>
(XHTML 1.0 transitional)
What happens is that the padding-right doesn't appear, it's occupied by the content, whi...
Take a look at the image below.
I defined the red boxes inside the blue box however they drift left into the black box.
Interestingly enoguh, in older browsers or with compatibility mode checked, they look the way I want them to. It also looks the way I wish it to look in VS2008. Does any one have any ideas? Here is the CSS
body
{
}
.l...
When my page content exceeds the minimum height of the div I want both columns to expand with it. At the moment when the left div exceeds the right, there's white space underneath the right div, but I want the right background to repeat with the size of the left.
http://thinkingparentsforum.prettypollution.com/blog
Any ideas?
...
I'm curious about the possibility of having a .NET class library that provides a complete abstraction of HTML (and perhaps CSS styles as well).
There would be a .NET class for every kind of HTML element, and even abstract classes (e.g. an abstract base class 'List', which 'OrderedList' and 'UnorderedList' extend).
The elements could be...
The code below has a repeating background image "thinline.png". On top of that are 4 layered transparent PNGs: cardshadow.png, steel.png, startjobapplicationshadow.png and startapplication.png
My goal is to make this code look good in IE6 without messing up other browsers. This feature of IE is widely documented but I have not been able...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8" />
<title>title</title>
</head>
<body>
<script type="text/javascript">
<!--
va...
I've come across an interesting problem in the following line of code:
<img style="background-image:url(Resources/bar.png); width: 300px; height: 50px;"/>
In Safari (at least), a gray border surrounds the 300x50px area. Adding style="border: none;" doesn't remove it. Any ideas?
Thanks.
Mike
...
Hi all
Any ideas how I would go about writing a javascript method to insert an attribute to a tag
eg. I have
<input id='in1' value='Submit' type='submit'/>
and I want to insert an attribute name
<input id='in1' name='submit_content' value='Submit' type='submit'/>
Thanks
...
A form on my website's contact -us HTML page has two fields
1) subject
2) message
When the page loads for the first time I want these two boxes to display messages like "Enter subject here" and "Enter Message here".
I found that we can do this by using the "value" attribute of the text box, is this the best way ??..
What alternatives...
Hi,
I'm trying to refresh a page without sending POST from the previous time.
I've tried
window.open("postme.php?r=t","_self");
Which appends a ?r=t to the end but it doesn't appear to refresh the page as the page displays a number of file s in a directory which hasn't change even though I have moved or deleted them.
Can you specify...
I don't want to use a couple of javascript plugins for IE 6/7.
But I want to use them for all other browsers.
How can I do it?
Is there any way I can do it?
...
I have a filelist.txt file
and i create clear.php file to clear the content of filelist
in index.html i put a button to call clear.php to clear
Can anyone help me out regarding:
What php code should i write in clear.php
How to code a button to call clear.php and then return back to index.html showing the result that it has been clea...
Wanting to highlight stuff in web pages as you mouse over, but there seem to be so many ways you can set display properties I'm having trouble finding a good way to change the display so that it can change back and still keep close to what the user was already looking at.
The IE 8 developer tools Outline tool does something like what I ...
I am trying to build the html with css styling schematically presented in the picture below:
I manage to position the inner div with the following html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<body>
<div style="background-color: yellow; width: 100px; he...
Bit of a weird one here - I've created a map with various image overlays floated over the top using CSS for a web app which is built in asp.net; it looks and works fine in the browser, however the page the map appears in is sometimes converted to a Word document for editing, after conversion the map either disappears if using background ...