Solved

How do i stick the html table at the top corner of the page ?

Posted on 2007-11-20
2
506 Views
Last Modified: 2013-11-19
The html table should stick to the right horizantally and to the top vertically,without any gap.How can i do that ?
0
Comment
Question by:amhicraig
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
rbudj earned 65 total points
ID: 20324568
<body marginheight="0" marginwidth="0" topmargin="0" bottommargin="0">
0
 
LVL 2

Assisted Solution

by:yossi_intlock
yossi_intlock earned 60 total points
ID: 20324697
if you want only the table to stick to the top <table style="position:absolute; top:0px; ">...</table>

now: to align it to the right in case when your table width is less than the page screen width  and the page direction is left to right:inset it into a div and set the style on the div like that:
<div style="top:0px; position:absolute;" align="right"  width="100%"><table>...</table></div>

if your page direction is right to left that the first example will do the job.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question