html

HTML <inline> can contain another <inline> element?

Sounds like that is possible, per W3C am able to validate the following HTML code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html> <head> <title>Inline can another inline?</title> </head> <body> <div> <span>some text <span>comes here</span>.</span> </div> </body> </htm...

Flex 4 - Define a style for html links in CSS

It's been 2 hours that I'm trying to do this, I never thought it would be such a nightmare, and Google isn't helping me at all. Does anybody know how can I define a CSS style for html hyperlinks inside a mx|Label component such as a, a:link, a:hover and a:active ? (I can't use s|Label since it doesn't dispatch link events...) I tried ...

Make content invisible to search engines

Hi How can I hide a specific <div> from Google? Is there any other solution than using javascript to insert this element? I read about <!-- googleoff: index--> here, but I'm not sure it does what I want. The problem is that the div I'm trying to hide can be seen as duplicate content by Google, and even if it hides it from the search re...

HTML - Arabic Support

i have a website in which i have to put some lines in Arabic.... how to do it... where to get the Arabic text characters... how to make the page support Arabic... i have to put a line per page and there is a lotta lotta pages so can't go around making images and putting them... ...

Why do BITMAPS load "upwards"?

If you have a really really large JPG and a BMP embedded on HTML and you load it into Firefox, you will notice that the JPG will load "downwards" (paint from left to right, then down) and the BMP will load "upwards" (paint from right to left, then up). Just curious. :) ...

CSS Ordered List Problem

I have an ordered list that I am trying to mark up the HTML can be seen below: <ol class="main tags"> <li class="main">Gump...</li> <li>We ar...</li> <li>We a...</li> </ol> The CSS looks like this: ol.tags { list-style: decimal none outside; } ol.tags li { background: transparent url(../images/tag.jpg) no-re...

What's the css for setting a form select element's width and horizontal position?

Should width be treated instead with an html attribute? I know about left and right margin for setting horizontal position, but the validation messages from my javascript are being messed up when using margenleft{ margin-left:120px; } on a different resolution, how can I do this relatively? I want the select el...

HTML input readonly security risk?

Is it safe to rely on the data of a html input field set to readonly? What is the purpose of a readonly field? I know the disabled fields are not pushed to $_POST whereas readonly are? Essentially what I want is a dynamic value in my form that is unchangeable to the user. Would it be more appropriate to place this in session or w...

How To Display List of Sites One At A Time

I am looking for a way to display a list of websites one at a time from a URL list. I'm fine with a very manual solution, I found an AJAX solution where each "page" is displayed in a tab but it is very heavy because if I have 50 pages I want users to page through one at a time, this solution essentially pulls all 50 pages onto the one p...

Html table width

I have code like this: <table width="625px"> <tr style="background-color:#CCC; font-size:14px;"> <td style="padding:8px; color:#333"><center><?=stripslashes($arr['signature']);?> </center></td> </tr> If $arr['signature'] is a long string, like this gjuytfdcrtrfdscvythgfvtfdgtrfdvbgfvcfgbdc the width doesn't help and it g...

Webpage’s slide show (Image Viewer) doesn’t work, when I create from already developed template.

Hi! Everybody I create a web template in Dreamweaver 8; in this template I added a slide show (Image Viewer). This template is working fine in browsers and slide show also playing, but when I create the new web page from this template, and then the slide show not playing, there is an error message display. message is below: “A script in...

appendTo div between li

Hi, I have the following code <div id="element1" style="display:none"></div> <ul> <li id="item1">Item 1</li> <li id="item2">Item 1</li> </ul> On click I want to move element1 after item1 <ul> <li id="item1">Item 1</li> <div id="element1" style="display:none"></div> <li id="item2">Item 1</li> </ul> If I use ...

Popup window always on top

Am looking at whatever hacks that are possible to keep a window always on top (apart from window.focus()). Maybe a hidden textbox to which I can set focus etc. I see this happening in LivePerson (support) whenever a new message arrives. I have legitimate use of this and not to annoy users with ads or anything. Any hacks for any browser...

Remove Resize handles and border from elements with contentEditable

Hi Guys! The problem I'm having is with the contentEditable attribute in IE. (some things never change). The problem is that I'm getting resize handles, and a thick border around <li> elements when they're in focus. Any idea of how to remove them? CSS or Javascript tricks are very welcome! ...

Override child css-property

How do I override a child css-property. Example, the text should be black: <div style="color: Black;"> <div style="color: Red;">Red text that should be black.</div> </div> Since I got some answers that suggest that I should not use inline styles, I should tell you that this is not an option, at least not for the inner div. ...

Working effectivly with HTML in embeed web-server inside a .net/wpf-app

Hi, I have a pretty complex composite application (.NET/WPF/Prism). It runs on some kind of embedded devices (with full fledge window 7), let's call them "kiosks". I need to allow remote control for the applicaton. i.e. it should have an embedded web-server which will provide some information via http/html for remote control (checking st...

Put Div into another if page view ends

Hey guys, So what I want is to have some tables like this <ul> <li>Some Text, Links whatever</li> </ul> ordered by the page view. So if the page ends (on the bottom) in the view I wanna have a new table on the right of the first like this: <div class="left_1 table"> <ul> <li>First Some Text, Links whatever</li> </ul> </d...

issues with readfile() and header()

Hey guys, I have an mp3 handler that I use to serve mp3s for multiple reasons. I realized there is a problem in IE, Safari, and Google Chrome when the handler is used in a remote environment. The problem is, the mp3 file plays, and then restarts after about 20 seconds. This does not happen in Opera or Firefox. There is no problems strea...

How do I target an input when 5 characters have been entered?

What I want to do is take an input for a zipcode and in jQuery if input#zip has 5 characters then function. Also same for a list box when the user chooses one of the choices, might be simpler? ...

So I want to create a browser-based interactive realtime animation of the Earth and the other planets going around the Sun...where do I start?

Hello. I would like to create a browser based, interactive, realtime animation, showing the Earth as it goes around the sun, depending on the time of day and time of year. This animation should also (eventually) show the other planets in the solar system and the user should be able to pan around the solar system and see it from differen...