How do you create the special links which show under sites in search results? Say I search for Stack Overflow at Google, I get a result close to this:
The links I am asking about are outlined in red in the image above. What do you put in your page to have them show in search results, or how are they created?
Thank you,
Brett
...
So if I have a flash object, like a youtube video, I can embed that on a website pretty easily (I think because that's flash, not necassarily youtube, maybe I'm wrong?).
I'd like to be be able to drop a silverlight object/embed tag (no javascript) on a static html page (like my blog, which is not the site with the xap file), and be done...
I have a string with symbols like this:
'
That's an apostrophe apparently.
I tried saxutils.unescape() without any luck and tried urllib.unquote()
How can I decode this? Thanks!
...
I have a very simple holding page I built centering a div, anchor and image. For some reason it will not center in IE8 (either mode), and I am hoping someone can tell me why. I haven't had a chance to try it in other IE browsers. I have tried this in Chrome and FF3 where it works OK.
<html>
<head>
<title>Welcome</title>
<style>
#...
I am using the following code to add columns dynamically to a html table:
var tblHeadObj = window.opener.document.getElementById("maintable").tHead;
var j=0;
while(j < fname.length)
{
if(tblHeadObj != null)
{
for(var h = 0; h < tblHeadObj.rows.length; h++)
{
var newTH = window.opener.document.createElement('th');
...
Dear all,
My below PHP code show a image on browser as its original size 300x300.
<?
$location="http://localhost/folwer.bmp ";
header("Location: $location");
?>
But I need to show it 120x240 or any other size on browser. How can i do it without resize the original image using PHP? Pls help.
...
I'm a little confused about HTML classes and IDs, as I'd like to use them BOTH to describe an HTML element. Is this valid and supported by most browsers?
The motivation for me to use both is this:
I have a CSS style that I would like applied to multiple elements.
I have some AJAX and Javascript that will manipulate those same elements...
Is there a way in JS to get the entire HTML within the html tags, as a string?
document.documentElement.??
...
One of my clients wants to distribute a javascript widget that people can put on their websites. However he wants to ensure that the backlink is left intact (for SEO purposes and part of the price of using the widget). So the javascript he's going to distribute might look like this:
<script id="my-script" src="http://example.com/widget-...
Do you know of a search engine that looks in web sites code, not only text? for example to find all the websites that use Jquery I may search for 'jquery-1.3.2.min.js' ....
(I know the question is not directly a programming question but the answer can be very helpful to programmers)
...
I'm trying to figure out the best way to estimate the maximum size of the browser viewable area. i.e. the screen dimensions less toolbars, bookmarks, etc. Obviously it wont be perfect for cases when the window isn't maximized and due to the fact that people do actually use different browsers - I'm just looking for a good estimate here.
...
Given a HTML table with some data that may be either narrower or wider than the browser window,
In the former case I know how to make it expand to fill the full width.
In the latter case, how do you make it squash (by truncating some columns, not by wordwrap) to fit within the available width?
...
Hi,
Now I am working on implementing a browser in Java. I need to display the contents of a website (provided a url-address) inside a JFrame window. Is there a simple way of doing that?
I tried JEditorPane, but it only supports HTML 3.2, so the contents of the website looks very weird.
Thanks
...
Hi there,
Can anyone help? I have been designing a site using Javascript but the rest of the html content is static ie. images etc
When i load my page in Firefox i have to clear the cache..
I remember a long time ago there was something you could add to the html to force a reload.
My question is, is this a good thing? I presume it ca...
Actually wat I need is: I have submitted some data in database from a html form. Then I have to load one column of that data in select tag of another form. I have done this but problem is that how will I increase the number of options as the number of records are increased.
Code is as follows
<%@ page import="java.util.*"%>
<%@ page ...
I am making a site right now and I want to include the sidebar in every page. I have looked everywhere and everyone says to use the following code:
<!--#include virtual="insertthisfile.html" -->
I have done this but to no avail. I am using dreamweaver for easier uploading and managing of my files, and it shows up in dreamweaver. I wou...
Hi, I need to convert <font size="10"> to px.
Example only(not correct): <font size="10"> is equivalent to 12px.
Is there any formula or table conversion out there to convert <font size="10"> to px?
Thanks :)
Kind Regards,
Mark
PHP Developer from Philippines
...
I have generated HTML Content and I am writing it to a word File. I want to Know How many Pages it will take when Written to the Word Document.
...
I want to retrieve the HTML code of a link (web page) in php. Let's say http://stackoverflow.com/questions/ask this is the link and I want the HTML code of teh page which is served. I want to retrieve this HTML code in a php variable.
How can we do this?
...
Duplicate of:
Why not use tables for layout in HTML?
DIV’s vs Tables or CSS vs. Being Stupid
Theres been a lot of talk lately about rather using div than table tags to make your pages more browser fiendly. Why is div better?
...