| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Comments:
<0> Flannel: in mozilla i see the IE behavior <1> how do you make it so a div will stretch to fit not only the text, but the images also <1> currently, the images go past the div border <2> npodges: you're floating the images? <1> yes <2> `float contain <3> float contain: www.positioniseverything.net/easyclearing.html , www.quirksmode.org/css/clearing.html , www.complexspiral.com/publications/containing-floats/ <0> npodges: put <br style="clear:both" /> at the end <1> thanks! <4> npodges: To avoid extra markup, use overflow: auto; on the div. <5> riczho :) <4> Hi! <6> npodges: listen to riczho. putting the <br> will add extra line breaks where you don't need them <1> okay, that's the method i used <1> thanks, riczho <7> Hmm, given a form with <label/><input type="text"/><label/><input type="text"/>, if I want to display the two inputs on same line, what is the recommended way to do so?
<4> What about the labels? <7> Err, <label for="id1"><input id="id1" type="text"/>; should stay left of the related inputs. <8> so you want one line: [label][input][label][input] <7> yes <8> that'd be 'float' <8> `css float @ nonix4 <3> nonix4, css float: http://www.w3.org/TR/CSS21/visuren.html#propdef-float <4> Float them left. <4> Personally, I usually enclose each <label>/<input> with a div, and float that left. <7> Hmm, need to clear after them then? <2> wait, wait. Why are we floating them? both label and input are inline. They should be on the same line to begin with <4> Awww.. I find floats more manageable. <4> Especially when I need to set widths to make them line up with something else later. <7> riczho: Hmm, putting label+input pairs within a div keeps them next to each other even if we resize the window to something tiny? <5> r0xoR1z3 <5> riczho, what's the HR thickness property? <4> nonix4: Well, in floating those, I'd also set a width, so resizing the window shouldn't be that much of a problem. <8> Daveman: thickness? <8> Daveman: how about 'height' :p <5> nah <8> oh you were asking :p <5> I was :p <5> but that's not it :) <5> I meant as in fill properties, I suppose - I'm clearly not going to exert the effort to look it up :) <9> can you guys comment on my site <9> ugly, really ugly, not so ugly, etc.. <4> Ooooh. <5> o.O <8> Daveman: fill? <8> background <5> oi <8> mish4: how about invisible? <9> hold up <9> http://www.personal.psu.edu/mqb5000/css/index.html <9> sorry. <9> lol <5> gee, way to use common sense there, reisio :p <5> haha thanks though :P <5> mesa so stupid <5> I've tried to avoid as much webdev as possible over the past months :) <9> opinions? <4> mish4: Use a strict DOCTYPE! <4> `doctype html <3> doctype html: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <5> doctype=daveman :o <5> reisio, tell me how to use spans in a sane manner of fashion? <4> mish4: You have a non-closed " <9> im asking about how it looks <9> lol <8> Daveman: <span></span> <4> Awww.. I like commenting on code.. <4> mish4: Well, this affects how it'll look to search engines, etc: use image replacement on a <h1>. <4> And use a list for that navigation! <9> i did <4> Not in the link that you gave. <9> wait no i didnt <6> rofl <9> any advantage of list? <4> Because it's a list of links? <4> And text browsers will see it right.
<10> And search engines will be happier <6> and all the girls like it <9> will girls date me. cause i have good code? <11> sure <9> wow. who knew css was so powerful! <6> that promise comes with no money-back guarantee <10> Chick dig lists <10> *chicks <6> and then you can make a list of all the chicks you've got with <6> it's circular <10> Chicks love making out with other chicks in front of me, IMO. <6> in your opinion? lol <11> yes but your CRT/LCD doesn't count Nanobot <5> reisio, gee, thanks :p <5> Nanobot: Correction, chicks dig ol :P <8> Daveman: :) <5> :) <5> dude you can totally ol your closet, AND your wardrobe! <5> see <5> :p <5> in any case <8> :) <5> now to just make this webpage real quick <5> tables ftw! <5> :D <8> ! :p <5> :p <10> I've rewritten the backend for Web Devout, added a bunch of new sections, and it'll all go live once I finish the new main attraction. <10> Which will happen in the year 20XX <9> hey i have a question <9> if i have a main div, that is specified in pixels <9> and then i use percentages to size my other divs within that. then my div will always be based on that original div size. <9> the problem with this is, for people who use smaller resolutions then i do, it will cause the site to scroll <9> is there a way to make a div a percentage of their viewing window instead of a set pixel #. <10> Yeah, give your main div a percentage width <9> i mean height <9> if i do height: 100%; it doesnt work <9> it makes it only as big as the content <9> inside <10> Give your body and html elements 100% height also <9> so like html { height: 100%; } ? <9> and same for body? <10> Yeah <9> if this works <9> you are the man. <9> squared. <10> Men cannot multiply with other men <0> problems on FF now: http://wqme.layla.chrishowie.com/ <10> Unless you do some artificial insemination stuff <0> the links at the top of the list don't work <0> presumably the content div is "on top" of them <0> but z-index deos not appear to help <0> does* <10> SerajewelKS: Give it position:relative; z-index:1 <0> works in IE though <10> z-index doesn't work unless it has a non-static position <0> Nanobot: oh, ok. didn't know that <0> Nanobot: simple... did the trick, thanks <10> np <12> !v http://www.burgteichschule-zittau.de/ <13> HTML: Not valid - Errors: 318, http://validator.w3.org/check?uri=http://www.burgteichschule-zittau.de/ <13> CSS: Valid - http://jigsaw.w3.org/css-validator/validator?uri=http://www.burgteichschule-zittau.de/ <14> any idea why my text decorations in the menu only work in IE? <14> http://www.createdbycheney.com/testc/mystyle.css <2> cheney: which decorations? <14> the #menu a:link and so forth <14> no of those lines in my css file seem to be happening in FF <9> hey nanobot <2> cheney: becuase your paragraph is overtop of your links <9> i have a feeling ie: doesnt like my html { height: 100%} and body { height: 100%} <9> cause in firefox my site looks contained, but in ie: i have to scroll <9> and there is no reason i should have to scroll, if all my divs are %'s
Return to
#css or Go to some related
logs:
#gentoo xscreensaver entrance enlightenment dapper win32codec gentoo mplayer cd player hp5610xi linux Permission denied: make_sock: could not bind Unable_to_chdir_to_maildir._(#4.2.1) Gnokii itegno #lisp #bash
|
|