I need the text in these floating divs to be in one line. In Firefox this works ok. In IE6 it looks messed up:
screen
I cannot set an explicit width on these. Setting height does not help. Any ideas please?
The HTML:
<div id="wraper">
<div class="draggable">
<p>a main road with fast-travelling traffic</p>
</div>
<div class="dragga...
hello again
i've got one more question today
are there any html parsers with not strict syntax analyzers available?
as far as i can see such analyzers are built in web browsers
i mean it should be very nice to get a parser that indulgently process the input document allowing any of the following situations that are invalid in xhtml and ...
I have an iframe that looks like this:
<iframe src="http://www.google.com" height=1000 width="500" id="myiframe"></iframe>
I want to create a link so that when I click on it, the iframe on the page changes.
How can I do that using jquery?
Is it related to jquery attr?
Thanks!
...
I can't figure out why document.getElementById is not working in Firefox:
document.getElementById("main").style.width = "100";
When I check in Firebug it says:
TypeError: document.getElementById("main") is null
Does anybody know why this is happening?
EDIT: Unfortunately, the "body" element was a bad example. I changed it to anothe...
I'm new to html, and use hebrew a lot. I came across this problem, which makes me think I'm misunderstanding something.
As for as I know, the element has no effect, but it does allow adding style.
However, trying to do this:
<span dir="rtl"> some text that should be rtl'ed </span>
Doesn't seem to work for me (the dir has no effect)...
I need to measure the offsetHeight of a div that is inside of a hidden element.
<div id="parent" style="display: none;">
<div id="child">Lorem Ipsum dolor sit amet.</div>
</div>
The parent div must be set to "display:none". I have no control over that. I realize that the offsetHeight of the child div is going to be 0. I need to fi...
What is a good approach to avoiding Selenium tests being broken when dealing with the changing "Name" and "Id" attributes of a control that is rendered on a ASP.NET page using a master page? I want to avoid changing my tests when ASP.NET renders the web page's controls with different DOM identifiers.
...
I have a select box in which i can select multiple options. In the select box are multiple optgroups.
Is there an easy way to select a whole optgroup at once in javascript?
...
Hello all,
I came upon a revelation the other day. When attempting to create a submit button by using an image, I ran into a problem where the image was not displayed but the value text was. At the time, this is not what I wanted, but now, as I look back, I see some potential use for this.
If you need to send data to another page, but ...
I've seen this on every Yahoo! news page, at the bottom of the source code,
and failed to understand why they break the script word like that.
Does anybody know if there's any reason for this?
document.write("<scr"+"ipt language=javascript src=http://l.yimg.com/d/lib/bc/bc_2.0.4.js></scr"+"ipt>");
...
How can I make a link visible only when one hovers over the link?
...
Hi,
I just notice a very odd behaviour in Firefox 3.5. I am running Firefox 3.5 under Ubuntu Jaunty Jackalope (9.04) and Windows XP.
When I open the following URL : http://www.w3schools.com/css/tryit.asp?filename=trycss%5Flink2
Firefox renders the links in blue. When I open it with IE 6.0 it shows the links in 'red'.
According to the...
How do I format an HTML anchor tag to link to a shared network folder?
I tried the following and it does not like it.
<a href="file:\\myserver\myfolder\myfile.docx">My Shared Folder</a>
...
I'm looking to add comments to my website. I've seen some great frameworks for forums (like phpbb) and for blogs (like wordpress). Is there anything like this for comment systems?
...
HTML parser...My recent project needs a web spider..it automatically get web content which it gets the links recursively....
But, it needs to know its content exactly. like tag.
it runs in linux and windows..do you know some opensource about this needs..
thanx
or about some suggestion.
...
How to generate Word document(doc,docx) in ASP.NET?
...
I'm having a very weird problem that for the life of me I can solve. Basically, in Safari my top navigation has no top margin and is flush with the very top of the page. In firefox, it is applying the bottom margin to the top as well, for a reason I cannot figure out. When I remove margin in firebug, the fake top margin is also removed. ...
I'd like to have one div at center of another div horizontally.
<div id="container">
<div id="centered">
hello world;
</div>
</div
I tried with below style with "margin: 0px auto" trick, but it only works in FF, not in IE.
div
{
border-width: 2px;
border-style: solid;
}
#centered
{
margin: 0 auto;
width: 30px;
...
Dear Professors!
I have this little code (part of my regsitration code) :
<?php
if (@$_POST['Submit'] == 'Register'){
if (strcmp(md5($_POST['user_code']),$_SESSION['ckey']))
{
die("Invalid code entered. Please enter the correct code as shown in the Image");
}
}
?>
<form name="form1" id="signupForm" metho...
I read some articles about XForms. Will this standard ever become practical? Any body using this right now? Is it wise to start using now itself?
...