Solved

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

Posted on 2007-11-20
2
502 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
Comment Utility
<body marginheight="0" marginwidth="0" topmargin="0" bottommargin="0">
0
 
LVL 2

Assisted Solution

by:yossi_intlock
yossi_intlock earned 60 total points
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to dynamically set the form action using jQuery.
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now