Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > HTML
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

HTML HTML problems, maybe you are trying to code for MySpace. Get all the HTML coding help here for your website.

Google
Closed Thread
 
LinkBack Thread Tools Display Modes
Old 07-01-2007, 1:22 PM   #1
Richard
 
Richard's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Help with table alighment


"Steven" <xueming@attbi.com> wrote in message
news:BKkJa.103897$YZ2.270494@rwcrnsc53...
> All,
>
> I have the following code for my table. I put a button into some of the
> cells, so I can click on it and call another script. The problem I am

facing
> now, is that the cells with buttons are much bigger in vertical.
>
> <td width="12%" height="35">&nbsp;</td>
> <td width="12%" align="center" valign="bottom"
> height="35">
> <form method="POST">
> <input type="submit" value="Book" name="Mon_0815">
> </form>
> </td>
> <td width="12%" height="35">&nbsp;</td>
>
> And even I specify the height, but all the buttons are top-alighed and

some
> space bellow the button. This doesn't look good...
>
> Any suggestion are appreciated.
>
> Regards,
> -Steven
>


Simple solution. I tied out your code in my editor and realized why it
wasn't working right.
CAPITAL LETTERS DON'T CUT IT!

"POST" should be "post". If the item is left in caps, no action is taken on
it.
You get what appears to be a standard button "submit" button rather than the
"post" block.



 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 1:22 PM   #2
rf
 
rf's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Help with table alighment


"Richard" <anom@anom> wrote in message
news:bd5ucu022pb@enews4.newsguy.com...
>
> "Steven" <xueming@attbi.com> wrote in message
> news:BKkJa.103897$YZ2.270494@rwcrnsc53...
> > All,
> >
> > I have the following code for my table. I put a button into some of the
> > cells, so I can click on it and call another script. The problem I am

> facing
> > now, is that the cells with buttons are much bigger in vertical.
> >
> > <td width="12%" height="35">&nbsp;</td>
> > <td width="12%" align="center" valign="bottom"
> > height="35">
> > <form method="POST">
> > <input type="submit" value="Book" name="Mon_0815">
> > </form>
> > </td>
> > <td width="12%" height="35">&nbsp;</td>
> >

> Simple solution. I tied out your code in my editor


What are you talking about? I would have thought trying it out in a
*browser* would be better.

> and realized why it
> wasn't working right.
> CAPITAL LETTERS DON'T CUT IT!


Wrong. HTML 4.01 (which this presumably is) in case INsensitive.

In particular, the values of the method attribute in a form element, as
discussed here in the HTML 4.01 specifications:
http://www.w3.org/TR/html4/interact/forms.html#h-17.3
are case insensitive. That is what the purple [CI] means. Case Insensitive.

The meaning of CI is explained here:
http://www.w3.org/TR/html4/types.html#h-6.1
>
> "POST" should be "post". If the item is left in caps, no action is taken

on
> it.


That is just a wild guess and a wildly inaccurate one at that :-)

> You get what appears to be a standard button "submit" button rather than

the
> "post" block.


I have not idea what this last bit means.

The real problem the OP's has is exactly as brucie suggested. The form
element by default has a margin-bottom of about 1em.

The real suloution to the OP's problem is to get rid of this.

<style type="text/css">
form {margin: 0;}
</style>

and yes, I have tested this _in a browser_.

Cheers
Richard.


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Featured Websites
Free Space
Free Space
Free Space Free Space
Closed Thread
Tags: , ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with table alighment Richard HTML 3 07-01-2007 1:23 PM
Delete from a table using entries in temp table n00bie Database 2 06-10-2007 12:25 AM
table in a table Piotr Database 4 06-10-2007 12:23 AM


Featured Websites




All times are GMT +1. The time now is 12:20 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98