I know the topic of having an inline element around a block-level element as being semantically invalid has been discussed here at length.
However, the situation of putting an "a" element around a "div" seems unescapable whevener you want to... well... put a link around a box (with CSS-defined width and height for instance). That looks ...
When producing PDF from Html the webkit transform does not work. I need to rotate a div at 45 angle and after using webkit transform it looks ok on the screen but with winnovatives Html to PDF convertor the out put was flat not rotated. Any solutions?
...
Hello,
I am doing an ajax call to a server side function that returns an html response made only of two DIVs, like for example
<div id="divOne">text on divOne</div>
<div id="divTwo">text on divTwo</div>
Can I parse the markup response to extract only the text part included in the DIVs?
...
For all you who know, in Google Webmaster Tools one can submit a sitemap or **sitemap_inde**x file and then google will fetch it and crawl the website when it "has time to".
I have searched for this but can't find an answer anywhere...
In the interface of webmaster tools, there is a section for "sitemaps" which lists all sitemaps submi...
I found code online to clear a form but it had nothing for a select box. With jquery i tried adding code to select the default option in the select box when i reset the form. I figured the only way to find the default was to look for where the SELECTED option was. I then discovered when the user selects something else jquery does not see...
Hi, I'm trying to display a number of images in an absolutely positioned div. The div has text-align set to center, which nicely puts the images in the center. I then added a margin-left rule with the adjacent sibling selector for the images, to give them a bit of space, but not messing up all the centering goodness.
Images are static i...
I am loading as secondary view with its own xib file. I can load it fine, but cannot get the webview in it to load any content. I have another app where this proces works, but it is in the main view.
Here is the code I am using.
@synthesize webView;
- (void)viewDidLoad
{
NSString *path = [[NSBundle mainBundle] pathForResource:@"...
I have an iframe on my index.html and this iframe is dynamic.
on my index.html I have a form, which when submitted, shows the results inside the iframe.
The problem is the Iframes height also has to be dynamic for the website to look "clean".
So in the Iframes php page, I have this code:
<body onload="parent.resize_iframe(document.bo...
Is there a way to create paginated content (display separated pages horizontally/vertically) using css 'paged media' features?
...
I have a table in html with some tabular data.
The thing is that I have designed a delete and edit visually link outside the table (on the left side of the table), that will only be visible when the user hovers the table row.
How can I add these links without messing up the default table layout?
The current problem is that I need to ...
I'm developing a product that is interfaced over USB. I want to write a control app for it, but I cannot program a GUI for poo, so I came up with the idea of using a web page (local to the app's install directory) as the interface to the program.
So, the line of communication would be: User --> HTML page (not hosted - it's local) --> C+...
I have implemented a search engine in C for my html website. My entire web is programmed in C.
I understand that html input sanitization is necessary because an attacker can input these 2 html snippets into my search page to trick my search page into downloading and displaying foreign images/scripts (XSS):
<img src="path-to-attack-site...
Hi,
I have applied * {-moz-user-select: none;} to the main stylesheet, because there are more unselectable elements than those that are selectable. I then tried to set -moz-user-select: auto; to an input, but it does not work. I have also tried the value of text and all, both do not work.
Also it seems that user-select does not work in...
Hi.
I animate simply object using:
$("#progress").animate({width:400},2000)
Than i also want to view it's width like that
$("#loadingpro").html(pro+"%");
pro = Math.round(procent$("#progress").width()/4);
But when I am doing it like that it's start to delay whole cpu so much that it is not possible to do it at all.
Any ideas how...
i have this textarea, that takes the value of a get function transferred from another page,
<textarea name="inputField" value="<?php echo $_GET['replyto'];?>" id="inputField" tabindex="1" rows="2" cols="40"onblur="DoBlur(this);" onfocus="DoFocus(this);" ></textarea>
this is the url link,
http://localhost/final/home.php?replyto=@sam&a...
i have a website and when i click on a link, i get this blue border around the link just during the time i am clicking it. When the new page loads, that highlighting is gone.
Here is an example screenshot how it looks right when i click on the link.
How can i stop this from happening?
...
How can I index mp3 files on user side and create a database of file name, artist name album name etc and upload them on a server?
I would like a HTML 5 solution, although Flash or JavaScript would do.
...
i am looking for good looking horizontal menu for my web page. I keep looking at other sites and i noticed that a lot of them use images for the menu. This seems like a real pain to maintain (a separate image for each menu item). Why would anyone bother with this approach? is it just to get certain fonts that might not be on the machi...
I have an html page, where some images are generated dynamically based on some input text boxes (using javascript). When i am seeing its print preview those images are missing even i can see those images.
Whats needed to show those images? which at start are not the part of html content when page loads.
...
i have this li list , but i want to know how to have the current page link have a background of white,(li:active)
css:
#layout-three-liquid2 #section-navigation ul
{
margin: 0;
padding: 0;
}
#layout-three-liquid2 #section-navigation ul li
{
margin: 0 0 0em;
padding: 0;
list-style-type: none;
}
#layout-three-liquid2...