Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 questions about basic HTML

Status
Not open for further replies.

mettodog

Vendor
Jul 11, 2000
94
0
0
US
Ok, how do i make a table span from one side of the browser all the way to the other? I have the length at 100%, and all the rest of that, but there is still that 1/4 inch gap on top and the left of the table to the browser. i have tried every thing i can think of, but how do i put the table right in the top left corner of the browser with no gap?

Also, can i perform more than 1 action with onClick?

Thanks in advance.
 

<body topMargin=&quot;0&quot; leftMargin=&quot;0&quot;>


The equivalent style properties are margin-top, margin-right etc.

You can put as much as you like onClick - but stick to calling functions if you have heaps of stuff:


..<input type=&quot;button&quot; onClick=&quot;self.status='Hello';somefunction();somefunction2()&quot;>

b[sup]2[/sup] - benbiddington@surf4nix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top