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-09-01
[16:18]<wydlyns>I just added accept-charset='iso-8859-1' to my Form in the hope of getting iso-8859-1 compliant character back to the server but AFAIK it does not change a thing I cannot get PHP to convert the EURO sign to €
[16:19]<mjzwzzm>wimpies: ISO-8859-1 doesn't contain a euro sign.
[16:19]<wydlyns>but I can see it the the textarea ?
[16:20]<mjzwzzm>wimpies: Then it looks like the browser is being naughty :) I suggest switching to UTF-8 or ISO-8859-15
[16:21]<wydlyns>Is specifying iso-8859-15 in the accept-charset the way to do this ?
[16:22]<mjzwzzm>wimpies: I'd ensure the document was served as such in the first place.
[16:22]<mjzwzzm>(as well)
[16:22]<wydlyns>Where to I specify that (in the http headers ? or head or where)
[16:22]<mjzwzzm>wimpies: HTTP headers.
[16:26]<wydlyns>Hmm, I just changed it to -15 and now my euro sign no longer shows up correctly after refreshing ...
[16:26]<mjzwzzm>wimpies: Possibly you aren't using -15 then.
[16:27]<mjzwzzm>(And there is a difference between the server saying "This is in ISO-8859-15" and the document /actually/ being in that encoding)
[16:27]<wydlyns>i forgot to update the accept-charset in the form after changin page default
[16:29]<wg22gg>wimpies, you might want to specify it in a meta element too if you haven't already
[16:30]<wydlyns>no i did not ...
[16:33]<wg22gg>http://www.w3.org/TR/html4/charset.html#h-5.2.2
[16:49]<rrgmd2rg>Hi guys
[16:50]<lgxq00q>Hi what is equal to tab in html ??
[16:50]<rrgmd2rg>When I have a URL with POST variables ... do I need to encode the & in the URL which separates the variables? e.g. http://site/blah?sort=title&rev=1 ... this gives an error on the w3 validator
[16:51]<mjzwzzm>LnX2002: Nothing. There are various things which do the things that tabs are used for in traditional typography, but which you use depends on what you are actually trying to achieve.
[16:51]<lgxq00q>Dorward : I have found it :
[16:51]<mjzwzzm>candyban: Those are GET variables, and yes you do. The validator error message even explicitly states that it applies to ampersands in URLs.
[16:51]<mjzwzzm>LnX2002: No, that's a horrible hack.
[16:52]<wg22gg>LnX2002: why do you want a tab?
[16:52]<mjzwzzm>LnX2002: The correct solution depends on what you are actually trying to achieve. Indent the first line of something? Seperate things? etc.
[16:52]<lgxq00q>To seperate values :D
[16:52]<znysyj>sepArate
[16:52]<wg22gg>what sort of values?
[16:52]<mjzwzzm>LnX2002: Err. Could be a job for a table, but its hard to say without seeing the data.
[16:52]<rrgmd2rg>Doward: thought it ment a file called foo&bar.doc or something
[16:52]<wg22gg>is this a list? a table of data?
[16:52]<lgxq00q>I got 2 cols 1 for product 1 for price
[16:52]<mjzwzzm>candyban: No.
[16:52]<rrgmd2rg>Doward: k ... I'll fix it then ... thanks :o)
[16:52]<wg22gg>table
[16:53]<wg22gg>LnX2002, http://www.w3.org/TR/html401/struct/tables.html
[16:53]<mjzwzzm>LnX2002: That's a table then. <tr><th>Product<th>Price <tr><td>ACME rocket skates<td>$2.99
[16:53]<wg22gg>LnX2002, http://www.webaim.org/techniques/tables/
[16:53]<wg22gg>LnX2002: http://accessify.com/tools-and-wizards/accessibility-tools/table-builder/
[16:54]<lgxq00q>:D Thanks
[16:54]<wg22gg>np
[16:55]<znysyj>using tables inappropriately for the sake of teaching? :/ http://www.webaim.org/techniques/tables/
[16:56]<wg22gg>reisio: hmm, yes, but this http://www.webaim.org/techniques/tables/data.php
[16:56]<wg22gg>is a nice approachable presentation of how to markup a table with e.g. scope
[16:57]<znysyj>:)
[17:10]<frwey2>hi, I have a question: How can I set the default host for a link in HTML? For example if I have <a href="index.html"> and I save the HTML page to a local file, and click on it, I want it to go to http://somewhere/index.html. I think I've seen this somewhere but don't remember.
[17:10]<-- sk1ffz xrs fuyv (>www.FileRip.com - Download videos off youtube, myspace, google, putfile!")
[17:11]<mjzwzzm>Fawzib: <base>, but avoid it, its implemented a bit inconsistantly, especially when it comes to CSS. If you want an absolute URL, then use an absolute URL.
[17:12]<frwey2>cool, is just that some hacker added a redirect to a page I'm trying to see, so I want to save locally remove the <meta> tags and still use the site. Thanks for the help.
[17:17]<znysyj>Fawzib: if you just hit ESC a lot, it'll probably cancel out a meta redirect
[17:24]<frwey2>ok, I'll try that
[18:32]<gjfnrfyayjus>i wonder how i get internet explorer (like mozilla does already) to show the divs here on the bottom of the page: http://unfancy.ath.cx
[18:32]<gjfnrfyayjus>its all css and im cool if it only looks fine on mozilla; just curious if anyone knew a quick fix
[18:33]<mjzwzzm>nopealicious: JavaScript. IE 6 doesn't do position: fixed. (BTW pt units do not work well on screen, and 7pt is tiny. I strongly suggest you stick to 100% for body text)
[18:34]<gjfnrfyayjus>? like 100% instead of 7pt?
[18:34]<gjfnrfyayjus>i want at least px
[18:35]<gjfnrfyayjus>i want it to be tiny font
[18:35]<gjfnrfyayjus>no need to compensate for missing eyeglasses
[18:35]<gjfnrfyayjus>and you say i need javascript to keep the stuff on the bottom of the page if it is scrolled?
[18:35]<mjzwzzm>nopealicious: If you leave it at the user's default font size, then they get their preference. If there preference is to have largish text, then what's the harm?
[18:35]<znysyj>`ie fixedhack
[18:35]<rtfs>ie fixedhack: www.devnull.tagsoup.com/fixed/ , www.jessey.net/simon/articles/007.html
[18:35]<mjzwzzm>nopealicious: You need JS for that in MSIE. Well, there are other solutions, but they are insanely complicated.
[18:36]<gjfnrfyayjus>uhh :S
[18:36]<gjfnrfyayjus>hmm thanks RTFS
[18:36]<rrgmd2rg>Why can't I put an <ol> tag inside a <p> tag? ... I never understand why the validator is complaining about it ... does anyone have a reference to what is (not) allowed and more importantly ... why?
[18:38]<mjzwzzm>nopealicious: and if your preference is for tiny text then you can set that in your browser.
[18:38]<gjfnrfyayjus>Dorward, this page is not supposed to be a "dumb users choice"
[18:38]<znysyj>candyban: "The P element represents a paragraph. It cannot contain block-level elements (including P itself)." http://www.w3.org/TR/html401/struct/text.html#edef-P
[18:38]<gjfnrfyayjus>if someone is unable to press ctrl++ he can leave
[18:38]<gjfnrfyayjus>no problem
[18:38]<mjzwzzm>candyban: http://www.w3.org/TR/html4/struct/text.html#edef-P
[18:38]<wg22gg>candyban: consider it a bug in HTML if you like. You can in XHTML2 (current draft).
[18:38]<mjzwzzm>candyban: <!ELEMENT P - O (%inline;)* -- paragraph -->
[18:39]<wg22gg>candyban: there's also ludicrous bug with not being able to put a blockquote within a paragraph.
[18:39]<znysyj>you can in HTML, it's just not going to read as 'valid' according to the default DTD
[18:39]<mjzwzzm>candyban: Element P has a required start tag, an optional end tag and may contain any number of elements from the group "inline".
[18:39]<mjzwzzm>candyban: And the list elements are not members of said list
[18:39]<wg22gg>reisio: you mean you can in "tag soup", not HTML.
[18:40]<znysyj>you know what I mean
[18:40]<rrgmd2rg>Dorward: k ... but what is the reason for it? ... I don't understand
[18:40]<mjzwzzm>And when given tag soup, browsers try to error correct. Since every HTML spec says "<p> may not contain <ol>" it goes "Ah ha! The spec requires me to insert the implied </p> just before the list starts"
[18:41]<wg22gg>candyban: like i say, it's a bug - a crazy idea on the part of the spec writers
[18:41]<znysyj>candyban: well they didn't just arbitrarily say "no ol's in p's, because ol's are goofy!"
[18:41]<mjzwzzm>candyban: I wasn't involved in the decision making process, nor have I tried to find out what the HTML working group was thinking last decade. Its hard enough trying to figure out what they are thinking now. (Since they completely lost the plot after HTML 4.01 was released)
[18:41]<znysyj>it just fell into the broad block category and that's how it is
[18:41]<gjfnrfyayjus>yay it worked: http://unfancy.ath.cx
[18:41]<rrgmd2rg>webben: k :o)
[18:42]<wg22gg>reisio: they could easily have made it possible to include ol inside p, just like div inside div
[18:42]<gjfnrfyayjus>thanks again Dorward RTFS reisio :P
[18:42]<rrgmd2rg>It's just that I have a "weird" brain ... I can't remember anything, but if I understand, I know.
[18:42]<znysyj>webben: yes
[18:42]<znysyj>candyban: you don't really have to: http://validator.w3.org/
[18:43]<wg22gg>candyban: you need the connections :) I'm a bit like that too.
[18:43]<rrgmd2rg>reisio: it's harder to correct errors afterwards than to make it correct the first time
[18:44]<rrgmd2rg>well, at least it is for me ...
[18:44]<znysyj>candyban: so do it regularly _while_ you're making it
[18:46]<rrgmd2rg>reisio: I'm currently updating something (not written by myself) which does validate on anything ... I'm making it xhtml 1.0 transitional now ... but I always make errors (when writing xhtml 1.0 Strict or xhtml 1.1) with the block / inline element stuff
[18:46]<znysyj>candyban: probably don't want to be using XHTML 1.1 (or 1.0, for that matter)
[18:47]<axjlyg> is there a reason to put a blank xml:lang or lang attribute in an HTML tag?







