html

How to auto adjust the <div> height according to content in it?

I have a which needs to be auto adjusted according to the content in it.. how can i do this, right now my content is coming out of the the class i have used fo that div is as follows box-centerside { background:url("../images/greybox-center-bg1.jpg") repeat-x scroll center top transparent; float:left; height:100px; width:260px; } ...

Can I run javascript before the whole page is loaded?

I want to run a bit of javascript before the whole page has loaded. Is this possible? Or does the code start to execute on </html>? ...

Google Chrome form autofill and its yellow background

Hello ! I have design problem with Google Chrome and its form autofill function. If Chrome remembers some login/password it changes a background color to a yellow one. Here are some screenshots: How to remove that background or just disable this autofill ? ...

ActiveX Deployment

We have used for 8 years an ActiveX created in Delphi and we are now using it on Internet Explorer over the internet (and not on local machine as it was always been the process until here) As today we use this object in the HTML: <object id="ActiveX" classid="CLSID:8EC68701-329D-4567-BCB5-9EE4BA43D358" width="14" height="14"> ...

Radio Button won't work in internet explorer but works fine in firefox

Hi I have HTML code like so: function toggle_action(type) { var tabs = document.getElementsByName("action_tab") for(var i = 0 ; i < tabs.length; i++){ //alert(" i = " + i + " length=" + tabs.length ); if(tabs[i].id == type.value){ tabs[i].style.display='inline'; }else{ tabs[i].style.display='none'; } }; ...

How To: Flexible Layout with fixed height on a Flash-like site?

Hi, my question: How could I create a page like this one with a flexible with? Is it possible or can't I do it because of the fixed height? I would really like to improve the site's usability. At the moment we get troubled with 800X600 browsers for example. Of course the site is not yet finished but only a vague idea. Nevertheless I w...

HTML Why is the content of an Iframe loaded twice?

In my application I use a javascript function to set the src tag of an Iframe: function loadDocument(id, doc) { $("#DocumentContent").show(); $("#ButtonBox").show(); // Clear dynamic menu items $("#DynamicMenuContent").html(""); $("#PageContent").html(""); // Load document in frame $("#iframeDocument").attr...

Make text in a <div> wrap around a child element.

In Word you can place an image on a page and have the text flow nicely around it. I was wondering how far one can get towards this using CSS, noting that is has to work in IE6. I already have something sort of close using float, but the floated child-element still 'blocks' text above it. So it partially wraps. Is it possible to put a ch...

Html to pdf converter

Is there any free html to pdf converter dll available for asp.net 3.5? If not what is the best and cheapest paid dll available? ...

html 2 field names the same, different forms on the one page.. is this ok?

So I have <form id="formA"> <input id="uuid"> </form> <form id="formB"> <input id="uuid"> </form> is this ok to have 2 field names on different forms? I'm thinking access via javascript. ...

Making a <div> that looks like a row in a table?

Hi, I'm having trouble creating a layout that looks like a row in a table, I need it to look like: --------- --------------------------- | | Line of text | | | Line of text | | | | --------- --------------------------- so I'm trying something like: <div> <img s...

what code is this?

<p style="margin-bottom: 0in;"><meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4 (Win32)"><style type="text/css"> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </style> </meta></meta></p> While copying tex...

DOM Element Width before Appended to DOM

I'm sure the answer is no, but is it possible to determine the width of an element before it is appended to the DOM? Once it's appended, I know I can use offsetWidth and offsetHeight. Thanks ...

CSS doesn't apply to dynamically created elements in IE 7?

Still looking for an answer. Changing or reassigning to the filter's innerHTML successfully redraws the element, but breaks my script, so that's out. Adding additional child nodes, including text nodes, does not force a redraw. Removing the added node does not force a redraw. Using the ie7.js family of scripts does not work. In the...

How to write a bison grammer for WDI?

I need some help in bison grammar construction. From my another question: I'm trying to make a meta-language for writing markup code (such as xml and html) wich can be directly embedded into C/C++ code. Here is a simple sample written in this language, I call it WDI (Web Development Interface): /* * Simple wdi/html sample source cod...

How to access frame (not iframe) contents from jQuery.

Hello I have 2 frames in one page like this (home.html) <frameset rows="50%, 50%"> <frame id="treeContent" src="treeContent.html" /> <frame id="treeStatus" src="treeStatus.html" /> </frameset> and then in one frame (treeStatus.html) I have something like <body style="margin: 0px"> <div id="statusText">Status bar for...

FCKEditor breaking HTML forms

I'm in the process of reproducing some standalone HTML forms as pages in a CMS that uses FCKEditor by simply copying and pasting the relevant code into the editor. But when I save and view the page, the HTML has been changed and the tag has been moved up to just below the open tag -- and not at the bottom of the form. This obviously r...

iUI add margin to the content

I'm using the iUI Framework. How can I add a little margin to the current selected div? Take a look at the screenshot attachment. This is the CSS file The main div has a CSS attribute selected="true"! ...

How do I get two div tags to align horizontally with CSS?

How do I get two div tags to align horizontally with CSS? I have two div tags. One contains text and one contains an image. They are both side by side, and I want the text in the first div to align to the bottom of the image. The image is to the right of the text. Or it should be this way. When I play with various CSS options things st...

New chrome release has broken my CSS

I have just installed the new Chrome (5.0.375.55) on xp. It has broken my layout though... don't tell me Chrome needs conditional statements now!? If you look at the sub menu you will notice it looks ok in every browser except this latest release Chrome. Bikram Yoga link Does anybody know a way targeting just this version of Chrome?...