@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13



Comments:

<0> the content does not move the container divs down due to their "floating" property.
<1> `float contain
<2> float contain: www.positioniseverything.net/easyclearing.html , www.quirksmode.org/css/clearing.html , www.complexspiral.com/publications/containing-floats/
<1> Eleaf, read that
<0> which one?
<0> ;p)
<3> Eleaf: http://www.w3.org/TR/html4/struct/text.html#edef-P
<4> Lol.
<1> Eleaf, the first one
<0> ;)
<1> Eleaf, any of them actually, use your imagination
<0> oh okayyy
<0> I do use the clear: property too
<0> but doesn't that get rid of the floating objects?
<0> if I use clear, it just makes all floating items go below each other kaneuneu
<1> read. teh. link.



<1> what is it with n00bs and being retarded?
<0> I read it...
<0> kaneuneu, and I don't understand it.
<0> What is it with you calling people "n00bs", that's just childish.
<0> you have to create a single div with no content?
<0> I was taught that was a very bad practice and I should never do that.
<1> you didn't make any indication of that you had read it or had understood it til just now
<0> yes, if I use clear, it just makes all floating elements go below each other...
<0> so do I create a single div? Again, I head this is bad practice.
<0> And was flamed for doing such on early designs.
<1> Eleaf, did you *try* what it suggests? did you create a test case yet? did you read it quickly once and slowly a second time? if no to any of the above, well then i'm not surprised you don't understand it
<0> yes I read it a few times.
<0> and so I'm asking you a question about it.
<1> Eleaf, in this case all that is required is the addition of one extra tag... in the grand scheme of things that's not horrible
<1> and even doc would probably agree with that and he's a stickler for the "no extra markup" rule
<1> Eleaf, the state of the browser market is such that we don't *have* the luxury of coding to full idealistic standards becuase those standards are in fact broken in browser implementations
<0> kaneuneu, okay. But I was here and I had an extra tag (with some formatting and spacing items) that had no content. And a bunch of people got mad at me and told me it was ruthless markup and I should never create empty div objects.
<1> Eleaf, you wanna take the less of two evils, in this case, float clearing is pretty standard and if someone flames you for it they're just lame
<0> ok
<1> of course like with anything, i'm sure you could overdo it
<1> Eleaf, i dunno if i'd seen your code i might have flamed you for it too
<1> but float clearing is standard and has a specific purpose
<0> oooh, cool.
<5> Eleaf you n00b
<5> :P
<0> cheater, you n0%abkakl
<5> huh? :/
<0> that's correct.
<5> ;?<<
<0> cheater, =P
<0> Is using negative margins frowned upon?
<0> I noticed whenever I used any negative margins, ie couldn't render them correctly.
<0> But they really do come in handy..
<6> Hi.
<7> styling with tables is sooooooooooooooooo easy, and styling with css is sooooooooooooooooooooo difficult :/
<8> I'm stuck with something which is probably very easy to solve :( But my title won't center. Can someone give me a hand ?
<7> h1#title { text-align: center; }
<8> Paste here : http://css.commctrl.com/20
<7> h#title { text-align: center; }
<7> er
<7> #title { text-align: center; }
<7> how do i get two tables to appear side-by-side with css?
<7> and please dont tell me to use a table to style it
<7> Azmodan: although your title should in an <h1> not a <p>
<8> Duh ! Stupid me. Thanks.
<8> Oops. Semantic error. Thanks.
<8> Thank you very much.
<7> how do i get two tables to appear side-by-side with css?
<7> http://75.14.215.170/foo.html <-- how do i get these to appear side-by-side?
<7> using "display: run-in;" on the first table doesn't work :/
<9> Place float: left; on the first table?
<9> If not, don't use tables... only use them for tabular content
<7> LEMONed: the problem with float:left; is that the 2nd table could be shorter than the first, and I need any text to display beneath both tables (and yes I only use tables to display tabular data, otherwise I wouldnt be asking how to style it)
<0> so is using negative margins bad?
<7> here is an updated example:
<7> http://75.14.215.170/foo.html
<0> lol
<7> I need the paragraph text to appear below the tables
<10> place clear: both; in it
<7> in the <p>?



<10> Yes
<7> ah cool thx, time to read up on "clear" :)
<7> `css clear
<2> css clear: http://w3.org/TR/CSS21/visuren.html#propdef-clear
<7> schweet, you guys rock, esp. you LEMONed :) thx again
<10> lol np
<0> seriously, is using negative margins okay?
<0> like if you have a div inside another div with padding, and you want something to go past the padding but dont' want to take it out of the div?
<0> This seems to work fine in firefox, but ie renders negative margins with a white background wherever the content expands ...
<5> get rid of the padding instead
<0> cheater, when there is no padding
<0> err..
<0> that doesn't make sense, i want 1 element inside to expand further than the other elements inside.
<0> while retaining the main div's padding.
<5> how about........ making another element those padded elements should be in?
<0> and besides, how do you make things get close to each other if you don't use negative margins cheater ?
<5> and put padding in THAT?
<0> cheater, makes more padding code
<0> lol
<5> um... by not using padding or margins.
<5> yeah
<5> but it's not a hack
<5> it's real code
<0> negative margins are real code..
<0> ie just doesn't know how to do it.. (like it doesn't know how to the other half of css2/1 correctly)
<5> have you ever seen anything in the real world with a negative margin?
<0> yes.
<0> digg.com uses negative margins.
<5> real world
<0> and I've looked through many popular sites through their css files, I often see negative margins.
<5> have you ever seen a document printed with a negative margin?
<0> if you want close very close to each other..
<0> yes.
<0> Such as typography, posters, etc.
<5> ok, i see you're more interested in what dumb people do than in what the good way to do things is. have fun.
<5> bull****
<0> it's not what dumb people do... It's art..
<5> the art of dumbety
<0> you seem very arguementive.
<5> yes
<5> :D
<0> It seems like you have a very closed perspective, not everybody does everything the same thing.
<5> look
<5> a margin is a margin
<5> check it in the dictionary
<0> yes.
<0> now how would you bring content closer to each other?
<5> a negative margin defeats the very definition of the word margin
<0> something has 0 padding , 0 margin, how do you bring them closer?
<5> what do you mean by closer?
<0> (almost overlapping, but not quite)
<5> if stuff has no padding and no margin, it's already flush
<0> no it's not.
<5> 0 pixeld space between those things
<0> It has natural padding for things like "j"
<0> there is about 5 pixels +- of space.
<5> well then you're doing something wrong
<0> cheater, try it yourself.
<5> "j" isn't a block element.
<0> h1 { padding:0; margin:0; }
<0> <h1> This is a test</h1> <h1>Hello there</h1>
<11> how can i put an div in the middle of the browser?! regardless with the scroll
<0> they are not "right up flush to each other".
<5> h1 isn't a block element, either, Eleaf.
<0> there is more than 1 pixel of space..
<0> I'm talking vertical space
<0> not inline
<5> Eleaf, you can't do this down to one pixel of precision because every user agent has a different font
<5> even if slightly different, the results will vary and you can't expect that to work
<0> okay, I just want them close together, or stylistic overlapping.
<5> if you want them overlapping, position them over eachother
<5> instead of abusing padding and margin for that
<0> Here's an example
<5> i have no idea who ever thought of using negative margins to move stuff around


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #css
or
Go to some related logs:

#sdl
removing gimp without removing ubuntu-desktop
mssql2005 express INSERT
#fedora
ubuntu alcor card reader
mysql flush buffer pool
activex for unix
#php
unRARit für ubuntu
scheduler noob anticipatory



Home  |  disclaimer  |  contact  |  submit quotes