html

Is there is any limitation of a html page

Is there is any limitation of a html page that it can only hold some kb of data. if we do rest code it will be ignored. ...

Have html in a string - need to show it as a separate html page using code

I have a script which takes in html from the user as in full page html either from the user or grabs it via curl or from an email. The thing is that I have the html in a string but on the same page I need to show the htmnl in a separate iframe. I don't want to reput any database, curl or imap code in the page referenced by teh iframe at ...

Questions about HTML5 audio

<audio src="http://upload.wikimedia.org/wikipedia/commons/8/82/Riddle_song.ogg"&gt;&lt;/audio&gt; <ul id="lyrics"> <li>line 1</li> <li>line 2</li> <li>line 3</li> <li>and so on...</li> </ul><!-- end #lyrics --> So I want to: Highlight (change color or background) of the line that is being played. Save current time to...

how to edit website sidebar and have change effect entire site

I am designing a website in Dreamweaver with a sidebar that will be present on every page. I would like to know how to I set up my sidebar so that when I make changes to it I don't have to edit the code on every page ...

How to disable a scroll bar in a html file

How to disable a scroll bar in a html file ...when i double click on the html file, i dont want the html to load with scroll bars Thanks regards - Miss subanki ...

button issue in html page

Hello everyone, I am wondering how to set the default button in html page, so that when enter key is pressed, the same effect of button pressed? For example, when we use Google, after entering query string in the middle input box, we can press enter key to get query results (i.e. press enter has the same effect of click "Google Search" ...

CSS table design not working

Hi, I have this table: <table style="width: 512px; border-collapse: collapse;" cellspacing="0"> <tbody> <tr> <td style="background: #00f; height: 9px; width: 9px;"></td> <td style="background: #0f0; height: 9px;"></td> <td style="background: #f00; height: 9px; width: 9px;"></td> </tr> </tbody> </table> Please no "do not use tables" k...

Animation doesn't work in firefox and IE.

Hello guys I am trying to use jquery to show my div containers coordinate with my buttons..All div containers will be hided when page first loaded. When use clicks a button, different container will show up. My problem is that the div will only show up when click a button in Chrome but not firefox or IE. I appreciate if anyone could h...

PNG image file display issue in IE.

Hello i have a problem in display the Png file in IE. It's work fine in Firefox and other browsers but the PNG file is display some kind of shadow in IE. Is there any solution to fix this problem. I have used this css code to fix this problem but still no hope.I would appreciate any help. Please.. filter: "progid:DXImageTransform.Micros...

Obfuscate Img Src in HTML

I need a way my image sources to be hard to read. Currently I have <img id="testImg" src="http://images.mydomain.com/sample.png /> and I need it converted to something like: <img id="testImg" src="javascript:xorDecode('3233435jh45h3232kl232kl2323', '32434mfr')"/> Is this possible? P.S. And I want to to so for around 200 KB variou...

How can I use PHP to mail my an attachment?

Hi all, I have a basic form consisting of input fields as well as a file field. I have a few things that I want the form to do. Collect the information (obviously). There's also an option to upload a file, (probably .doc,.pdf,.docx), so I want to restrict the attached file only to those extensions and under 2MB. All I know is that I hav...

Html scroll bar problem

I'm designing a fairly simple web site but as I don't have much experience I have a very simple question. I've done the layout in a way that displays all the necessary information without the need of scrolling down. But for some reason it's there. The site's css is as following: @charset "utf-8"; /* CSS Document */ html {height:100%;w...

dropdown disappears in IE 8

Hi. I am working on a dropdown meenu, which is disappearing in IE 8. Works fine in firefox and chrome, but not in IE8. i googled for two days and made many changes but still not working in IE. Here is the code for CSS. .dropdownmenu li, .dropdownmenu li ul { display: block;display:inline;float:none; } dropdownmenu ul:hover , .dropd...

How do you securely connect a flash application within an Ajax menu and keep the flash session when the Ajax menu is closed?

How do you securely connect a flash application within an Ajax menu - and keep the flash session when the Ajax menu is closed? Example, click the A-jax menu which slides open thus revealing a flash application - log into the flash app takes you do some other secure menus (it's connecting via secure connection) but when I close the a-jax...

CSS layout messed up in firefox but not IE or Opera?!

Hi, For some reason Firefox is messing up the following websites layout, it works fine in IE and Opera though... http://87.194.141.33/bivakas/shop I have tried using firebug to find missing divs or anything like that but sadly without success. If anyone would be willing to take a couple minutes to have a look at why this may be happen...

Access Camera through iPhone Web App

Hi, I understand that it is not quite possible to access webcam through HTML. So how about on the iPhone? Is it possible? ...

Wrap first level of "li" tags into one div using Jquery

Hi Have the following question: Say we have a multi-level html list that looks like this: <ul class="catalog"> <li> <ul> <li> <ul> <li>subcat subcat 1</li> <li>subcat subcat 2</li> <li>subcat subcat 3</li> </ul>...

Preferred way to combine PHP and HTML?

I learned PHP by hacking away at phpBB2, even submitting a few mods to their database, which others downloaded and used. (I don't believe phpBB2 is supported any more with phpBB3 out so long now, so the v2 mods database is no more.) One of my favorite things about phpBB was their templates system, which let the editor completely separat...

Local Storage vs Cookies

I want to reduce load times on my websites by moving all cookies into local storage since they seem to have the same functionality. Is there any pros/cons (especially performance-wise) in using local storage to replace cookie functionality except for the obvious compatibility issues? ...

Pagination of text from xml file onto html page.

O.K. so I'm developing a website to feature my fiction writings. I'm putting all of my documents into XML files, pulling and parsing them from the server with PHP and displaying them on the page. You can visit the page here for an example. As implied from the background image, What I would like to do is take the text and split it int...