html

Why would ie8 center text when the text-align is set to left?

Using ie8's own dev tools it shows the elements text-align value as left, but it is rendered centered in ie8 standards mode. In quirks or ie7 standards, everything is correctly aligned left. New user, so I can't post images, but check out: http://i35.tinypic.com/2afa9ky.png ...

CSS: How do you change the color of the "check" within an HTML checkbox?

How do you change the color of the "check" within an HTML checkbox? By default, on WinXP Firefox/Chrome/IE - the check is green. I would like to change the check within an INPUT type="checkbox" to orange ...

Java: I have a big string of html and need to extract the href="..." text...

I have this string containing a large chunk of html and am trying to extract the link from href="..." portion of the string. The href could be in one of the following forms: <a href="..." /> <a class="..." href="..." /> I don't really have a problem with regex but for some reason when I use the following code: String innerHTM...

How to use 2 tiling background images using the HTML tag and the BODY tag

I have a tiling background image, but I want to overlay another tiling image over it. I have tried using: html {background: transparent url('../images/bgtile.jpg') repeat top center;} body {background: transparent url('../images/body.png') repeat-y top center;} But it doesn't work quite right. The body tag behaves like a div because i...

Whats the most impressive thing you've seen done with JavaScript?

I've realised that while JavaScript has a bad reputation, its actually a surprisingly powerful client-side language - the trouble is that the overwhelming majority of JavaScript written is quirky drop-down menus or form validation. So called "Rich" client side platforms such as Flash and Silverlight are all about glitz and impressive ...

How to use SwingX-WS to simulate an HTML Form submit? (Not a directly post request)

i would like to know how to use the library in https://swingx-ws.dev.java.net/ to scrape a web page and submit a form. the simple code writen below is simply not working and i don't know why. could someone help me? thanks in advance. public static void main(String[] args) { try { Session s = new Session(); Resp...

Minimum iframe size to avoid scrollbar?

I'm trying to display an iframe, which can be pointed to various urls, and would like to dynamically resize it to display its contents without a scrollbar. How can I find those dimensions? ...

Calling Math Editor (CLOSED)

Hi all... Is there is a library for invoking math symbols/formula(not sure what to call), which are design specifically to be added in a websites called maybe in html, php or javascript code. Just like the button for bold, italic, link, etc. above the textarea in answer/ask ques page(sorry bout earlier), there will be another icon to ...

Float right div problem and IE

Basically my problem is with the page at http://wiki.diablocommunity.com/index.php?title=Tristram_Cathedral Please see the screen shots below IE 7 Firefox 3.5 I have a right floating div (shown in the screen shots as the blue crossed box). This div is the problem. When its floated left or removed there is no problem The problem is,...

How can you dynamically put different patterns on images in a webpage . .

i have A bunch of fabric patterns (simple jpg files) An image for every letter of the alphabet(blank white background) I essentially want to have a page similar to this: http://www.craftcuts.com/hand-painted-wooden-letters-single-patterns.html but instead of having it as a static page, i would like a user to be able to: Type in a ...

Good Web Designing Books for Programmers

Hi, I am interested in learning about designing web pages. I have developed ASP.NET applications but so far the UI for the applications i.e. the various controls and their layout have already been designed by someone else and I have had to work on the server side part of the application only. Now I am looking for good books to learn ...

Hidden Features/Properties/Attribute/Tags of CSS3 and HTML

In CSS and HTML world there are always features (Properties/Attribute/Tags) that would be useful in fringe scenarios, but for that very reason most people don't know them. I am asking for features that are not typically taught by the text books about CSS, CSS3 and HTML5. What are the ones that you know? [UPDATE] Which browsers adopt HT...

[HTML/PHP]: Do I need to change the extension of .html file ...

If I create a simple .html file with a table inside it. Within one of the columns of a table, if I insert PHP opening and closing tags, and even just type echo, it is not working. Do I need to change the extension of the file to .php? ...

JQuery everywhere.

I would like to know if I can include some Jquery inside another JQuery function, I'm changing the src attribute of the #ggMap item onclick="$('#ggMap').attr('src', 'googleMap.php?x=690&y=390&address=');return false;" and Thishis is what I'm trying to do: onclick="$('#ggMap').attr('src', 'googleMap.php?x=690&y=390&address=$('#addr...

Add space between a group o radio button.

Hello I have a group of radiobutton, Now how can i add space between a group o radio button's options. like this http://img692.imageshack.us/img692/3955/radiod.jpg either using css ...

Div containing floating left items doesn't expand properly.

<div id="DateAndTime" style="clear:left; width:100%" class="Frame"> <h2>Date & Time Criteria</h2> <h3>Permitted Days of the Week</h3> <p class="DataForm" style="float:left"> <asp:CheckBox id="chkMonday" runat="server" Text="Monday"/><br /> <asp:CheckBox id="chkTuesday" runat="server" Text="Tuesday"/><br /> <asp:CheckBox id="chkWednesday...

Help with XML, PHP and CDATA

Hi, I have the following contents in my XML file: <items> <item id="1"><content><![CDATA[<p>string</p>]]></content></item> </items> I have HTML inside the content, so, I used CDATA. However, when I'm trying to display the content as HTML on the web page: $item_content = $xpath2->query("/bulletin/item[@id='$item_id']/content"); forea...

How do I know a a batch of images are loaded?

I have a Javascript Map kit, and it use Image object to load images. Every time I move/resize the map, it will load many images. But I want to know how I can fire a function when all images are loaded after I do a move/resize action. Is there a way that I can create a listener like "allimages.onload=function(){}" ? Or is there any wor...

tag replacement

Hi everyone ! Does anyone know how to set a new tagName to a tag using Jquery? Let's say i have an HTML document and I want to replace all 'fieldset' width 'div'. Thanks in advance ! ...

strange markup in HTML (HTML_ATR HTML_ELM, SYN_ROW, JS_KEY, etc..)

I've build a website for a client and as we all know 'it works just fine on my machine' :-) as it does on several machines at my clients location. But they have (so far) 3 pc's on wich some errors occur, like cannot find ElementById. These machines are normal up-to-date windows machines running IE8. When comparing the html-source of th...