html

List of HTML to PDF converters

I know there are quite a lot of questions on this topic (1, 2, 3, 4, lots), but there doesn't seem to be a good comprehensive community wiki rundown of HTML to PDF engines. Please stick to one product in each answer and edit or add comments to answers, rather than add another one if you have something to say about an engine that is alre...

absolute css positions - firefox plugin to make it faster?

I do all my css work with firebug, using the up and down arrow keys to adjust top and left values. Anyone come across a firefox addon that lets me drag stuff around and then copy and paste the top and left values? edit: I have changed the question slightly from 'easier' to faster. Sorry for any confusion, I am not a beginner looking ...

IE7 ignoring margin in a div following an absolute positioned div

I have two divs inside a container, the first one has absolute positioning. In ie7, the second div apparently ignores the top margin. Padding seems to work fine, but for visual reasons I have to use margin. I know the culprit is the absolute positioned div because if i remove it the following div works fine. This is only happening in i...

Hide the top frame on google translate

<frameset rows="36, 95%" border="0"> <frame src="alfa.html" noresize scrolling="no"> <frame src="http://translate.google.com/translate?js=y&amp;prev=_t&amp;hl=en&amp;ie=UTF-8&amp;layout=1&amp;eotf=0&amp;u=http://www.apple.com/&amp;sl=en&amp;tl=zh-CN"&gt; </frameset> How to hide the google top frame? JS? Jquery? And how... Thank...

[iPhone Web App] Ignoring Orientation

Hi, I am building a web application for iPhone. Since the application shows different content while in different orientations, the built-in animation between the two orientations animates the original content as well. For better result, I would like to disable the animation between the portrait and landscape. Is there a way to do it fo...

html elements text/hidden along with file should be submitted?

how to submit html elements text, hidden etc., along with file element? While using multipart for file element, the other elements are not read, like request.getParameter("") gives me null for other text/hidden elements... please help me in this with the solution... Thanks. Narban. ...

Css cascade problem:Mozilla

Hi Guys, I have a problem in viewing my web app in mozilla. In my web app I have a button whose css styles are as below: .page_button { BACKGROUND-IMAGE: url(../images/pagebutton_bg2.png); BORDER-LEFT:0px; /*WIDTH: 100%;*/ CURSOR: pointer; /*COLOR: #000000;*/ BORDER-BOTTOM:0px; } As above I have commented out the "Width:10...

Simple variable and pixel question

For you guys, I imagine this will be easy. <div class="vote_pct" style="width: $widthpx;"> I want the variable to be $width and for it to have px on the end. If i put a space, it doesnt work. If i put them together, it treats it as one big variable name. Could I ask someone the correct snytax to achieve this? Thanks ...

design changes with browser

Possible Duplicate: HTML and JavaScript Having problem in display in different browsers. It is showing great in IE8, but not in firefox. What i want to do is that, a) I want to change the display box with pressing on colored headers. b) when will I press dark green header in table, it should display "registration status", c) w...

WebService asp:ServiceReference(?) generates inavlid html "/// <param name"

Hi, I'm developing an web app in asp.net/jQuery/json Using: WebService: [WebService(Namespace = "http://test/services.internal")] [ToolboxItem(false)] [ScriptService] public class AsdfWebService: WebService { [WebMethod] [ScriptMethod] public string GetAsdf(string bla) { in aspx: <asp:ScriptManager ID="ScriptManager...

Apply background color to li but not the nested ones

I have nested ul/li's and the problem is that if you add a background color to the top li, because there are nested items within it the whole list appears to have this background color rather than just the top li (I assume this is because it's extending the height of the top li). Is it possible to only apply the background color to the ...

How do I create a Submit button mouseover?

I am creating an HTML contact form that uses a standard image for a submit button. Here is the html: <form action="#"> <fieldset> <input type="text" name="name" value="FULL NAME" onfocus="if (this.value=='FULL NAME') this.value='';"/> <input type="text" name="" value="PHONE NUMBER" onfocus="if (this.value=='PHONE NU...

html emails - problem with <button> inside <a> tags ?

The following looks fine but when i test it in gmail, it opens the link twice (in 2 new tabs), it's as if there's some kind of wierd event bubbling happening.... <a href="some_url"> <button>Approve</button> </a> am i missing something obvious? ...

DOCTYPE stops my div from showing.

I have the following code which, as expected, shows a grey rectangle in both Firefox and IE. As soon as I add a DOCTYPE (HTML 4.01 Transitional) in front, it shows only a blank page. The online validator says the document is OK. What is wrong? Should I care about DOCTYPE? <html> <head> <title>Title</title> <meta http-equiv="content-...

TextArea not clickable in IE6

Hello all, I have a simple textarea which works in all browsers i.e. I can click inside it and type. But I can't do this with IE6! I am however, able to press the tab key until I get to the textarea and then I can type in it. But I cannot click it. What a strange quirk? Anyone know what the hell is going on?! The source of my form ca...

HTML Tag Cloud in Python

I am looking for a simple library which can be given a set of items:value pair and which can generate a tag cloud as output. Library can preferably be in python ...

Suggestion of best practices for implementing a Web Chat

I want to develop a good chat in my page, I know how to program in php, actionscript 2 and 3, and how to manage MySQL databases. So, given that I know to program, what do you suggest? Any good tutorials for making one? good open source projects? Implication of using this technologies in chats? ...

Fancybox visibility problem

Hi all, When setting a style at #inline2 hiding it, Fancybox will appear empty on click. In addition the #inline2 element can be seen in Fancybox when there's no style hiding it. Though this example is copy'ed directly from the various examples on the official Fancybox site. See Various Examples at http://fancybox.net/home. Someone pl...

CMS form not displaying correctly per css

I am using a CMS system, which has a template for generating forms, with predefined CSS. The CSS file in use is here The form I am using at the moment is: <div class="bodyline"> <?php $theform->startForm($pageTitle)?> <div id="rightSideDiv"> <fieldset> <legend><label for="report">Report</label></legend> ...

css image mask overlay

I'm trying to get a transparent png frame image to hover over an img tag to create the look of a frame over it. I've tried multiple different approaches and none seem to work. The latest method I used was http://www.cssbakery.com/2009/06/background-image.html this doesn't seem to work either. HTML <div class="filler"> <div class="...