The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Form Border?, how can i make a form border
Kurenai
post May 2 2007, 12:35 PM
Post #1





Group: Members
Posts: 3
Joined: 2-May 07
Member No.: 2,699



I have already made the e-mail form for my page, but i wanted to add a box around it to make it distinctive from the other text. but i don't know how to. this is the URL for the page http://www.geocities.com/teammollusk/join.html . any help would be greatly appreciated.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Corey Bryant
post May 2 2007, 01:52 PM
Post #2


Member
***

Group: Members
Posts: 70
Joined: 28-December 06
Member No.: 1,399



Form layout using CSS might help out some.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Kurenai
post May 2 2007, 03:44 PM
Post #3





Group: Members
Posts: 3
Joined: 2-May 07
Member No.: 2,699



I can’t use java or anything besides html. I have dial up so I can’t spend let my internet be on for an extra 30 minutes to let something load. If there is anything in html format I could use that. Thank you.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Peter1968
post May 2 2007, 04:18 PM
Post #4


Serious Coder
*****

Group: Members
Posts: 448
Joined: 23-September 06
Member No.: 213



QUOTE(Kurenai @ May 3 2007, 06:44 AM) *

I can’t use java or anything besides html. I have dial up so I can’t spend let my internet be on for an extra 30 minutes to let something load. If there is anything in html format I could use that. Thank you.


You need to bone up on what CSS is. http://htmlhelp.com/reference/css/

99.999% of the websites you'll ever visit use CSS. It's merely plain text.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post May 2 2007, 04:20 PM
Post #5


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



Another alternative might be to use the FIELDSET element, which happens to produce a border in addition to adding structure to a form.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Kurenai
post May 2 2007, 05:12 PM
Post #6





Group: Members
Posts: 3
Joined: 2-May 07
Member No.: 2,699



QUOTE(Christian J @ May 2 2007, 05:20 PM) *

Another alternative might be to use the FIELDSET element, which happens to produce a border in addition to adding structure to a form.


Thank you so much, something as simple as this was all I needed. Again thank you.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post May 3 2007, 01:42 AM
Post #7


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



QUOTE(Kurenai @ May 3 2007, 07:12 AM) *

QUOTE(Christian J @ May 2 2007, 05:20 PM) *

Another alternative might be to use the FIELDSET element, which happens to produce a border in addition to adding structure to a form.


Thank you so much, something as simple as this was all I needed. Again thank you.


Yes, but if you want a border around the whole form, the FIELDSET element is no use (unless you abuse it!) The FIELDSET is supposed to group form elements into sets; it's also nowhere guaranteed that it puts a border - a different browser might show the fieldset groups in different colours, or separated by rules.

If you need to put a border on a form element, the simplest way is just to include in the <form ...> element a style declaration of the following type:

style="border: solid 2px #40a0c0"

This will give you a blue-green border of width 2 pixels. For more details, google for 'CSS style border', and read the w3c page. You can represent colours with names and things, but personally I find RGB values easier. (40 means 25% red, a0 means 10/16 green, and c0 75% blue)

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Peter1968
post May 3 2007, 02:15 AM
Post #8


Serious Coder
*****

Group: Members
Posts: 448
Joined: 23-September 06
Member No.: 213



QUOTE(Brian Chandler @ May 3 2007, 04:42 PM) *


Yes, but if you want a border around the whole form, the FIELDSET element is no use (unless you abuse it!)


That's precisely what the OP has done, Brian.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post May 3 2007, 03:34 AM
Post #9


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



QUOTE(Peter1968 @ May 3 2007, 04:15 PM) *

QUOTE(Brian Chandler @ May 3 2007, 04:42 PM) *


Yes, but if you want a border around the whole form, the FIELDSET element is no use (unless you abuse it!)


That's precisely what the OP has done, Brian.


Hmm, you mean:

<centert><fieldset><form method=post action="http://geocities.yahoo.com/forms?login=teammollusk"...

a) What's "centert", when it's at home?

b) I think Christian meant to put the <fieldset> _inside_ the form, which is then probably syntactically correct. But that doesn't affect my point that this too is an abuse of "fieldset"...

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
stjepan
post May 6 2007, 02:41 PM
Post #10


Serious Coder
*****

Group: Members
Posts: 329
Joined: 15-October 06
From: zagreb, croatia
Member No.: 445



I made my two sites when on dial up...
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 6 2007, 05:25 PM
Post #11


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,731
Joined: 9-August 06
Member No.: 6



Yeah, why should a site take longer to render because of CSS? CSS should make it faster.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Peter1968
post May 7 2007, 03:34 AM
Post #12


Serious Coder
*****

Group: Members
Posts: 448
Joined: 23-September 06
Member No.: 213



The OP wasn't aware of what CSS is, so the ignorance is understandable.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 10:18 AM