6,558 Topics
| |
Hi, I have 3 divs of same height (10% of parent element) placed horizontally and all of them looks of same height and at same offset from parent element but when I placed a table within 1st div, the other two divs moves little bit downward. I am not able … | |
I have this: [CODE]img.decor{ text-decoration:none; border:#CCCCCC thin solid; padding: 4px; } [/CODE] My HTML: [CODE]<a href="google.com"><img class="decor" src="images/birds.jpg" /></a>[/CODE] when I hover over the image "decor" in my CSS, I would like the whole image to turn grey. I tried this: [CODE]img.decor a:hover{background-color:#CCCCCC;}[/CODE] but it doesn't work. Any ideas?? I … | |
Hello, I have a problem with htmlentities(). I 'm missing something here, but I don't know what it is. In my webpage, which is set to utf-8, the result of [CODE]echo htmlentities('éè')[/CODE] is [COLOR="Red"]éè[/COLOR]. Why isn't the result [COLOR="Red"]éè[/COLOR] ? Thing is : I want to put the name 'Hélène' … | |
My code goes something like this: [code] <div class="pBody"> <audio id="player" name="player" class="player" src="" controls="controls"></audio> </div> $(document).ready(function(){ $('.fileTr').click(function() { var id=this.id; $('#player').attr("src","../mmc/FileSet/" + id); var sr = $('#player').attr("src"); alert(sr); $("#player")[0].play(); }); }); [/CODE] fileTr is a class of table columns each having the file name as its id. What I … | |
I was screwing around doing some brain storming on an idea for one of my web pages when I accidently hit save. That wouldn't be an issue except it saved the changes I made to my style.css as well! Now all my text is the wrong size and is drifting … | |
Hello every body, I would like to ask here, Is there any plug in by which any of the web page that is in one programming language can be changed into another programming language. Thanks a lot. | |
Hi All, I have found the following css rules on the web.... And whilst they look great in FF, nothing is being displayed in IE Can someone help me out so I can at least see the boxes in IE [CODE] input, textarea { font-size: 0.8em; width: 265px; border: none; … | |
Hello everyone, I want to create a completely round <div> using only HTML / CSS, but without border-radius. I don't want use background images, because I'll have probles resizing them and that's not cool. Is there a better solution? Thanks in advance! | |
HI! I'm trying to make a form where a dropdown menu is populated from mysql. My code: [CODE=php]<? $link = mysql_connect('localhost', '****', '****'); if (!$link) { die('Could not connect: ' . mysql_error()); } mysql_select_db('****'); mysql_set_charset("utf8"); $query="SELECT distinct first_name FROM names_table"; $result=mysql_query($query); ?> <select name="first_name" onChange=""> <option>Choose!</option> <? while($row=mysql_fetch_array($result)) { ?> … | |
Hey guys.. i got this kind of div structure (Hebrew website) [CODE] <div id="main" style="background: #ffffff; padding: 20px;"> <div id="sidebar" style="float: right;"> actuall sidebar </div> <div id="pagecontent" style="float: right"> some content </div> </div> [/CODE] My problem.. The contact inside the content / sidebar isn't stretching the "main" div and so.. … | |
I have an array of links that when clicked will show a corresponding hidden div element. Every link has it's own div. I'm trying to use an image to close each div as well (which isn't working yet). More importantly, when I click on the first and second links, two … | |
hi can any body defien HTML Element Syntax and whats use in webdesign. help me. thanks advanced. | |
Hello, I'm trying to understand a very simple example of using html + servlets using Eclipse EE. I have an [B]index.html [/B]: [code=html] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Ze title!</title> </head> <body> <form action="MyServlet" method = post> <input type= text name … | |
Hi, This is my first post--I'm really a graphic designer, but have been asked to do some web design. I'm amateur at best, and at worst, don't know the crap I'm doing. I'm having problems getting my site to display correctly across multiple browsers and resolutions. Though it displays correctly … | |
hi there, i have a question in datagridview dropdown boxes. in a datagridview i have 3 datagridview combo boxes, but i combo box i want to make a text box when the user clicks on that datagridview combobox, i did it, but now all the datagridview dropdown boxes become datagridview … | |
I have never really used tables and especially not in a css file. I just want to know the basics of tables and making them in css. Also once I do make it in a css file how do I name it so I can use it in a html … | |
Hi all, I have added the below 2 lines in my JSP file: <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> I got the below Error while opening the Jsp in the browser: org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: The absolute uri: [url]http://java.sun.com/jsf/html[/url] cannot be resolved in either web.xml or the jar … | |
I have to write a program to check for balanced HTML tags here is what i have so far. My problem is it is not working right. My stack implementation is fine, i believe my problem is when i am looping through the string ( lines58-70 I marked with comments … | |
How to detect if a browser supports iFrames? [CODE] <script type="text/javascript" > var e = document.createElement("iframe"); if('src' in e){ alert("Your browser supports IFRAMES"); }else { alert("Your browser DOES NOT support IFRAMES"); } </script> [/CODE] WHen you use createElement(), if you pass it 'iframe' it will contain specific iframe properties, like … | |
I need some help with sizing an image in height. My page is tzr.ro, and as you can see in some browsers such as explorer and chrome the image height differs. So i have this small piece of code that i need to adjust: img { max-width : 350px; height … | |
[url]http://www.gwftn.org/frame.html#projects[/url] In the bottom left of the content of the page is a link for "virtual prayer walk". If you click on that, an iframe is displayed. In other browsers, you can navigate the iframe just fine (using the go forward/ go backward links). In IE, it does not change … | |
Hello everyone, I have one container div with several <div>About</div>, <div>More Info</div> etc. in it. on the main container I applied onmouseover to execute a JAVA function. Apparently, every time I hover a <div> in the container it runs the JavaScript again. What is it, I'm doing wrong? Thanks in … | |
Just curious to see if anyone knows how to do the following: 1) Create a link on a webpage that will send an email. (Already Know this) 2) Put information in the body of that email. (Have an idea of how: body= 3) Here is the kicker: Keep the signature … | |
I need to split the area code out of the () so it only displays numbers using the substring method. Below is the code I have done so car. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>No Title</title> <script type … | |
I would like to be able to take data from a MySQL DB and place it in various div elements. I would like to do this after the page has been rendered. I know I could do this using JavaScript with innerHTML, but do not know what function to use … | |
Hello there, i was wondering how to create a dynamic background with C# - WPF. i need to know how to create shapes with colours (could be glowing or something) and make then move smoothly. I also want it to be rich and appealing. E.G: Sony Ericssons Media Player. could … | |
Hi guys , I just wanna know that what Is DHTML Script? Thanks | |
Hi I'm trying to get the labels of my form to appear above their input boxes and for the input boxes themselves to be side by side (basically a horizontal login form) I've used the label tag in my form after doing some research which looks like: [CODE]<form> <label for="email">Email</label> … | |
Good day all: Is there a mechanism through which I can have a button on my html form which on click calls a script that converts the form (or the html page) into a pdf file and inserts the file into mysql table with a specified name originating from the … | |
Can anyone see why this dos not work please [CODE]<HTML><HEAD><script type="text/javascript"> function x() { <IFRAME( src="inputstringA" name = "bob1" ></IFRAME> ); } </script><TITLE></TITLE><META name=GENERATOR content="MSHTML 8.00.7600.16722"></HEAD><BODY> <INPUT value=www.website2.com name=inputstringA> <INPUT onclick="x()" value=" Press Input A$" type="button" name="loadb"></TD> <IFRAME src="www.website1.com" name = "bob1" ></IFRAME></TD><TD align="center" width="556" vAlign="top" height="23"> ></BODY></HTML>[/CODE] |
The End.