can anyone tell

1.how to place table manually at some position
2.how can we bring another objects such as images,or text above table........and table behind them

Recommended Answers

All 4 Replies

What have you tried? What doesn't work?

can u see the image in the html page.............how do i write my webpage title and heading over that image,.................


this is the code.........

<html>
<head>
</head>
<body>

<body topmargin="0" leftmargin="6"> 

<img src="C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Sunset.jpg" width="1024" height="126" >
<body bgcolor="#FFE193">

   <table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
    <td width="50%" align="left" valign="top"><table border=0 width="500" align="leftcorner" bgcolor="#CDDFFF">
      <tr>
        <td colspan=2 style="font-size:12pt;color:#00000;" align="center"><font size=5> Search Employee </font></td>
      </tr>
      <tr>
        <td ><b> Employee Name</b></td>
        <td>:
          <input  type="text" name="emp_name" id="emp_name"></td>
      </tr>
      <tr>
        <td ><b>Department</b></td>
        <td>:
          <input  type="text" name="emp_dept" id="emp_dept"></td>
      </tr>
      <tr>
        <td ><b>Email</b></td>
        <td>:
          <input  type="text" name="email" id="email"></td>
      </tr>
      <tr>
        <td colspan=2 align="center"><input  type="submit" name="submit" value="Search"></td>
      </tr>
    </table></td>
    <td width="2%">&nbsp;</td>
    <td width="28%"><table width="100%" height="180"  border="0" align="rightcorner">
      <tr>
        <td align="top" height="135" valign="top" bgcolor="#BDECFE"><marquee height="150" align="left"  direction="up" scrollamount="2" scrolldelay="1" onMouseOver="this.stop()" onMouseOut="this.start()" >
          <a href="news.asp" class="more">Faith InfoTech Academy for Professional Advancement starts operations at Technopark<b></a><br />
          <br />
          <a href="news.asp" class="morelink">Faith InfoTech Academy for Professional Advancement starts operations at Technop...</a><br />
          <br />
          <a href="news.asp" class="more">Mr. R. Narayanan joins Faith InfoTech as Chief Mentor and Director.</a><br />
          <br />
          <a href="news.asp" class="morelink"><b>Mr. R. Narayanan joins Faith InfoTech as Chief Mentor and Director.</b> <br>
            ...</a><br />
          <br />
          <a href="news.asp" class="more">Faith InfoTech engaged by RevenueMed to deliver training in IT enabled health services.</a><br />
          <br />
          <a href="news.asp" class="morelink"><b>Faith InfoTech engaged by RevenueMed to deliver training in IT enabled health...</a><br />
          <br />
        </marquee></td>
      </tr>
    </table></td>
  </tr>
</table>

<br><br><br>
</body>
</html>

Most, if not all, of the attributes you're using are deprecated. To accomplish what you want you will need CSS, and I recommend brushing up on your HTML too. Here are are few places to help you with that:

https://developer.mozilla.org/en-US/docs
http://code.google.com/edu/submissions/html-css-javascript/
http://dev.opera.com/articles/view/1-introduction-to-the-web-standards-cur/#toc
http://www.w3.org/wiki/HTML
http://htmldog.com/

Regards
Arkinder

properly declare a doctype >4 and css positioning works ie::html 4 4.01 5 xhtml1

<!DOCtype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type='text/css'>
.fixtop { top:0;right:0;position:fixed;z-index:-100; }
.fixbottom { bottom:0;right:0;position:fixed;z-index:-100; }
</style>
</head>
<body>
<body topmargin="0" leftmargin="6"> 
<img src="C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Sunset.jpg" width="1024" height="126">
<body bgcolor="#FFE193">
<table width="80%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" align="left" valign="top">
<table border=0 width="500" align="leftcorner" bgcolor="#CDDFFF">
</tr>
<tr>
<td colspan=2 style="font-size:12pt;color:#00000;" align="center"><font size=5> Search Employee</font></td>
</tr>
<tr>
<td><b> Employee Name</b></td>
<td>:
<input  type="text" name="emp_name" id="emp_name"></td>
</tr>
<tr>
<td><b>Department</b></td>
<td>:
<input  type="text" name="emp_dept" id="emp_dept"></td>
</tr>
<tr>
<td><b>Email</b></td>
<td>:
<input  type="text" name="email" id="email"></td>
</tr>
<tr>
<td colspan=2 align="center"><input  type="submit" name="submit" value="Search"></td>
</tr>
</table>
</td>
<td width="2%">&nbsp;</td>
<td width="28%"><table width="100%" height="180"  border="0" align="rightcorner">
<tr>
<td align="top" height="135" valign="top">
<!-- I just hate these *expletive* things
<marquee height="150" align="left"  direction="up" scrollamount="2" scrolldelay="1" onMouseOver="this.stop()" onMouseOut="this.start()">
<a href="news.asp" class="more">Faith InfoTech Academy for Professional Advancement starts operations at Technopark<b></a><br/>
<br/>
<a href="news.asp" class="morelink">Faith InfoTech Academy for Professional Advancement starts operations at Technop...</a><br/>
<br/>
<a href="news.asp" class="more">Mr. R. Narayanan joins Faith InfoTech as Chief Mentor and Director.</a><br/>
<br/>
<a href="news.asp" class="morelink"><b>Mr. R. Narayanan joins Faith InfoTech as Chief Mentor and Director.</b><br>
...</a><br/>
<br/>
<a href="news.asp" class="more">Faith InfoTech engaged by RevenueMed to deliver training in IT enabled health services.</a><br/>
<br/>
<a href="news.asp" class="morelink"><b>Faith InfoTech engaged by RevenueMed to deliver training in IT enabled health...</a><br/>
<br/>
</marquee>---></td>
</tr>
</table></td>
</tr>
</table>
<div class='fixtop'> this text will stay put<br/> and the rest of the page will scroll around it, the class='fixtop' </div>
<div class='fixbottom'> this text will stay put<br/> and the rest of the page will scroll around it, the class='fixbottom' </div>
<p>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/>lorem ipso filler BS<br/></p>
<br><br><br>
</body>
</html>

giving the table a css position will accomplish anything you require, NOT saying anything about the code for the tables, deprecated (defecated) for sure

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.