10,325 Topics
![]() | |
Dear Sir, I have following Codes [CODE]<html> <style type="text/css"> #d1 {float:left; width:200px;height:200px; background-color:e3eeff; margin:20px 20px 20px 20px; padding:20px 20px 20px 20px; text-align:center; vertical-align:middle; letter-spacing:10pt;} .bg {width:100%;height:100%;position:absolute;z-index:-1;} </style> <body> <div id="d1"><img class="bg" src="dream.jpg" width=100 height=100%><h2>Hello world</h2></div> </body> </html> [/CODE] I want to know Why background image goes outside of div? I … | |
Hi everyone, Please help me in rounded border corners. I have generated rounded corner borders from site and it give me five images (four corners and one dot image files). I have set all corners according to that site's description HTML and CSS code. But I can't set bottom right … | |
Hello, I have a huge issue with firefox and some versions of IE. I have a flash embedded into HTML and at some action in the flash, a javascript is called that changes the CSS properties of the div containing the flash (postion, from relative to fixed) the problem is, … | |
Below is my program that I have so far. I am having trouble trying to figure how to get my passcheck function to check and make sure what is entered into the password and password confirmation fields match before it submits the validate function giving an alert. The other thing … | |
My page [url]http://www.epicbasketball.com/p/events.html[/url] is kinda lookin pretty darn unprofessional. I'm limited in my coding skill, but am pretty good at learning new things quickly. If anyone out there could give me some advice, some tips, or would like to flat-out retouch the code below yourself, it would be HIGHLY APPRECIATED. … | |
hi web experts, i just want to ask is there a way to set the width and height property for the html input text box. I had this on a form, but how to set the width and height? is there a way to do it? <input name="time" type="text" class="inputbx" … | |
I have been trying to learn CSS for a while now. I have been working in C++ for quite some time now so i thought hey CSS should be a walk in a park but it has proved to be enormously difficult for me. The main thing that seem to … | |
Hello I have converted a ogg video to WebM using VLC Player. If i embed my video's it doesnt work in firefox. Firefox tries to use the WebM format. But for some reason it isnt working. The video: [url]http://corne.testingserver.nl/school/weer/ot/assets/weather.webm[/url] My code: [CODE]<video id="vbg_video"> <source src="assets/weather.webm" type="video/webm"> <source src="assets/weather.ogv" type="video/ogg"> <source … | |
Hi All, Just a quick one, My code (Below) works in Internet Explorer, but not in Chrome, Safari or Mozilla Firefox. Not sure why, but would it be possible for someone to point me in the right direction? Thanks! Code attached; [CODE=Javascript]<script language="javascript"> function formAction(flag) { switch (flag){ case "create": … | |
I have code for moving boxes but it have slider to control speed and tilt of boxes. I want to remove these sliders without stopping auto move effect. Can anybody convert this code to simplest? Please help Thanks in advance. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html … | |
How can you use the "contenteditable" attribute to edit your site or lists but not have the general public do the same. Maybe just in a admin panel view? and Is this just easier for the developer to change content on the fly? I just don't see how it can … | |
Hi, I've never had a job in web development before but I've been independently learning several languages and building websites recently. I hope to get an internship at a web development firm somewhere around Europe in this next year. I've been putting together a portfolio website which has some complex … | |
Im on chrome 16.0.912.21 beta and my transitions are not working. One thing i noticed is that when there is no full url on the link href, the transition works. When there IS a full url the transition stops working...i don't get it. check out this link: [url]http://elneco.biz/idk/[/url] any help … | |
Hi Everyone, I am trying to achieve something without the usage of jQuery. Can be done with it but want to find a solution with only css pseudo classes. So here's what I have so far. A tabbed UI which opens a dropdown menu with a click action using the … | |
Ok well I have a DIV menu bar that I want to stretch 100% in height. It worked perfectly fine until I added the XHTML doctype. So I tried absolute positioning which worked but then my other divs started overlapping them. So I want to know if there is any … | |
Hi, i am in the middle of creating my new website, i have just started with the logo/topbar section however i am running into trouble with resolution and positioning. What i want is for all the elements to stay where they are, when the user zooms in and out. However … | |
a friend of mine told me that there are websites that are designed using css only, no html or div involved. does anyone here know about it. if so, could u direct me to a site that would be helpful in my learning? :) | |
I'm having trouble while creating FaceBook style Wall. I'm not getting how to create database and post status or images or link to database Please help me to create FaceBook style Wall Following is my wall page code [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> … | |
My website is bandstandmag.com and besides the home page, I can't get the other pages to center on the screen. Specifically: http://bandstandmag.com/index.html/IslandTigers.html I'm really sorry everything's so cluttered, this is my first time creating a website. My problem is I can't get the page to center and I've tried tons … | |
[IMG]http://i.imgur.com/DGegu.png[/IMG] I have that page above.. But the thing is the entire website was made using an iFrame that loads another page.. Each page has one of those at the bottom. Thing is when the main page loads the second page, there are duplicates of those at the bottom. I … | |
Hi there, I've made this page in html: [url]http://www.greenbeanbaby.com/retailers.php[/url] with drop-down menus that work. But when I try to make it dynamic for my client to update it, I'm stuck! The drop downs don't work. Here is the code I'm using: [CODE]$r=mysql_query("SELECT * FROM retailer"); $varloop=1; echo "<div id='wrap'>"; while(list($idr, … ![]() | |
[CODE] #include <iostream.h> main(){ int balance; int payment; int payment_num = 1; int months = 0; float interest; cout << "Please input a value for the balance" << endl; cin >> balance; cout << "Please input a value for the payment" << endl; cin >> payment; while (balance > 0) … | |
Hello, I'm trying to calculate the center of a DIV element. But it doesn't seem to be working, I don't quite get what to do with the calculations.. Here's my code: [code] <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <style type="text/css"> body { background-color: #cccccc; } .rectangle { width: 400px; height: 100px; border-style:solid; … | |
Ok i have written a CSS code for body [CODE] body { margin: 0 auto; } #header { font-family: Georgia,Times,serif; } [/CODE] With the CSS code for body everything that's inside the body should be placed in the center of the page because the body is in the center. In … | |
Hello. My problem is this: I have a table, for which the row and cols number is given by the user. They contai images. Occasionally a cells picture will be changed. The question I have is this: How to do that? I will be able to compute which cell need … | |
Hey, I would welcome some advice here. I'm developing my first Drupal site and I am using Zen as my starter theme and creating a sub-theme. I've got my navigation set up in the second (right) sidebar. I would like all of the inactive navigation links to have the same … | |
I am trying to position the menu bar at the top of the div, but it appears at the bottom of the div and can hardly be read. I have searched and done all i have found on the net. Pls help with any ideas. Here is the code with. … | |
Can anyone give me a nice css code for my login and registration page , I already have my php code...I only need a nice css....thanks | |
Hello, I'm using jQuery and trying to create a plugin that draws a rectangle on a canvass. However, it will not even work.. I have tried to create it when I click on a button, this does not work either.. Here is the code: [code] <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script> … | |
'ellos So I'm making a Hangman game, and for the sake of completeness I want to have a HELP feature. When the Help button is clicked, a browser window should open up (not *within* the game frame... but just generally) and display the HTML Help file. How do I do … | |
Hey I have recently started to learn canvas in html5. As of now I can draw all the basic shapes rectangles arcs etc. I am also able to get the mouse coordinates and show them in a text box in the main body of the html. I am just wondering … | |
I have this code that displays a thumbnail strip and then when you mouse over a thumbnail a bigger images shows up over the strip. The problem is it only is working on some of them and only when the mouse is over a certain part of the picture. When … | |
hey daniwebs users im currenttly in making of a site from scratch but i need help coding a forum page and a login form/registration form. now i know most of you are gonna point me to a php/mysql coding thing but i do not know one thing about that type … | |
Hi all, I'm going to write a program to play this silly online game that I waste too much of my time with, so I'm here looking for advice. Which language do you recommend I use? The game is entirely html / css based with all of the commands being … | |
Hi, This is a demo of what I'm trying to do: [CODE]<html> <head> <script type="text/javascript"> window.onresize = resize; function resize() { if (document.getElementById('elm1').offsetWidth < 1000) { document.getElementById('elm2').style.width = 1000 } if (document.getElementById('elm1').offsetHeight < 600) { document.getElementById('elm2').style.height = 600 } if (document.getElementById('elm1').offsetWidth > 1000) { document.getElementById('elm2').style.width = "100%" } if (document.getElementById('elm1').offsetHeight … | |
I'm developing a web app in which I have a file upload option. The thing is, my file input is hidden, and instead, a textbox and a button are used, in order to style the input, copy the file input's value and allowing the user write a link address into … | |
hi, how do you get the html file to run the java applet in a webbrowser. I need to have a html file which will allow me to view this applet in a web browser. im using eclipse to write the code for the applet. [CODE] import java.awt.Graphics; import javax.swing.JApplet; … | |
[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <table class="container"> <table class="content"> <h1><img src="207949_1014412613249_1613093370_31441_3744_n.jpg" width="604" height="453" alt="my picture" /></h1> <h1>Καλωσήρθατε!!!!</h1> <p> Ονομάζομαι και αυτή είναι η πρώτη μου Ιστοσελίδα. </p> <h2>About me!!!</h2> <p> Είμαι … | |
![]() | Hello people, I have downloaded a datepicker in order to use it in my script so as to allow people to pick their date of birth. The date picker in question is this one : core.ui.datepicker/ui.datepicker.js It works, but the problem is that it shows only the years that start … |
Here is the code It's an Open type free use code for convert css to inline style codes by capturing from your own html code or a url and it outputs an html code when finished. Because i need to send webpages in an e-mail. I am brand new to … | |
having much problem in email. i tried everything..but dont know whats hapening im getting simple plain text email while im sending the html input [CODE] { $from_name= ADMIN_NAME; $from_email=ADMIN_EMAIL; $subject="Simple html email"; $message = '<h1>Hello, World!</h1> </br>'.$_POST['msg']; $headers = "From: $from_name <$from_email>\r\n"; $headers .= "Reply-To: $from_name <$from_email>\r\n"; $headers .= "Return-Path: … | |
![]() | Hello, im trying to do a single html page with multiple checkboxes to hide/show text when checked/unchecked. I'm really bad at html but so far I have got this: The problem I have is I dont know how to add more checkboxes. Would appreciate some help. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD … ![]() |
[CODE]<?php include('connection/database.php'); require ('xajax/xajax_core/xajax.inc.php'); $xajax = new xajax(); function autocomplete($val) { if($val!="") { $query=mysql_query("select * from name where name like '".$val."%'"); $rows=mysql_num_rows($query); $out="<table width='100%' bgcolor='#bfbfc3'>"; while($data=mysql_fetch_array($query)) { $out.="<tr><td>".$data['name']."</td></tr>"; } $out.="</table>"; $objResponse=new xajaxResponse(); $objResponse->assign('div1','innerHTML',$out); $objResponse->script("jQuery:$('td').click(function(){ var a=$(this).attr('innerHTML'); $('#name').attr('value',a); $('#div1').attr('innerHTML',''); }); $('td').mouseover(function(){ $(this).css('background-color','gray'); }); $('td').mouseout(function(){ $(this).css('background-color',''); }); "); return $objResponse; } else … | |
Hi, I'm stucked with a problem, hope somebody can help me. The problem is that i have a string with webpage source and i need to retrieve all the text instances between <pre> and </pre> tags, i already know how to retrive the first ocurrence using: [CODE] dim start as … | |
I open the Ubuntu Software Center and I search for Scribus. It shows three options and I choose one. A blank window appears. The window should, instead, give me the option to download what I chose. I am a total noob and I apologize in advance. Thanks! | |
Hi there, I am doing some jquery exercises and I was redoing a small script I saw onto this video (very very good jquery resource by the way) [url]http://blog.themeforest.net/tutorials/jquery-for-absolute-beginners-day-8/[/url] and there is something I am not quite clear about. I copied that onto my test area so I can post … | |
[CODE]<html> <title>Asia Ghee Mills</title> <style type="text/css"> #menu {float: left; width:15%;height:400px; background-color:pink; padding:5px 5px 5px 5px; font-size:15pt;color:green;font-family:arial; margin-top:10px;margin-left:0px; line-height:28px} #menu img {width:100%;height:200px;} a:link {color: blue; text-decoration: none;text-decoration:underline; } a:visited {color: red; text-decoration: none; } a:hover {color:blue; background:url("skyblue.bmp");text-decoration:underline;font-weight:bold} </style> <DIV id="menu"><img src="images4.jpg" alt=" "> <A HREF="http://wwww.a.com">Home</a><br> <A HREF="http://wwww.a.com">Products</a><br> <A HREF="http://wwww.a.com">Health Tips</a><br> <A … | |
Hi there, I am working on css positioning and I have encountered a problem. I have these two pages: 1)[url]http://antobbo.webspace.virginmedia.com/various_tests/2011_10_25_css_positioning/test.htm[/url] 2)[url]http://antobbo.webspace.virginmedia.com/various_tests/2011_10_26_image_slides/test.htm[/url] the first one has box B (yellow) and C(red) with [CODE]position:absolute; top 0; right 0;[/CODE] the second one has 3 images with: [CODE]img { position:absolute; top: 0; left:0; }[/CODE] … | |
I am working on creating a new page and I would like to have an image (like a iPhone 4 or 5) rotating. Is this possible using HTML? Thank you Regards GK2011 | |
I am trying to write a php script that will take find the path of a webpage or a url, and convert the css from the server or local folder to inline code. I've looked pretty much all over the internet and looked for many solutions that could help me … |
The End.