Solved

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

Posted on 2007-11-20
2
504 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
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

830 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