« first day (901 days earlier)      last day (4040 days later) » 

11:00 PM
!!/tell kg help
bot broken again?
 
if i have a function and i want to change what this means inside of it, how do i do that? i think it is something like call(functionName, objectToBeThis)
 
hello :) back again lol
can you add padding to links with a background image? just curious
 
@eazimmerman functionName.call(objectToBeThis [,parameters])
 
okay thanks :D
 
11:02 PM
!!/tell eazimmerman mdn Function.call
stupid bot
@KirstyHarris why wouldn't you be able to?
 
im not sure, im trying everything in the book lol
 
do you have the background image centered?
 
well its like the image is like a certain size
its on the more button
on the right hand side
its not going any bigger that that, ive tried margin, padding lol
i just cant understand why lol Xd
 
It is only a certain height
and width
and you aren't repeating the background image
so the image is the fundamental maximum size it can be.
 
since Chrome is going <blink> does this mean each browser will have its own layout engine?
 
11:12 PM
You'd probably be better off setting the link to the dimensions you want and using line-height:<height of element>; to center vertically, and text-align: center; to center horizontally.
 
firefox: gecko, safari: webkit, ie: trident, chrome: blink
 
oh right ok
 
Anybody know why I would be getting this error? gist.github.com/Gacnt/e0ea429f9354a546f319
 
that makes sense
ok brilliant, thankyou again sweet
 
11:15 PM
ok so i did line-height on the a.... and it didnt move :S
 
display:inline-block;
 
oh shoot, not sure whats happened now lol!
the text has disappeared lol
 
because you have the line-height too high
 
oh lol
ok well i set it to 30
and i put text-align center
 
1) get rid of all padding on the link (in all states)
2) set the height of the link (30px seems appropriate)
3) set the line-height of the link (same as height, 30px)
4) set the width of the link (whatever you want)
5) add text-align:center
 
11:20 PM
ok, :) thankyou hunni
ok nope,... no worked
 
@AmaanCheval (and all other Brittney Spears fans) youtube.com/watch?v=F8XK0AZZlug
 
double check that you removed padding from all states.
 
i did, the only think i can think of its actually inside another Div that has padding?
so i could put padding at 0?
 
:visited and :link both have padding.
 
ah,...
what it is the div its in
had 5px top padding
and it was overidding it
althought it was inside its own div
 
11:23 PM
.latestpostsbox a:visited/link
 
yea
but its inside another one... as i need it somewhere :)
 
I generally prefer to avoid styling against visited/link altogether.
 
its not my choice i would have scrapped this beggar
doing my nut in lol
 
well styling against link isn't generally necessary.
 
its because they want it to do this, there is probably a damn site quicker way
 
11:25 PM
it allows you to style <a></a> and <a href="..."></a> separately.
 
if all of your anchor tags have an href, the :link specifier is pointless.
and only serves to kludge up the css
 
oh right ok
i didnt know that
but thanks, its amazing what u learn
 
w3.org is a great reference, even if their documentation seems overwhelming.
 
oh right ok, i may need to nip over
whats even more frustrating is the amount of stuff i just dont thinks possible!
plus the sheer load time of this site with the graphics is overwhelming!
 
11:29 PM
the background image is totally unnecessary. You should suggest removing it to improve performance.
 
its what a customers asked for
the thing is this has been designed by someone else
ive just been asked to convert it to wordpress
i know the load time of this site is going to be shocking ive told this
 
it's 1.23MB... that's awful...
at least convert it to jpg, and compress it a bit.
 
whats that? how much has to load?
from png?
 
yeah
that's the file size
 
ok, will do, thanks for that,
 
11:31 PM
of just the background image
 
sugar!
its like they want border radius on all the boxes, and im like ok, then its viewed in IE and shes like oh it liooks odd, then i know it cant be done in some versions of IE... but its not seen as that
plus that box is a featured image from wordpress, so i would have to apply a border radius to the image for it to fit,... which im not sure u can actual do in WP
 
I gotta run
seeya
 
thanks again sweet
 
I'm gonna murder somebody if the next node related thing I google comes back with Express attached to it
 
express is great and does all things
it's like the jquery of node
 
11:40 PM
@XCritics haha whats wrong with express?
 
I'm just trying to learn Node without express, then I'll use express after I know what's going on behind the framework, I'm just trying to google how to use mongodb with node, but EVERYthing uses express mongodb and node so annoyinnnggg
 
ohhh
That shouldn't really need routing and all that nonsense anyway
 
I just want to make a simple login/register page
 
11:52 PM
@XCritics I've just recently been learning node too, but you can use the http module to create you own routing type of thing... nodejs.org/api/http.html#http_message_url
 
I'm alright with the routing, thanks :) you can see what I've got done here, github.com/Gacnt/Node-Tests
 
oh ok, you probably know more than I do then
 
anyone have a good dark theme for n++
?
I use Twilight right now but am looking for something more suited for js.
 
You're beautifull, you're beautifull it's true
 
n++ is evil you shouldn't use it
it kills babies
and then eats them
without sauce
 
11:56 PM
you seem to have n++ confused with Zirak
 
unless you don't like babies....
 
oh you're right i get them mixed up all the time
 

« first day (901 days earlier)      last day (4040 days later) »