473,407 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

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

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
4 4436
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
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
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
Mark Barratt wrote:
>
groups focusing on CSS
comp.infosystems.www.authoring.stylesheets

--
Berg
Jul 18 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: vishal | last post by:
hello friends i have one php script which generates html page containing form. what i want is submit this form using php script. pls give me some idea that how can i submit form using php...
4
by: btopenworld | last post by:
I am submitting a form using an image as the link to a js file. The image calls a js function which checks fields- issuing alerts for errors - if no errors it then submits the form. I would like...
3
by: Justin Sane | last post by:
I haven't been able to select a form using getElementById. I only can select a form using the "name" property of the <form> tag. Is there another way to select a form, or is it even possible to use...
4
by: Howard Jess | last post by:
In Opera 8.01 (Linux; Build 1204) and in Opera 7.54 (Windows XP; Build 3865), my form disappears from the HTML markup (below). To summarize: 1) In a <script> block in the <head> I create a form...
9
by: Warren Post | last post by:
At <http://snow.prohosting.com/srcopan/src/search.html> I have a simple form, using the following code provided by my site search provider: <form method="get"...
4
by: Rainer Queck | last post by:
Hi NG, in a dynamically created tabpage I have a checkbox, which with its "Checked" is bound (DataBindings.Add) to a bool property of one of my classes. I realized, that the bool property of my...
1
by: Zorik | last post by:
I am building a form in asp.net 2.0 On one of the textboxes, I don't want that the user will use the space character. How do I disallow space using regular expression validator (or other...
3
by: ajay2552 | last post by:
Hi, I have a query. All html tags start with < and end with >. Suppose i want to display either '<' or '>' or say some text like '<Company>' in html how do i do it? One method is to use &lt,...
5
by: shotokan99 | last post by:
for instance i do have this element but i dont have a <form>: <input type="Text" name="myname" id="myname" size="30"...> then i have this link: echo'<a...
3
by: sunmat | last post by:
To find number of character without space using java Example: String = prabu sun No. of char =8 plz send me code
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.