IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1834.75 MB
Powered by
Channel Info
Network: freenodeChannel: #html |
Search in www.irclog.org
Log from #html at freenode 2006-06-23
[08:42]<zggm>anybody mind telling me why this doesnt render correctly in IE?
[08:42]<zggm>http://www.code-fusion.net/test.html
[09:02]<fzzzdd>i want to make a text box that is the exact width of a div, any way to do this and have it resize if the div changes size?
[09:02]<20rv>width: 100%;?
[09:03]<fzzzdd>thanks so much
[09:05]<znjzznw>sorry re-post:
[09:05]<znjzznw>i have 1 form with 2 textbox and 2 submit button.. those are: Forgot Password Reminder and Forgot ID Reminder.. How to make when user fill the second textbox, then press ENTER is like click the second submit button, because right now when do enter enter will click the first submit button. I already did tabindex but didn't effect.
[09:06]<20rv>hm
[09:06]<mnzmzjjv>georgex: put it in two forms, i guess
[09:06]<20rv>You could capture an enter key (keycode 10 or 13) and set a hidden input's value
[09:07]<20rv>Or use two forms, yes, and avoid script.
[09:07]<mnzmzjjv>or use the same submit button for both options
[09:07]<zu22nzvjrsv>i would advise deadroot's tactic
[09:07]<20rv>One submit button would be less confusing
[09:07]<20rv>for the user
[09:08]<zu22nzvjrsv>yes
[09:08]<zu22nzvjrsv>do it now georgex
[09:08]<zu22nzvjrsv>there's no time to lose
[09:11]<crdfnn>hi
[09:11]<20rv>Hurry! Before there's still time!
[09:12]<crdfnn>is there something wrong with <!-- <?xml version="1.0"?> ... //--> ?
[09:12]<crdfnn>in my editor it changes syntax highlighting so the next line after the ?xml... ?> is not comment
[09:13]<20rv>kaylee: That's correct.
[09:13]<crdfnn>humm... why is it wigging out then?
[09:13]<20rv>The editor seems to be highlighting when it sees matching < and >, not looking at comments
[09:13]<crdfnn>it's doing it in mozilla's view source
[09:13]<20rv>hm
[09:14]<crdfnn>humm... jedit appears to display as I was expecting
[09:15]<crdfnn>even weirder...Ie appears to display it fine
[09:15]<crdfnn>what the hell?
[09:16]<20rv>Does Moz render the page incorrectly?
[09:16]<crdfnn>yes
[09:16]<20rv>hm
[09:16]<20rv>Try putting <!-- and --> on their own lines
[09:17]<crdfnn>they are...it was just easier to enter it on one in ir
[09:17]<crdfnn>c
[09:17]<20rv>Weird... assuming that the comment text doesn't contain "--", then even a full SGML parser should count it as a comment
[09:18]<crdfnn>humm...
[09:18]<20rv>Maybe a *ml validator could catch an error, if there is one.
[09:19]<20rv>Actually... check the page info dialog in Moz to see if it's in quirks mode. That might explain why it's parsing it weirdly.
[09:21]<mnzmzjjv>ermm.. push it below something else? like below the <title>?
[09:21]<20rv>That might be the problem, yeah, but should it matter?
[09:22]<mnzmzjjv>most browsers, including firefox isn't that strict about the sgml implementation, iirc
[09:23]<20rv>I'd hope tag soup parsers would be more liberal about that
[09:47]<pfraaym>omg A*S*YS, Hellrasier, BeXta and other producers are using myspace
[09:47]<pfraaym>this is not good
[09:47]<pfraaym>wtf does page have to full of someones crap and add up to megabytes?
[09:50]<zzjjgy>what does the <p> tag do
[09:50]<mnzmzjjv>`html p
[09:50]<rtfs>html p: http://www.w3.org/TR/html401/struct/text.html#edef-P
[09:51]<zzjjgy>paragraph huh
[09:51]<zzjjgy>hwo do i tab
[09:51]<mnzmzjjv>yes
[09:51]<zzjjgy>in html
[09:51]<mnzmzjjv>you mean an indent?
[09:51]<zzjjgy>is there a tag for it
[09:51]<zzjjgy>yes
[09:51]<mnzmzjjv>`css text-indent
[09:51]<rtfs>css text-indent: http://www.w3.org/TR/CSS21/text.html#propdef-text-indent
[09:52]<zzjjgy><label for="Message">Why would you use labels</label>?
[09:52]<pfraaym>um
[09:52]<pfraaym>accessibility
[09:52]<mnzmzjjv>and that you can use the for attribute
[09:53]<zzjjgy>is it for blind people or something?
[09:53]<pfraaym>can be
[09:53]<mnzmzjjv>click on the label and you'll get focused on the input control
[09:53]<zzjjgy>well wouldnt it do that anyway
[09:53]<mnzmzjjv>wouldn't do what?
[09:53]<zzjjgy>clicking on the label
[09:53]<zzjjgy>get focused on input
[09:54]<mnzmzjjv>arooni: the usage should be like <label for="target">a</label><input id="target">
[09:54]<zzjjgy>so then i can click on the text which describes the input, and it will take me to the input?
[09:54]<mnzmzjjv>yes
[09:54]<pfraaym>depends on the UA
[09:55]<mnzmzjjv>`html label
[09:55]<rtfs>html label: http://www.w3.org/TR/html401/interact/forms.html#edef-LABEL
[09:55]<mnzmzjjv>it's in the specs, so most UAs should support it, where it is relevant
[09:56]<pfraaym>unless its a text browser
[09:56]<mnzmzjjv>it's not relevant in a text browser
[09:56]<pfraaym>exactly
[09:57]<mnzmzjjv>i haven't used a text browser though. but i think it is possible to support it
[09:57]<pfraaym>well the 'click' is not relevant
[09:57]<mnzmzjjv>i have used a command line interface that provides for the mouse
[09:58]<pfraaym>same
[09:58]<pfraaym>but there are text browsers that don't use mouse
[11:31]<znjzznw><b0at> You could capture an enter key (keycode 10 or 13) and set a hidden input's value <- can you more details ?
[11:32]<mnzmzjjv>georgex: that method isn't recommended
[11:32]<znjzznw>so better use 2 forms?
[11:33]<mnzmzjjv>didn't you read our comments?
[11:33]<20rv>georgex: Use a single form with a single button and multiple text inputs or one form for each pair.
[11:34]<znjzznw>yes :) thank you for your suggestion ^^
[11:35]<znjzznw>just wondering why google and yahoo use 2 button in one form..
[11:35]<mnzmzjjv>their practices aren't always the best
[11:40]<znjzznw>i believe use 1 button is not the best choice.. if dumb user entry both then click ok.. so the engine won't know that user want get password or get the id..
[11:40]<znjzznw>so better use 2 forms like you said before :)
[11:41]<20rv>georgex: Um... so make up for stupid users.
[11:41]<20rv>Try one, then try the other.
[16:30]<rlswyrr>if i have a large form and i want to change the color of something to indicate that something in the form has changed (as in..."hey man, the form has been modified, don't forget to click the "save" (submit) button!". i'd want to use javascript to do this, i'm sure, but what's the easiest way to do it? should every single element have an onchange() event attached to one function?







