Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-11-24 16:03:29

joshtilton
Member
Registered: 2007-11-15
Posts: 14

zem_contact_reborn: Remove "contact" title

Hi,

I have recently installed zem_contact_reborn for the first time. I have been able to style it the way I want, I just can’t figure out how to remove the defualt “Contact” title at the top of the form. I really dont like the way it looks and would like to remove it and just leave the contact fields themselves. Any idea’s would be very much appreciated!

(Edit: updated discussion topic. -Mary)

Last edited by Mary (2007-11-26 13:15:03)

Offline

#2 2007-11-24 16:04:39

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: zem_contact_reborn: Remove "contact" title

set the attribute label=""

Last edited by iblastoff (2007-11-24 16:04:53)

Offline

#3 2007-11-24 16:09:04

joshtilton
Member
Registered: 2007-11-15
Posts: 14

Re: zem_contact_reborn: Remove "contact" title

Beautiful! Thank you very much!

Offline

#4 2007-11-24 20:18:29

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: zem_contact_reborn: Remove "contact" title

You can also set this in your CSS file:

fieldset legend { display: none;
}

Offline

#5 2007-11-24 20:28:10

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: zem_contact_reborn: Remove "contact" title

But the better way is actually removing the legend completely as iblastoff said – as it removes also the fieldset – that is quite annoing also :)

Cheers!

Last edited by Gocom (2007-11-24 20:28:58)

Offline

#6 2007-11-24 20:54:17

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: zem_contact_reborn: Remove "contact" title

Label=”“ removes the fieldset? I did not know that…learn something new every day… ;-)

OK – so what is a fieldset anyway? Care to explain? I might learn even more tonight :-)

Last edited by jstubbs (2007-11-24 20:55:45)

Offline

#7 2007-11-24 21:42:44

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn: Remove "contact" title

W3C: Forms in HTML documents

The FIELDSET element allows authors to group thematically related controls and labels. Grouping controls makes it easier for users to understand their purpose while simultaneously facilitating tabbing navigation for visual user agents and speech navigation for speech-oriented user agents. The proper use of this element makes documents more accessible.

The LEGEND element allows authors to assign a caption to a FIELDSET. The legend improves accessibility when the FIELDSET is rendered non-visually.

Offline

#8 2007-11-25 10:54:03

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: zem_contact_reborn: Remove "contact" title

Thanks Ruud. So – is fieldset supposed to be placed inside the form tag, or outside it?

Edit: Asking because in ZCR, the fieldset is placed inside the form tag..

Last edited by jstubbs (2007-11-25 11:45:30)

Offline

Board footer

Powered by FluxBB