html

linking to a shared folder in firefox

i have an asp hyperlink i want to link it to a .doc file found on a shared folder. i was able to do this in internet explorer but not in firefox: my code: hlc.NavigateUrl = @"file:\\direct\upload\file.doc"; ...

Javascript replacing HTML char code with actual character

I have a HTML input text, and its values are populated from a related div. My problem is that the div contains characters like &amp; which will display correcly as '&' sign in div but when copied to text box the text '&amp;' will be dispalyed How can i convert &amp; to & and '&lt;' to '<', '&nbsp;' to ' ' ??? ...

Disable Auto Zoom in Input "Text" tag - Safari on iPhone

Hi, all, I made an html page that has an tag with type equals "text". When I click in it using Safari on iPhone, all the page becomes larger (auto zoom). Does anybody know how to disable it? Regards, Eduardo ...

The form moves when i select a date in a form. Is a CSS problem?

Hi, i have this page. When I choose a day instead of "Dia:" in "Fecha de nacimiento" the form moves a little (at least in Firefox/Ubuntu). Is a CSS problem? Regards Javi ...

HTML, CSS..: different font size in buttons and selects than for plain text (at least in FF)

Hi, I have this rule: body { font-family: Arial,Helvetica,sans-serif; font-size: 12px } but i have different font size for the selects and the buttons then for plain text. What should i do if i want the same size for everything? Regards Javi ...

Colorize code inside <code></code>

I'm looking for a open source PHP script to colorize the code inside <code></code> or [code][/code] tags. Thanks ...

Text-indent is not working in safari firefox

Hi All, I m using a ruby code in select list i need 15px gap from left so i used a padding left="15px" its working fine in firefox but its not working ie and safari so i want to use text-indent ="15px" its working fine i safari and ie but not in firefox please any one help me to resolve this problem,, padding left is working fine in t...

How to create a menu tree using HTML

Hello,I need to create a menu tree using HTML. I had a search on Google, but they are providing some software to download in order to create this. But I need some script and HTML tags to do this. Can anyone help me solve this problem. Thanks in advance. ...

How to avoid strange characters before the request in firefox?

Hi, on a website i'm currently developing I'm using jquery to do all sort of magic things :-) In firefox however, when I load jquery 1.4.2 there are sometimes funny characters in front of the request. You can see the strangers characters in this screenshot (thank you firebug). In safari, Chrome and IE these funny characters don't app...

set border for table with overflow is auto

Hi All, I would like to have a border for the table with class name as "wanttosetborder". Without the div it is setting border for this table. With the div tag, it is setting border till the last row before div tag,(i.e a line after H2 is displayed) after that no border is displayed. Please find the code below. <html> <head> ...

Trouble adding event listeners via JavaScript

Currently I have a function which loops to create multiple HTML objects. Each time an object is created, I want to add an onClick function listener to that object so that I can trigger a function when each one is clicked. What's the best way to do this? Here's the code which creates my objects: RenderMultipleChoice:function() { ...

Why would JSP tags appear in HTML source code?

I'm a front-end web developer at a company using Java on their server. As a front-end developer, I'm concerned with the HTML structure that the server produces, but I don't have control over anything our back-end team produces. Rather than ask someone on that team, I would like to gather knowledge from the Stackoverflow community so I ca...

CSS of iFramed page not being applied properly

My company has purchased a third-party package with a built-in customer facing web portal, and I'm being tasked with integrating it into our site. Unfortunately, the web portal does not look great, and we have absolutely no control over how it looks (other than asking the vendor for changes - $$). In order to make it look somewhat like...

How to scan HTML and javascript files for cross browser compatability?

I'm looking for a tool that will scan my HTML and JS files and report whether the scripts are cross browser compatible or not. I'm not really interested in an online tool which I have to enter all my URL's. ...

i am using in my asp.net page and tried to set the iframe height 100%, But its does not work.

I am using in my asp.net page and tried to set the iframe height 100%, But its does not work. ...

firebug and _moz_dirty

I am developing Javascript app that will wrap every line of text entered inside iframe (designmode) with P (or div) like it happens by default in IE. For now I am not pasting my code because I just started, the first problem is when i type some text in firefox and even before I click enter or calling any function firebug inserts <br _...

Posting a form with hidden fields without submit button click

I have a form as <form action="" method="post"> <input name="Descripcion" type="hidden" value="" id="Descripcion" runat="server" /> <input id="Submit1" type="submit" value="Comprar" /> Instead of clicking on submit button i want that the form should be posted without clicking submit button with hidden fields ...

Free Java HTML and JS parser

Do you know a parser which could operate on AJAX and has option to override method of connecting (I would like to use my own method to connect to pages). ...

Birds on the trees in the background

How do these birds pop up behind the trees on the bottom? http://grabaperch.com/about Are they using css with php or what is it? ...

Models for embedding and automating Microsoft Word within an .aspx page

First, let me describe the application, then the need. My application is an ASP.NET MVC app that has a contacts database. One feature of my application allows a user to create Microsoft Word templates with mail-merge fields in it. Once the templates are uploaded, the requirements of the mail-merge feature are as follows: Allow the...