horse*chica
03-11-2004, 05:49 AM
For my tagboard, I'm changing the HTML up just a bit so that it will fit into my layout. I'd like the input fields for name and url/email to not be as wide as the original code has them, but I can't figure out how to change it. I tried a width="..." tag, but it didn't work. So how would I go about changing this? Thanks!
salomeyasobko
03-11-2004, 06:19 AM
can i see a code? [and a URL, too.] thanks! :)
horse*chica
03-11-2004, 06:35 AM
Sure thing! Sorry, I should have added that stuff already. Here's part of the code: <input type="hidden" name="name" value="reverie_xoxo">
name.<br>
<input name="tagname" maxlength="20"><br>
url/email.<br>
<input name="tagurl" maxlength="100"><br>
And a url that I am using as a test is: www.geocities.com/reverie_xoxo/test.html
Over on the right side, where the tagboard is, see where the two input boxes for name and email/url go over the purple vertical line? I want to shorten them so that that won't happen. The left side is in a div, and each section with a purple header (girl, tagboard, and mood) are in an individual table. You'll also see that the "tagboard" header is longer than the other two. I have no idea if it's possible, but I think the input fields are stretching that table out, because the code for that table is set to width="130" like the other two...yet it's wider. Soooo...I was just wondering if I could shorten the input fields ^_^ Sorry for my long-windedness :-D
salomeyasobko
03-11-2004, 06:43 AM
try this:
<input type="hidden" name="name" value="reverie_xoxo">
name.<br>
<input name="tagname" maxlength="20" style="width: 130px"><br>
url/email.<br>
<input name="tagurl" maxlength="100" style="width: 130px"><br>
the bold part is what i added [style=....] just to let you know.
well, that should work! [i hope] :)
horse*chica
03-11-2004, 06:54 AM
Yep, that worked just right! Thank you! :)
horse*chica
03-11-2004, 07:10 AM
Oh, also, I just thought of this-- do you know of any useful sites I could go to and learn about input fields, forms, etc? I've read the CSS page of LEIA, but there are some things that I either didn't see, or just missed it somehow. For instance, I've seen forms on some sites that, when clicked inside the input field, any text already in the field (and how would I do that, too? lol) is either selected/highlighted, deleted (such as in the login area of the forum), changed to different text, etc. I searched on LEIA and the forum and found nothing, but I'm interested in learning about this. Thanks again! :)