html

How can I make just IE ignore a class?

IE handles one of my div's classes totally wrong. It works in every other browser I tried. I want to simply not apply the class to the div in IE. Is there a trick to make IE not apply it? More info: The div has multiple classes. I want to still load one but not the other in IE. The classes are defined in a Javascript file. Thanks. Mike...

Internet Explorer: Broken Underlines

I'm having some trouble getting this layout to work correctly in IE. The problem is that when I have a bit of small-caps, underlined text, an image with vertical-align set to middle breaks up the underline. Lower case letters have their underline shifted down. See the picture. This looks fine in Firefox, Chrome and Opera, but it's broke...

Struts 1.x: Form isn't shown

Hi! I have a form like this, in a .jsp page (using Struts + Tiles): <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" p...

Javascript/HTML > Form/Input > automatic firing every time a page loads

I had to take my working example here. For some reason, it does not work as easily as the initial example. New Example Suppose I want to see M5s every time the page loads. So how can I fire the same query for M5 every time the page load? I copied the critical part here: <body> <div id="search"> <form onSubmit="makeRequest(1)...

`&quot;` not becoming quotation mark when output

My quotation marks, when converted to &quot; by htmlentities() are not turning back into actual quotation marks when output after being stored in the [Postgres] database. Please help - this is time sensitive. ...

Dynamic HTML content in E-Mails

I have seen some mails which has HTML content embedded in them. The content of the mail changes as the corresponding webpage in their site change(for example price of stocks which keeps updating in the mail itself). How to link such webpage content into emails? In other words how to link a web page into an email so that whenever I change...

Javascript question: Detecting children currently in view within an 'overflow: auto;' parent element?

See title. Additionally, how can I tell if a given child element is only partially or else wholly out of view (that is, not within the currently scrolled portion) of my 'overflow: auto;' parent element? ...

How to analyze IE activity when opening a specific web page

I'd like to retrieve data from a specific webpage by using urllib library. The problem is that in order to open this page some data should be sent to the server before. If I do it with IE, i need to update first some checkboxes and then press "display data" button, which opens the desired page. Looking into the source code, I see that ...

Input value to a child window text box

I am developing a website in which I need to send a value from parent window to child window. Is it possible via the URL ? For example: I have this line in parent window <tr ondblclick="fopenclaim(69856984);" id =trackrow>'; function fopenclaim(number) { window.open('https://www.sample.com/ClaimsOnline/','claimform','width=800,he...

Prevent selecting & copying

I want to inactive selecting & copying text in html page. when I used Javascript & inactive right click user can use Ctrl+V!! ...

how to get title of html page by javascript ?

how to get title of html page by javascript ? ...

Everything showed good, except the tabs. (HTML,CSS,JS)

Hello, Iam working on a website and I dont have any clue why the tabs doesnt work when I upload the website. Because when I view the website normal it does work perfectly. By the way: The tabs are working with a jquery script. This is the website URL: http://bmvisuals.poshh.nl/ Greetings. Edit: I mean some of the tabs doesnt appear. ...

Display a temp image while page loading

I develop a webpage , in that I scrap the data from webpages, so it takes some time to load. But in that time a blank page will be shown in the background. I need to show an alternate image until the page is loaded. Help me to do this. thanks in advance ...

Mentioning the HTML TAG element before a CLASS or ID (Good or unnecesary CSS practice?)

Basically, I want to know what is best to avoid future problems and confusions with CSS code... Naming CSS proprieties like this: div#content ul#navigation div.float-left (Its really unnecessary to do this?) or just #content #navigation .float-left I don't have experience with big projects so I wish someone could tell me which ...

Good way to handle missing AssociatedControlID

I have a medium sized project with a lot of pages. One of the things that I've noticed is that we have a lot of labels that have AssociatedControlID pointing to controls that are not visible. The target controls are set visible when a user has edit permissions, but not normally. This means that the html generated in not valid, which we'...

HTML TD wrap text

Hi, I want to wrap a text that is added to the TD. I have tried with style="word-wrap: break-word;" width="15%". But the wrap is not happening. Is it mandatory to give 100% width ? But I have got other controls to display so only 15% width available. Need help. TIA. ...

Detecting the URL POST parameters to pass

The problem is to screen-scrape the latitude/longitudes for entities(restaurant-names, etc.) from wikimapia.org AND restrict the results based on the latitude/longitude Here is how I tried: Install Live HTTP Headers addon in Firefox. Filled up the form on the main-page of wikimapia.org to "pizza corner" Saw that the the main site woul...

HTML - force webbrowser to enter form text as UTF8?

I want to standardise on UTF8 on our web browser. All our databases and internet stufff is in UTF8. All our web servers SAre sending the charset=utf-8 HTTP header. However I've discovered that my changing the encoding on my Firefox (View -> Character Encoding) to something else I can enter Latin-9 character into a form and PHP just treat...

URL of my java class.

Hello, I am trying to find my java class URL in order to use it in a SWT.Browser component. My goal is to display a page located in the same folder as my .java file. If anyone knows how to do it or has a better solution to display a local page in a SWT.Browser I would be glad to know it to ;p Thanks in advance. ...

<button> versus <input type="image">

This is for an "Add to basket" control for which one of my colleagues has designed a nice graphic. Obviously it should generate a post request, which a simple hyperlink isn't going to do. Amazon achieves it using an image input. But what are the pros and cons of <input type="image" src="atb.png" alt="Add to Basket" /> versus <butt...