I am trying to achieve a gradient + text shadow effect in Chrome/Safari using CSS text-shadow and a combination of text-shadow and background-image: -webkit-gradient, see example blw. I can only make one of the effects apply(if I add the shadow the gradient disappears. What am I doing wrong?
h1 {
font-size: 100px;
background-image: -web...
<div class="post-content">
<p>XYZ</p>
<h4></h4>
<p>XYZ</p>
<h4></h4>
<p>XYZ</p>
<h4></h4>
<p>XYZ</p>
<h4></h4>
<p>XYZ</p>
<h4></h4>
</div>
Now i want to add a class on the p which is just coming after p, want to hide it. Then after on h4 click want to show it.
...
Hi, I have a webpage with a fluid layout with a 100% width.
When I resize browser window the elements in the page overlap.
I would create an effect similar to this website http://bologna.bakeca.it/ that when window is smaller than a fixed width stop resizing.
...
Hi Friends,
I have some big size pdf catalogs at my website, and I need to link these as download. When I googled, I found such a thing noted below. It should open "Save As..." popup at link click..
<head>
<meta name="content-disposition" content="inline; filename=filename.pdf">
...
but it doesn't work :/ when I link to fil...
Hello!
How can i parse a document with a text/html header as a xml document with jQuery?
Thanks in advance
...
Hi,
I am a iPhone developer stuck with some basic CSS properties ;)
I want to show something like this:
This is what I have:
<div class="cell">
<div class="cell_3x3_top">
<div class="cell_3x3_type rounded_left">type</div> <!--UPDATED:2010/09/29-->
<div class="cell_3x3_title rounded_right">title</div><!--UPDATED:20...
So, I have this <ol> with some events attached with the help of jQuery (1.4.2). All is done in the $(document).ready()-call.
The weird thing is that the click on the <li> does generate a click on the correnct <a> (I can see this by uncommenting the console.log()-part) but it does not navigate the UA. Why is this? Does event.stopPropagat...
I need to write an application for a friends site which parses hidden fields. I've downloaded the Html Agility Pack library, but I'm kinda confused because there are not really any examples. The HTML field looks like this:
<input type = "hidden" autocomplete="off" value="randomvalue" name="foo">
How would I go about getting the value ...
I'm trying to create the following design:
This is my code so far.
<section class="frontpagearticle">
<figure class="frontpagearticlefigure">
<img class="frontpagearticleimg" />
</figure>
<header>
<h2 class="frontpagearticleh2">MyHeader</h2><time class="frontpagearticletime">pubtime</time>
</heade...
Hi,
A picture says more than a thousand words?
I would like the second (and consecutive) lines to be aligned with the first. Any ideas?
Html is
<input><span>text</span>
...
I have some ten html pages with same header ,footer ,left and right navigation tabs can i have one master template so that i will refer header and footer and navigation tabs from each page without using any asp controls .
...
An AJAX response is returning the full HTML page. I need to extract the fragment between the body (<body> and </body>) tags. This is required to be done on the client side using JavaScript. Any help will be appreciated.
...
How does gmail report a bug works - technically?
By this I mean.. what HTML, JS techniques they may have used to get screenshot plugin kind of interface.. and technique.
Thanks !
...
Hi,I have saved two pages evernote.com/mobile/Login.action and http://www.evernote.com/mobile/CreateNote.action?paginatedQuery.page=0&paginatedQuery.queryDefinition=RECENT%3A locally and want to create a single page for logging-in and creating note.
Login page has this code-
<div id="pageContent">
<div id="login_box">
<div id="l...
I want to create a data-entry form like the following:
Name: [ Name textbox ]
Age: [ Age textbox ]
label n: [ textbox n ]
Where the labels left-align, and the textboxes left-align. I know I can do this in a table element, but I'm also aware that "tables should only be for tabular data". While I part agree/disagree with th...
Hi All,
The issue is I have a page with the following checboxes listed for a particular question.When I select one of the boxes and go to the next page and comeback then i find,none of the checkboxes appear to be checked.I have checked it on the back end and i was able to see that the checkboxes were indeed checked,but i was not able to ...
I am replacing most inline images on my sites with a sprite.
The sprite class would contain some basic css:
.sprite{
background-image:url(...);
background-position:...;
width: 16px;
height:16px;
}
I saw that nesting div inside of an anchor tag is not a good idea.
<a><div class="sprite"></div></a>
I've tried to add sprites to span ...
I have been stuck on this one for a while - I couldn't figure out why a website renders differently in two identical versions of Internet Explorer. Half an hour ago I came across a compatibility mode button in IE which made me really angry.
Disabling compatibility mode has fixed my problem.
Is there a way to disable it programmaticall...
Hi all
I have a bunch of HTML list items and what i want is to be able to read the text of a list item and then be able to give the user the ability to modify it. the structure of each list item is the same:
<li id='1' class='attachment'>
<a href='link.html'>TEXT VALUE I WANT TO READ AND MODIFY</a>
<a href='link2.html'><img src...
Hello everyone, what I'm trying to do is converting a TextArea content into a valid html code. Suppose you type inside the TextArea and then you press a button that shows the typed text inside a element. If you typed something like inside the TextArea:
Hi folks!
Do you like jQuery?
I do!
The resulting string you have to put ins...