Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all,
I do not sure whether this question is out of place
How come any <div> tags could not be rendered in konqueror or mozilla ?
I have some html pages, but they failed to be rendered correctly by browsers in MDK9.2. Any ways to avoid this ?
Thanks in advance.
<html>
<head>
<title>Show it</title>
<script language="javascript">
function showIt(which)
{
// collect all the div names
for ( var object in document.all.tags ("DIV") )
{
// set all other "target" class divs to hidden
if ( ( document.all[object].className == "targets" ) && ( object != which ) )
document.all[object].style.visibility = 'hidden';
}
// then set selected "target" visibility to the opposite of its current value
document.all[which].style.visibility = document.all[which].style.visibility=='visible' ? 'hidden' : 'visible';
}
</script>
</head>
<body LINK="#0000ff" VLINK="#800080">
<h1>Show It</h1>
<ol>
<li><a HREF="#" onClick="showIt('div1')">Show Div1</a> </li>
<li><a HREF="#" onClick="showIt('div2')">Show Div2</a> </li>
</ol>
<div class="targets" id="div1" style="position:absolute;top=155px;left=30px;visibility:hidden">
<h1>This is Div 1</h1>
<table border="1" width="400" height="100">
<td><br>
<br>This Div will show image 1
<br>
</td>
</table>
</div>
<div class="targets" id="div2" style="position:absolute;top=155px;left=30px;visibility:hidden">
<h1>This is Div 2</h1>
<table border="1" width="400" height="100">
<td><br>
<br>This Div will show image 2
<br>
</td>
</table>
</div>
</body>
</html>
In IE, I can show each of div when I clicked the link, but not in browser for linux. How do I acheive the same result with konqueror or mozilla in MDK9.2
Thanks in advance
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.