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.77 MB
Powered by
Channel Info
Network: freenodeChannel: #html |
Search in www.irclog.org
Log from #html at freenode 2006-07-10
[00:38]<suv9w9> is acceptable to skip any file path if you mean the same file? for example <form action="" .. > or <a href="?hello=world"> ..
[00:52]<tdryog-mx-ytalya>champions of the world :D
[01:04]<mz-mznw>we're also the most well hung breed of human in the world
[01:57]<szdnz>is it possible to have multiline titles? in title="" attributes .. and how
[01:59]<a2yzmarrnf>whats the proper way to have TFS tell me the links to the pages that teach html
[01:59]<a2yzmarrnf>sorry RTFS
[02:01]<cjddzgdlzjdlv>`schools @ jbirdAngel
[02:01]<rtfs>jbirdAngel, schools: Explore the intricacies of HTML and CSS here: www.blooberry.com/ , www.htmlhelp.com/ , http://css-discuss.incutio.com/ , www.brainjar.com/ , www.htmldog.com/ , http://css.maxdesign.com.au/
[02:01]<a2yzmarrnf>CommandPrompt: thanks
[02:16]<sljzc2jd2>How do I get the base from an input tag of a type file? Firefox and Opera do what I need and just trim off the file name, IE takes the entire path.
[02:16]<sljzc2jd2>I apologize for the comma splice...
[02:20]<cjddzgdlzjdlv>.
[02:20]<cjddzgdlzjdlv>sporkbomb: well, what do you mean by 'base'?
[02:22]<sljzc2jd2>CommandPrompt: as in the path to the directory that contains a specific file.
[02:27]<cjddzgdlzjdlv>sporkbomb: give it a regex methinks
[02:29]<nmrd>Hi, if I include a form on my page how can I make the cursor blink in one of the input boxes so when the user enters some data it would go there?
[02:30]<cjddzgdlzjdlv>edgy: document.YOURFORMNAME.YOURINPUTNAME.focus()
[02:31]<nmrd>CommandPrompt: is this java script?
[02:34]<nmrd>CommandPrompt: ok thanks for the info
[02:37]<cjddzgdlzjdlv>yes
[02:37]<cjddzgdlzjdlv>is js
[02:46]<jvyajg7>Currently using left: expression(elem.offsetWidth - 10 + "px"); but this is only supported by IE. Is there a universal way I can do something similar (base 'left' on a variable rather than a constant)?
[02:47]<znysyj>you want to do what?
[02:48]<jvyajg7>I have a div, floating on the left (sidebar). Its width is defined by the widest element in it. This works fine. I want all the space to the right of it to be taken up by a second div.
[02:50]<jvyajg7>The actual expression -- width: expression((document.body.offsetWidth - document.getElementById('sidebar').offsetWidth - 5) + "px");
[02:52]<cjddzgdlzjdlv>.
[02:52]<cjddzgdlzjdlv>oticon6: why is the 2nd div not taking the rest?
[02:52]<cjddzgdlzjdlv>is it floated?
[02:53]<jvyajg7>It is floated, yes. If I don't float, it ignores the sidebar div and margins and takes up the entire width of the window. If it is floated it takes the smallest space possible, which I don't want it to do
[02:54]<jvyajg7>Also, FF is a bit funny when you have a div floating left and a div floating right. IE will wrap the text, but FF will keep stretching the div and move it below the sidebar unless I give it a max-width
[02:57]<znysyj>oticon6: if you float the first left and give the second a margin-left, it should be fine
[02:58]<jvyajg7>Reisio: How do I give it the margin-left though? It would still be dynamic, as the content of the sidebar changes
[02:58]<znysyj>oticon6: ah
[02:58]<znysyj>oticon6: you might want to look into display: -moz-inline-box; display: inline-block; display: table;, etc.
[02:59]<jvyajg7>Reisio: Ok. I've gotta go, thanks for your help.
[03:01]<znysyj>peace
[03:19]<cmmn>How do you center an image besides using <center> tags?
[03:24]<znysyj>`center @ Cyde
[03:24]<rtfs>Cyde, center: http://dorward.me.uk/www/centre/
[03:24]<eyaexj>YEEAAAHHH!! RTFS IS BACK!!!!
[03:25]<znysyj>:)
[03:26]<cmmn>Is <div> a block level container?
[03:26]<cmmn>If it isn't, what kind of block level container should I put an image in?
[03:26]<cmmn>(To center it)
[03:26]<eyaexj>Yes, a div is block.
[03:27]<eyaexj>And you can set img { display: block; } anyway.
[03:27]<cmmn>So why isn't it working :-(
[03:27]<eyaexj>img { display: block; width: 100px; margin: 0 auto; } should work.
[03:27]<eyaexj>Where 100px is replaced by the width of the image.
[03:28]<znysyj>Cyde: what's the image for?
[03:28]<cmmn>reisio: It's just the site logo, I'm trying to display it at the top of the page, centered.
[03:28]<eyaexj>Ooooh!
[03:28]<eyaexj>`ir
[03:28]<rtfs>ir: www.mezzoblue.com/tests/revised-image-replacement/
[03:29]<eyaexj>Use image replacement!
[03:29]<znysyj>I'd use image replacement
[03:29]<znysyj>some folks like to keep the logo an img, though, dunno why
[03:31]<cmmn>What's so good about image replacement?
[03:32]<eyaexj>That non-image browsers and screen readers, search engine robots, etc. see the text.
[03:32]<eyaexj>Which is what you're really trying to get across.
[03:32]<cmmn>And it will let me center the image correctly?
[03:33]<eyaexj>Sure.
[03:33]<znysyj>the point is that images should pretty much only be embedded via the 'img' element if they're meant to be scrutinized - like art or photos of people
[03:33]<eyaexj>As in, if they're part of the content.
[03:33]<cmmn>So why might Joomla do it with just <img> tags?
[03:34]<cmmn>There's quite a few image replacement methods there, I don't know which to choose.
[03:35]<eyaexj>Ooooh.. Joomla.
[03:35]<nnwn_lrsvn>"Cyde" at 66.180.175.30 pasted "Trying to center an image" (3 lines) at http://erxz.com/pb/1990
[03:35]<cmmn>Anyone know why that isn't centering the image properly?
[03:35]<eyaexj>I've seen their site/CMS more than I'd care to, and honestly, their XHTML/CSS suck.
[03:35]<eyaexj>Really really badly.
[03:35]<eyaexj>It doesn't even validate in its default setting.
[03:36]<eyaexj>!v http://www.joomla.org/
[03:36]<rtfs>HTML: Not valid - Errors: 9, http://validator.w3.org/check?uri=http://www.joomla.org/
[03:36]<rtfs>CSS: Valid - http://jigsaw.w3.org/css-validator/validator?uri=http://www.joomla.org/
[03:36]<eyaexj>So.. there's the answer-> because Joomla's HTML sucks.
[03:36]<eyaexj>`html style @ riczho
[03:36]<rtfs>riczho, html style: http://www.w3.org/TR/html401/present/styles.html#adef-style
[03:37]<eyaexj>Ooooh.. they have a style tag in a table!
[03:37]<eyaexj>And naturally, that table isn't tabular data.
[03:37]<eyaexj>Ooooh.. <div id="whitebox"> excellent!
[03:38]<eyaexj>(end anti-joomla rant)
[03:38]<cmmn>Sooo ... is the code that I pasted correct for centering an image?
[03:38]<znysyj>more realistically: <table><tr><td></td></tr></tbody></div><table class="table"><td><p><div class="table"></div></p></tr></table>
[03:39]<eyaexj>Heh.
[03:39]<znysyj>Cyde: that should work all by itself
[03:39]<znysyj>Cyde: if it's not, you must have more code that's interfering
[03:39]<znysyj>Cyde: btw don't use 'br' :p
[03:40]<cmmn><br /> ?
[03:40]<eyaexj>top-bottom -> Not a good identifier-- has nothing to do with the content.
[03:40]<eyaexj><br> says nothing about content-- it's purely presentational.
[03:40]<eyaexj>Along with <font>, <b>, <i>, <u>, etc.
[03:40]<cmmn>So what do you use besides <br> ?
[03:40]<eyaexj>Margins, paddings, CSS in general.
[04:40]<mld>hi guys
[04:42]<znysyj>hi
[04:45]<eyaexj>Hi!
[04:47]<mld>I have a question coming up
[04:47]<mld>but before I ask, I have to make the page valid
[04:47]<znysyj>dpy: you're my friend, then :p







