html

How to add subit action to an image

Hello. I am supposed to add submit action to an image.So on the main page,i have done <input type="submit" class="go-button" name="submit"/> in and in css i have written .go-button { margin-right:7px; background: transparent url(../images/go.gif); width:26px; height:20px; border:0px; overflow:hidden; } But the problem is I am...

[CSS] Margin display disparity between IE7 and FF3

Hi everyone: Refer to HTML, CSS below. Why the margin-bottom will not reflect in IE7, but in FF3? Is there any workaround for it? Notice that I set margin: 50 in CSS. <body style="background-color:#fff"> <div class="window"> d-window </div> CSS: body{margin:10px;padding:0;background-color:#1e1e1e;color:#ddd; border: 1px solid #...

HTML - decrease page size

Is there any way to decrease or squish the size of a .html page? ...

IE positioning problems

In every browser but IE, on euroworker.no/order the little green arrow under the word "produkt" sits on top of my div container. Why in the world does this not work in IE? Thing is, it works on two pages out of four in IE but all four in other browsers. All the pages are built the same, but for IE it displays this thing like 20px above t...

set position in a table

How to set position inside a table? I have table inside which I have span and certain links. I made <td> as center alignment and span texts starting from center, but when I do the same for all links <td> everything is displayed in center if it own. But I need to start all text at the same position. How to do this? ...

linked comboboxes in html

Basically my webpage has two comboboxes. First combo box is populated with data comming from MySql. There is a button Add to the side of combo box and when user selectes a item in combo box 1 , clicks on the Add button, that item should get added to the second combo box that is in the same page. Can anyone please tell me how to do this i...

How do i put an X on the right side of a <a> block?

if i remove a.three display block this shows up fine. However what i want is the X to be at the right side. I tried float: right but it puts the x on the next line. How do i get the X on the same line? Here is some code. -edit- I forgot to mention. All of the green must be clickable as the original and which is why i have the 3rd link a...

Seems like IE animates/processes my loading.gif even though I have set display:none?

I believe this is happening because whenever I perform an ajax request (upon which the loading.gif is set to display:block) the animation does not start at the same position. The starting point feels random which led me to think the animation still goes on behind the scenes in IE. In Firefox the animation starts from "scratch" all the ti...

Event problems with FF

Hi all :) Made this sweet little script to auto change fields after input. Works nicely in IE, Chrome and Safari, but not in FF or opera. JS code: function fieldChange(id, e){ var keyID = (window.event) ? event.keyCode : e.keyCode; if (document.getElementById(id).value.length >= 2){ ...

javascript function not working in IE 7

Hi, Can anyone please tell me how do I make this script run in IE 7? When I run this , nothing happens. <html> <head> <script language="JavaScript"> function moveSelectedOption() { // Fetch references to the <select> elements. var origin = document.getElementById('origin_select'); var target = d...

image in div doesn't display anything

i'm trying to insert an image in a div container using css and html, but it doesn't display any image. html code: <div id="wrapper"> <div id="quoteContainer"> <span class="start_img"></span> </div> </div> css: #quoteContainer { color: #898989; background:#F9F9F9; border: solid 1px #ddd; border-radius:10px; -mo...

Why IMG load everytime when refresh the web page ?

I have one html page which contains background images + one logo (image). I called background-images through external css file, but for the logo, i used with an <image> tag. Whenever I refresh the page, the logo image is always reloaded but not the background images are. Can i know why the image reload every time ? Do i need to use that ...

insert new line after displayeing each key value pair in javascript object

Hi, I have a javascript object which is converted from json to java script object. i want to display its values like after each key value pair, i want to insert new line. but i dont know exactly how to do that. below is my code, please take a look and tell me how i should insert a new line. i tried but its not inserting a new line is dip...

Are you familiar with <ins> tag in html?

I just found that google uses this tag for adsense, but seems it also works without this tag,why they prefer to use it? ...

HTML/CSS - Headings for each "level" of unordered list

I would like to use the heirarchical benefits of using nested unordered lists, but I need to identify each "level" at the top like a table column header. For example, given this unordered list: Product 1 Part 1 Subpart 1 Subpart 2 Part 2 Product 2 Part 1 ...

Convert HTML DOM into a multidimensional array

Where keys are represented by element type and values are represented by #foo and .bar (spaced and ready for explode()). Is it possible, or does something exist for it? I know that this question might incite some wrath, and I'm hoping nobody links to that post about parsing HTML, but I'm hoping it's not impossible. Thanks for the help. ...

what is the keep me logged in functionality in rails?

Hi All, I am creating a login form where username , passowrd and one checkboxed with label " keep me logged in Until I log out " i want to know is it a basic functionality? what happened if i checked the checkbox and vice-versa? i am using. Any help is appreciated. ...

CSS for https urls

Hello, looking for some help with images referenced within the stylesheet. I have no problems with these from non secure locations within the site but only from https. The stylesheet loads fine and displays everything correctly except for the images. example: body { margin: 0; padding: 0; background: url(/img/background_tile.gif) top ...

Webrowser which emulates the iPhone browser

On the Mac I got the iPhone Simulator but under Windows and Linux enviroments I need a webbrowser which emulates the behaviour and size of the iPhone browser. I'm not looking for a website with a frame with the iPhone screen size but an actual application. Prefably webkit based so it will behave as much like the iPhone as possible. It sh...

[PHP & TCPDF] How to center html table?

Trying to create proper PDF document, using PHP and TCPDF. Can you help me, how can I use writeHTML function to create and center table, in TCPDF? Tryed with: $html = ' <div style="margin-left: auto; margin-right: auto; width: 50%"> <table border="1" width="200" align="center"><tr><td><b>Invoice number: '.$this->xInvoiceNumber.'...