html

Open window in JavaScript with HTML inserted

How would I open a new window in JavaScript and insert HTML data instead of just linking to an HTML file? ...

Fixed Positioning without Scrolling

I have a toolbar div in my IUI. I want to fix the position of toolbar without scrolling. How can I do this ? please help me. ...

how to put xml file in website?

hi I would like to add content to my Joomla! site by using an .xml feed that is offered by a company that I am an affiliate of. The company has an .xml feed available so that affiliates can have the updates done automatically. I thought that I might be able to use the built in newsreader, but the tech support from the company has quick...

Pressing return character in a text area generates 2 different behaviour on the same website on 2 different server

Hi, I have a website (asp.net,c#) on two different servers (same source code). In one page my asp generates a text area, using the same browser when I access one of the site if I press return in the text areas I can start a new line, if I do the same accessing the other website on return the form is submitted! Any Idea? I would like to b...

What's the best practice to set html attribute via PHP?

When doing this job in PHP,one may meet this kind of issue: <span title="<?php echo $variable;?>">... The problem is that if $variable contains double quotes,should change it to \" And that's not the whole story yet: <span title='<?php echo $variable;?>'>... In this case,we need to change single quotes to \',but leave double quote...

How to make a fullscreen iframe with opaque background?

I am able to create an iframe which occupies entire screen. But I am not able to make the contents of the background hidden, In other words, I want an iframe which is opaque. I am currently trying like this: <iframe name='myifrmae' allowtransparency = 'false' background= '#FFFFFF' id = 'myiframe' src = 'main.html' style='position:abs...

Change an Outlook Email File to HTML

I was searching for a method to change Outlook Emails to HTML. I found one method that uses VBscript, but it only changes the Outlook File to Text. Edit: I'm looking for a way to automatically save hundreds of emails to HTML format. ...

html listbox to show additonal txt in extra field outside of listbox

Hello everyone, I have the following db-retrieve which results in the Listbox I like to have. But I need $desc2 to be shown under the listbox in a separate field and it must change its content when the user clicks on an other item in the list: Here is the retrieve which works: echo "<form action=\"admin.php\" method=\"post\">"; echo ...

Dynamically loading a JavaScript file is different if I use appendChild() or jQuery.append()

I am trying to dynamically load a JavaScript file by adding a script element to the head element, after which I test for the presence of a function defined inside that file to check that the load succeeded. If I use this code: var scriptElem = document.createElement("script"); scriptElem.type = "text/javascript"; scriptElem.src = 'myfi...

Add mime type to HTML link

I know how to change the MIME type in a webserver. I used this to make sure the browser downloads my .scrpt file instead of opening the plain text version. So far so good but is it possible to do the same with a link? I would like to link to a file on GitHub but this will open as a plain text file. Can I add a "MIME type attribute" to th...

IE6 - DIV with class and ID

I have the following HTML <div id="nav" class="red"> some more HTML here </div> The following CSS: #nav.red { background: red; } However this does not work in IE6, can anyone help? ...

Little problem with styling <dl>

Hello. I have <dl> table, and can't style it to look like in this image. Is it possible to style list like that? Or maybe, better idea would be table? ...

URL - Encodeing (javascript) method="GET"

I have a form with some input fields (6). When I click the submit button "I would like to format the URL" in such a way: /actionname?input1|input2|input3|input4|input5|input6 and maybe for null values: /actionname?input1|input2||input4||input6 and maybe a time-stamp for when the user clicks the submit button. Can this be done using j...

Problem aligning elements (HTML and CSS)

I know it is an humiliating and basic problem, but I can't align the navigation div (green borders) with the logo div (red borders) in the bottom of the parent div (blue borders). I tried vertical-align: bottom, but didn't work, any suggestions? HTML: <div id="banner"> <h1><a href="http://widerdesign.co.nr/"&gt;wider design<...

Convert HTML to RTF (HTML2RTF converter)

I'm looking for a simple HTML2RTF converter that I can use on my website which is using a *nix like Operating System. I haven't found anything on the internet, and was hoping the SO community would help me. PS: I don't want to implement this from scratch, and it doesn't really matter what language it's in, as long as I can run it on a *...

Emulate Windows Explorer "List" view on web page?

There is web page that displayed file structure - folders and files. How to emulate Windows Explorer "List" view on this web page? The order of items should be following: from top to bottom and from left to right. I can arrange items from left to right only, by it doesn't confirm to Windows "List" view: Item_1   Item_2 Item_3   It...

Is use of <u>underline</u> deprecated and non validated?

Is use of underline deprecated and non validated? ...

trying to map a css class to an existing element

My html cannot be changed, so I need to map a new css stylesheet to the existing elements on the page. So I have this for a heading: Existing: <div class="title">Hello</div> My new css for this page, has new css and markup but the html looks like: <h2><span>Hello</span></h2> i need to make the first snippet look exactly the same...

How do I stop Outlook from rendering an email address as a mailto: link?

I am creating an HTML email to be sent to a user. If there is a valid email address to within an HTML email, Outlook will render it (normally helpfully) as a mailto: link. Unfortunately, that's not the desired behavior in the particular email I'm sending. How do I stop Outlook from doing this? ...

Force iframe load

Normally I open a window with javascript to show information about a upload progress, but it doesn't look good and many users uses popup blockers. So I thought I could show these information in an iframe, but the iframe doesn't load during the upload. But if I open the iframe during the upload in a new window/tab if loads. How could I...