Click to See Complete Forum and Search --> : fieldset tag introduces some space...How to reduce that??


saravanan_anna
08-29-2003, 07:06 AM
Hi All,
I use fieldset and legend inside table tags. It introduces lot of space between two fieldset tags. I want to reduce the space. Is there any attribute or any other indirect way to acheive this.

Urgent help needed.

Bye from Saravanan A

Fang
08-29-2003, 07:44 AM
Using legend produces the space between the fieldsets

saravanan_anna
08-29-2003, 08:19 AM
yes. legend introduces only some space.
fieldset also introduces space (i think).

Is there any attribute available in these tags, so that i can control the space between them.

regards
saravanan A

Robert Wellock
08-29-2003, 08:49 AM
Use CSS to reduce the spacing.

saravanan_anna
09-03-2003, 08:06 AM
Hi Robert,

You mean, i can acheive this bordering with CSS ( by dropping fieldset and legend tags)

ok. i will try my hand with CSS...


bye

DaveSW
09-03-2003, 08:53 AM
Rob: do you mean use css for spacing or do you mean use css like

fieldset, legend {
margin:0px;
padding:0px;
}

?

Robert Wellock
09-04-2003, 08:54 AM
There are various ways but yes the above would work and for your amusement: http://lists.w3.org/Archives/Public/w3c-wai-ig/2001AprJun/att-0523/fieldset_style_test-CSS.html