@# 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 14 15



Comments:

<0> ratonn: is that a straight copy?
<1> any idea why i cannot get it under the content
<2> pretty much
<0> ratonn: you have no value for margin top
<2> ooops
<2> i do
<2> i was just typing
<0> ratonn: either link us, or paste it somewhere
<2> Flannel: k, using pastebin
<2> http://hashphp.org/pastebin.php?pid=7546
<3> cheney: I got it down to 23kb. Might even be able to get it further down with the original image.
<1> i got it down to 14k and it is still a jpg
<1> i used photoshop's save for web feature that i typically ignore
<3> cheney: jpg's are ugly for precise graphics
<0> ratonn: and the html?
<3> I bet your diagonal lines look bad now in that image



<2> http://hashphp.org/pastebin.php?pid=7547
<1> actually, no
<1> amazingly
<1> any idea how i can get the content text to overlap the title image?
<3> I would suggest not doing it :)
<3> imo you need more margins anyway
<3> both from the edge and from the menu
<1> k
<3> However, you coul use the same technique for the titl as we used on #top
<3> Then it should be changed back to a div though, and the content rmoved
<1> i starting to realize the solution is to move title to the bottom of the html
<0> ratonn: vertical-align: bottom; on the image
<3> cheney: no. Just do the same thing with #title as we did with #top.
<2> Flannel: nope, still breaks between the two divs
<0> ratonn: you're doing something else then.
<2> i checked my other css
<2> nothing interferes
<4> Flannel: he's probably not even using a doctype
<2> I am
<3> cheney: You should also look at optimizing the other jpgs. Especilly the top, background and menu bottom. Always find the smallest possible size that doesnt kill the quality
<0> ratonn: paste the output, the WHOLE page, not just snippets
<4> Flannel: he's probably not even using a proper doctype
<5> Is there a method to make a div go left of another div?
<4> he's probably using that idiotic box-sizing, too
<4> cds: float: left;
<5> reisio: That just takes it to teh left of the page?
<4> left of its parent
<5> The problem I'm having is, I'm trying to have a sidebar and a main content area.
<5> I want the sidebar right to the edge of the content, without having to use absolute values.
<6> How can I size an empty division block so that the background image which is of variable width and height is never cutoff?
<5> (So using percentages)
<0> pacal: you cant.
<6> Flannel: aawww, my least favorite words ;p
<0> pacal: you'll have to set the height/width on the div
<2> wow, pastebin is crawling
<6> Flannel: I guess I could use a bit of javascript to measure and size the div
<4> Flannel: of course you can
<0> reisio: do share.
<6> reisio: indeed!
<2> Flannel: http://erxz.com/pb/paste
<2> oops
<2> Flannel: http://erxz.com/pb/2118
<0> ratonn: your title needs to be inside your head, by the way
<4> pacal: you're talking about a background-image via CSS?
<0> reisio: yes
<2> Flannel: wow, didn't catch that
<0> ratonn: and, Your 'problem' is border collapsing
<0> ratonn: the margin on your h4 is collapsing with #container
<4> Flannel: I didn't ask you :p
<0> reisio: "How can I size an empty division block so that the background image which is of variable width and height is never cutoff?
<2> Flannel: do I just google that?
<0> So, background image, and this is #css ;)
<6> reisio: yeah
<3> cheney: When you get tired of mucking around like that, just do it like i told you :P
<4> Flannel: right, this is #css, where people don't usually know wtf they're talking about :p
<4> pacal: k, that'd be a royal pain in the butt :)
<4> pacal: on the upside, it's unlikely you have a good reason to want that
<1> Munter the reason i am mucking around is because i had to reposition the menu so that it is above the content area
<6> reisio: Its for a add-to-cart button which may vary depending ont he administrators preferences.
<1> that way the text links work with simple css as i have removed all the buttons
<4> like I said, no good reason :p



<3> cheney: yeah. just remove the position and z-index on the content
<0> `collapsedmargins # ratonn
<7> collapsedmargins: www.complexspiral.com/publications/uncollapsing-margins/
<1> oh
<6> reisio: do you have any constructive criticism?
<3> cheney: I came up with another idea. A better one. For the title
<4> pacal: yup, change the code so you can make it work
<6> reisio: clever
<4> isn't it
<0> pacal: set the width via PHP, since I imagine that's what this is for, you can use PHP to size the image, and write the 'preferences' to a css file
<0> or you could just write it in the head, whatever.
<4> why do you have to have a special image depending on the admin's prefs?
<2> Flannel: thanks a bunch... is there a way to views borders like in that illustration?
<6> Flannel: yeah, i figured as much-- thx
<0> ratonn: FF webdev does it, IE's sort of does
<6> reisio: not everyone want's their online shop to look the same
<0> ratonn: or: * border: 1px solid black;
<0> er, with the brackets even
<4> pacal: that'd be a good reason to use images
<4> doesn't make it a good reason to hardcode everything into one giant image
<6> who said anything about doing so?
<0> reisio: he wants them to be able to specify their own "proceed to checkout" image, of varying dimensions, depending on the site's theme, etc.
<4> if it's depending on a theme, then it wouldn't matter
<4> you can just have it specified per-theme
<6> I don't think he's paying attention
<1> Munter what is your idea for the title
<6> s'ok though
<1> i got everything positioned correctly now except for the menu in IE
<3> oh, let me see
<3> double margin float bug
<1> http://www.createdbycheney.com/testc/index.cfm
<3> you have a left margin on the menu
<3> dont
<1> k
<1> margin out
<1> its very strange
<3> you took #menu outside #top
<3> put it back in
<1> k
<1> sweet
<1> i think i can fix it from here
<5> So.. according to WCAG 1.0 all CSS attributes must be % or em..
<5> Does that count for body font?
<4> why wouldn't it
<1> WOOOOOOOOT Munter i think it is finished and perfect
<3> nearly :)
<5> reisio: thought em was relative?
<1> oh
<4> cds: so?
<5> Then if you don't define what the font size is.. what's it in relation to?
<5> (So if I want a small font for my page, do I need to set it as 0.9em?)
<0> cds: the browser defines the base font
<4> cds: ex is a bit nicer
<5> ex?
<3> cheney: The footer is still a bit ugly in your html. make some more effective selectors in your css so it gets readable
<4> cds: ex
<1> k
<5> What's that, then?
<5> How does it work?
<8> `css units
<7> css units: http://www.w3.org/TR/CSS21/syndata.html#value-def-length , http://www.w3.org/TR/CSS2/syndata.html#value-def-percentage
<5> Cheers
<4> cds: it ends up with less rounding problems than em
<9> fewer
<5> reisio: So.. will 1.2ex still be 120% of the size?
<8> See the CSS units link!
<1> Munter when you said the footer was messy did you mean the cl***="afooter" part?
<10> how do you make an element always stay at the very bottom of the page
<0> ludacrisp: fixed positioning, and bottom: 0;
<8> ludacrisp: Even when the amount of text exceeds the viewport?
<1> ludacrisp look at the footer part of my css file http://www.createdbycheney.com/testc/mystyle.css
<5> riczho: Yeah, I'm trying to understand it :)
<10> yes... i want my footer to always be on the screen.
<9> ludacrisp: the page or the window?


Name:

Comments:

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






Return to #css
or
Go to some related logs:

#fedora
thunderbird enter valid hostname
limewire + .deb
hl-dt-st please insert a disk 4167b
#sql
jackd control open (No such device)
elastisity of physics
#perl
cpkg install ubuntu
BIND startproc



Home  |  disclaimer  |  contact  |  submit quotes