html

Fading PNG in Internet Explorer not working

I have a div which contains a PNG image, like this: <div id="pop" class="pop_komm"> <img src="Graphics/komm.png"> </div> I have a js code which is triggered on the "OnChange" event of a drop-list: <select onchange="fadeIn('pop');" name="list" etc></select> Here is the js code: function setOpacity(eID, opacityLevel) { var eStyl...

CSS problem with silverlight component position. Cannot set height that i want.

I want to make simple content page with silverlight with next requirments: Page must contains: top space for banners(html) center - silverlight component. and he will stretch to fitt page. bottom space for banners(html) Looks quite easy but i faced problem with internet explorer 8. Silverlight component have small size and doesnot st...

CKEDITOR: how to install on simple form?

Hey, I am creating a simple form (title - content - submit), and I want to mix CKEDITOR in the content area. How do i do it? the form looks like this: <form> <input type="text" /> <textarea></textarea> - **here I want the CKEDITOR** <input type="submit" /> </form> very simple.. thank you! ...

What do you call tags that need no ending tag?

There are HTML tags, such as <img />, <input /> and <button />, that need no ending tag (</img>, </input> and </button>). What is the term that describes this type of tags? ...

How can I disable the submit button until text is entered in the input field?

I have an issue try to achieve this result, pretty much what I need is to disable the submit button until text is entered in the input field. I've trying some functions but without results. Please if you can help me with this it would be really appreciated. HTML Markup <form action="" method="get" id="recipename"> <input type="text" id...

embed code in php

I have a form which allows the user to enter embed code from youtube. I also have an edit form which will allow the user to edit the size of the embed code (like the width and height: <object width="425" height="344">..) I used <textarea name="oldvideo" id="oldvideo"><?php echo embed; ?></textarea> However when I submit the form,...

html css lists with multiple content don't stay inline

Hello, I have three divs with content (h3 header, img, and p text) that are approx. 400x300 and I am trying to get them to display inline, beside eachother. The image by itself displays properly, however when ever I add the h3 and or p text to it, it goes onto the next line. My guess is the h3 and p have built in breakers. Is there any...

How do I style the scrollbar of a textarea

I've got a textarea in a contact form which is styled with css, it looks great until i write more than the area can fit, when I do that a scrollbar appears and this scrollbar looks horrible with my dark styling (it's black with white text). So how would I go about to style this? I've googled some but haven't found any good answer just fo...

Internet explorer 6 Z-index problem

I have a popup DIV (js triggered) which shows an image. Very simple. The problem is, that this DIV must overlap the SELECTS which lie underneath the DIV. It works in all browsers but IE6. When the js is triggered, and the DIV is displayed, the z-index isn't right because the SELECT drop lists overlap parts of the DIV. This is only in...

HTML/CSS: Creating a div that doesn't trigger a horizontal scrollbar if it's wider than the screen size

Hi folks, I'm trying to improve user compatibility of a site for 800 x 600px monitors. I have a 'headerbackground' div which is 900px wide, and contains nothing but a background image. The rest of the site is nested inside that div, with a width of 790px. What I'd like to do is show the full 900px 'headerbackground' div if the browser...

subscript and superscript for the same element

Hi, Is there any way to add both subscript and and superscript to the same element? If I do Sample Text<sub>Sub</sub><sup>Sup</sup> the superscript appears after the subscript. One I idea I had is to do something like: <table> <tr><td rowspan='2' valign='center'>Sample Text</td><td>Sup</td></tr> <tr><td>Sub</td></tr> </table> It s...

Regular Expression to match <a> tags without http://

how to match html "a" tags, only the ones without http, using regular expression? ie match: blahblah... < a href=\"somthing\" > ...blahblah but not blahblah... < a href=\"http://someting\" > ...blahblah ...

Align Floating Items Horizontally in CSS

I have an unlimited/unbound number of DIV tags that are floating to the left. As the browser is resized, the DIV tags wrap to the next line. Because the DIV tags wrap based on whether or not they have enough spacing on the right side of the screen, when they do wrap, it leaves a large space on the right side of the screen. So if the DIV...

Dynamic height header in SEO optimized SOC (Source Ordered Content) layout using only CSS, no Javascript?

Hey, I want do do a layout that is search engine and speed-browser friendly with content first in source code. Usually this looks like this: <body> <div id="content" style="margin-top: 200px;"> i am content, i go first </div> <div id="head" style="height: 200px; position: absolute;"> i am an header that is depre...

Does google analytics slow down my website?

I am at the final stages of my website, and currently I need to find a suitable statistics application/tool. I have looked into webalizer, but it seems outdated. Also, I have looked into Google analytics, but I am afraid that if I implement it, my website will go slow. It is already pretty heavy with database material being displayed w...

Cross-Browser issues. Links not showing up in Safari, but works in Mozilla.

Here's the html: <ul id="header"> <li><a href"#login">Sign Up</a></li> <li id="divide">|</li> <li><a href"#login">Login</a></li> <li id="divide">|</li> <li><a href"#profile">Profile</a></li> </ul> And here's the corresponding css: ul #header { list-style-type:none; } ul > li { display:i...

How do I resuse HTML snippets in a django view

I am working on a django project (my first), and in one of my views, I have a sophisticated html snippet with JS weaved within it. I would like to reuse this "component" somewhere else in the same view. Is there a way of achieving this? Please let me know if this design is faulty to begin with? ...

What should I learn next? (Coding)

Okay, well I'm 14 and I've been learning/working on HTML, and I was wondering what I should learn next. PHP, xHTML, etc. Difficulty is not an object. Really, I don't mind hard stuff. I'm making a website on godaddy, and whats the best code to do so. I need to make a Forum and just a blog, etc. But, I can always just use my friends Forum....

Mysql/PHP not displaying all rows...

Im creating a simple message board with php/mysql. Users enter their name and a message, javascript displays the message immediately, and php/mysql stores it in a database. When the page loads, it should display all the messages in the database in a formatted list. However, it seems that my php is displaying only some of the messages ar...

HTML data extraction

I'm accessing some website and I need to extract some data. To be more specific - from this part: <input type="hidden" value="1" name="d520783895194bd08750e47c744d553d"> I need to extract the "name" part. I heard that reular expressions are not the best solution, so I'd like to ask what is the best way to access this piece of data I n...