Forum: JavaScript / DHTML / AJAX Nov 2nd, 2006 |
| Replies: 28 Views: 26,867 use
margin: auto auto;
don't use
margin-right: auto;
margin-right: auto;
and don't forget
body { |
Forum: JavaScript / DHTML / AJAX Nov 2nd, 2006 |
| Replies: 28 Views: 26,867 indeed, it won't work with absolute positioning |
Forum: JavaScript / DHTML / AJAX Nov 2nd, 2006 |
| Replies: 28 Views: 26,867 align=center doesn't work on divs.
try this:
body {
text-align: center;
}
.style1 {
margin: auto auto;
} |
Forum: JavaScript / DHTML / AJAX Oct 31st, 2006 |
| Replies: 1 Views: 3,330 Could you post a dummy html page with all your css and javascript in it? Then it will be a lot easier to get some answers I guess :) |
Forum: JavaScript / DHTML / AJAX Oct 27th, 2006 |
| Replies: 5 Views: 2,127 try putting it in the form's onsubmit event, like this:
<form onsubmit="return validate_form()"> |
Forum: HTML and CSS Oct 27th, 2006 |
| Replies: 1 Views: 6,977 this should work:
object.style.display = "block";
object.style.display = "none";
"hidden" doesn't work on .display, only on .visibility |
Forum: IT Professionals' Lounge Oct 25th, 2006 |
| Replies: 14 Views: 3,710 What about Aptana (http://www.aptana.com)? |
Forum: HTML and CSS Oct 25th, 2006 |
| Replies: 4 Views: 7,458 Could you post the corresponding HTML code? |
Forum: JavaScript / DHTML / AJAX Oct 25th, 2006 |
| Replies: 4 Views: 1,891 Try this:
var xmlDoc;
if (window.ActiveXObject)
xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
else if (document.implementation && document.implementation.createDocument)
xmlDoc=... |