By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,925 Members | 732 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,925 IT Pros & Developers. It's quick & easy.

how to remove unwanted space after </form> using css?

P: n/a
Hello group,

I am producing a form within a table:

<table>
<tr>
<td>
<form>
...
</form>
</td>
</tr>
</table>

I found that there is an unwanted vertical space right after the </form>
tag.

Can I fix this using css?

Thank you
Magnus
Jul 12 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
rf

"Magnus Warker" <wa****@magnus.cowrote in message
news:f7**********@online.de...
Hello group,

I am producing a form within a table:

<table>
<tr>
<td>
<form>
...
</form>
</td>
</tr>
</table>

I found that there is an unwanted vertical space right after the </form>
tag.
You mean the form element has a margin-bottom which looks, to you, like some
vertical space somewhere.
Can I fix this using css?
Yes. You need to go over to the specifications at
http://www.w3.org/TR/CSS21/ and read up on the margin properties, as applied
to block level elements. Perusing the visual formatting model chapter would
help as well, so you know exactly why the CSS you will use does what it
does.

--
Richard.
Jul 12 '07 #2

P: n/a
Jukka K. Korpela wrote...
But I wonder why the OP asked a manifestly CSS
question in an HTML group. Asking in a wrong group typically results justin
flames, except that it often spawns wrong answers as well. (Our nice little
group is exceptional in the sense that we tend to be kind to newbies as long
as they misbehave just by ignorance.)
Pardon me for interrupting, but I've stumbled in here looking for
assistance in teaching myself XHTML/CSS web design. From your
remarks it seems that this may not be an appropriate newsgroup.

My news server, however, does not report any groups with XHTML in
the name. There appear to be two groups focusing on CSS, but since
I can read neither Croatian nor Japanese, they're not likely to be
much help. I could go to <shudderGoogle groups, but...

Any suggestions welcome.

--
Mark Barratt, angoltanár budapesten
http://www.geocities.com/nyelvmark
Jul 18 '07 #3

P: n/a
Gazing into my crystal ball I observed Mark Barratt <ny*******@yahoo.com>
writing in news:MP************************@news.t-online.hu:
My news server, however, does not report any groups with XHTML in
the name. There appear to be two groups focusing on CSS, but since
I can read neither Croatian nor Japanese, they're not likely to be
much help. I could go to <shudderGoogle groups, but...

Any suggestions welcome.
You probably won't find newsgroups with XHTML in the name - just HTML.
This group is for discussing HTML - and there is
comp.inforsystems.www.authoring.stylesheets for CSS, and alt.html also
discusses both HTML and CSS and other subjects relavant to both.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Jul 18 '07 #4

P: n/a
Mark Barratt wrote:
>
groups focusing on CSS
comp.infosystems.www.authoring.stylesheets

--
Berg
Jul 18 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.