-
Posts
8791 -
Joined
-
Last visited
-
Days Won
28
Content Type
Profiles
Forums
Events
Everything posted by Sméagol
-
I've seen it enough for a while .
-
Yup, I was ready to expain everything if necessary, but at the time, I just wanted to get the code and the post done, and be done with it . I've added some explanation in comments in the original post. If you need to know more, just ask.
-
Damn. Finally.. I think I nailed it. Sorry for the late response, I was at it all night the day before yesterday, but I couldn't figure it out (I even went hardcore and referenced the W3 technical specification.. Box models, yay!). Then E3 happened, and yesterday I had other stuff on my mind. I was back at it this night though, and I think I got it. The thing is, the sticky footer Cube and Ten10 posted works fine, but it isn't catered to your code. It's hard implementing stuff in existing code like that. You can't simply copy/paste. Also, you probably used a template and/or IDE did you? This isn't the best way to learn.. Notepad is far more useful in the beginning. Anyway, your problems: 1] The major gap. It is gone. Did you do anything major to your code? I believe you didn't. You already mentioned it was Chrome specific.. And I tested this, and indeed, the gap didn't show up in every major other browser, including future versions of Chrome. So I think yesterday's update actually removed the bug, and the gap with it. 2] However, this bug accidentally led to a problem which wasn't technically visible to you, you also use the 1920*1080 resolution right? You want your footer at the bottom of the screen at all times, but in this resolution, this is always the case, because of that ridiculously huge picture at the top. But for those people with bigger screens, and when you don't have enough content on your screen, the footer won't be at the very bottom, but just at the end of your content. It is so strange that this is a huge problem in CSS, where it would be so easy to solve in a humble table layout. Anyway.. I hope I have the right code now (I've tried various stuff), but you need to follow these steps exactly. Anything you need to add or change is in red or orange, the rest is for reference, so you know where to add it. In your CSS file: html, body { margin: 0; padding: 0; background: url(windows.jpg); background-color: #010f3c; background-repeat: repeat-y; background-attachment: fixed; font-family: corbel, calibri, arial, verdana, sans-serif; [color="Red"]height: 100% ;[/color] [color="RoyalBlue"]/* This is a bit too technical to explain in a comment, but basically, you specify here that the body needs to occupy 100% of the screen. Seems a strange thing to specify, but it's technically needed because some other elements need this as a frame of reference later on. */[/color] } #main { margin: 0 auto [color="Orange"]-16px[/color]; width: 1220px; text-align: center; [color="RoyalBlue"]/* the negative margin is too make space for the footer (or the push to be precise), otherwise it will drop just below the screen */[/color] } #banner { width: 1000px; height: 564px; [color="Plum"]/* height: 50px ; */[/color] [color="RoyalBlue"]/* You already figured it out, but this is just for testing purposes, you can comment out the real height, and delete the comment marks on the 50px height, to see if the sticky footer works for you */[/color] float: center; [color="RoyalBlue"]/* By the way, this doesn't do anything. */[/color] } [color="Red"].wrapper { min-height: 100%; [color="RoyalBlue"]/* This tells the browser that the element with this class, your main div in this case, is at least as high as the (available!) screen. */[/color] height: auto !important; [color="RoyalBlue"]/* I dunno, what I did was copy the sticky footer Cube and Ten10 linked, and adjusted it to your code, but I dunno what this does exactly, except that it's there for compatibility reasons. */[/color] height: 100%; [color="RoyalBlue"]/* Same as above. These 2 can be deleted, and you shouldn't notice a difference in up-to-date browsers. */[/color] margin: 0 auto -16px; [color="RoyalBlue"]/* This is one of the things that had to be adjusted for your code.. Copied from the sticky footer, it places the negative margin here, but you already specified a margin within the #main selector, which overrides what's specified here. So I moved the negative margin to there. This last bit doesn't have a function anymore because it's specified above, so you can actually delete this. */[/color] }[/color] [color="Red"].push { height: [color="Orange"]16px[/color]; [color="RoyalBlue"]/* This is a bit of hidden space that makes sure the footer doesn't overlap with your content. Sort of like a placeoholder.*/[/color] }[/color] #footer { [color="Red"]height: [color="Orange"]16px[/color] ;[/color] [color="RoyalBlue"]/* Simply your preferred height for the footer. */[/color] width: 100%; clear: both; background-color: #262626; text-align: center; color: #808080; font-size: 0.7em ; [color="Red"]white-space: nowrap ;[/color] [color="RoyalBlue"]/* I added this bit to make sure the height stays the same even when someone resizes the window or views your site on small screens.. Variable heights will mess your footer up. */[/color] } The 3 values I marked in orange all 3 need to be the same. This is why I don't particularly like this solution, I would like the height to be variable, but you need to specify it for this solution, and in 3 places at the same time. I chose 16px, but you can change it, but if you do do it in pixel units. I came across another problem while trying to find the solution, and it took a while before I figured out it was something not directly related to it.. It seems that for some reason, if you specify the font-size in em units, this will affect the height of the element containing the text, if you have specified this in em units as well (and I assume with a different value). This is currently the case on your site. I'll have to research this, but for now it seems to work. I'll come back to the pinkish addition. In your HTML file: <div id="main" [color="Red"]class="wrapper"[/color]> [color="RoyalBlue"]<!-- Simply connecting your wrapper CSS to the main div -->[/color] [..] <div id="bodybottom"></div> [color="Red"]<div class="push"></div>[/color] [color="RoyalBlue"]<!-- This actually makes the hidden div that will “push†your footer -->[/color] </div> You can use the pink addition in the CSS file to test your site. Again, I thought you also used the full HD resolution (like me), so you won't be able to see it function, if you do use a larger screen, it should be visible right away. If not, you can comment out the real height of your banner, and use the 50px height to test if your footer sticks at the (exact) bottom. Let me know if it works. I assume it does.. I mean, I'm no expert myself, so this proved to be a good exercise, but I really, really don't want to see your footer again .
-
You shouldn't compare it to BG, Paj. You don't like sci-fi apart from BG? Anyway, after Angel, I was eagerly anticipating what Whedon would do next, and I was pretty shocked and disappointed when I learned he was going to do a sci-fi western show. “Those 2 can't mix..” I thought. But I bought the box for my brother as a present, and watched it anyway.. And I was pleasantly surprised to say the least. It just worked. Cast is great. The universe is very well conceived. The atmosphere can ve very gritty at times, in a horror / sci-fi / western way, but lighthearted at others. The only complaint you can have about this show is that it ends after 14 eps and a movie.
-
Leave him be.. For now. I want a part III as much as the next person, but I do think we should give it some considerable time before we plunge ourselves into massive epicness . There will be plenty of great mafia games in the meantime.
-
Well, but how far in advance did they know? The finale may not have been filmed at the time, but they need time to set things up properly for a series finale, as opposed to a season finale. I doubt they had the chance to. But you're right, and I've already said myself this is just how I feel about it. Dollhouse though, I've never actually seen, so I can't really comment on it. Perhaps its ending is (/feels) proper despite the circumstances.
-
But those details are important. This felt just like the ending of a season,
-
Yup, that's not what I call an ending. Not a proper one at least. This is a typical “Oh shit, show got cancelled” ending .
-
Remind me (in spoilers) what exactly happened in Angel last season / last couple of eps, because I can't remember a thing, there's only this lingering feeling of dissatisfaction.
-
Well, first reaction: “Buffy movie??? What? No! No Whedon == no Buffy.†But I guess it depends on what they're going to do. If it's a direct continuation of the series (and comics I guess, but I'm not familiar with those), I won't like it, and I doubt they'll get most of the old cast onboard. If it's a continuation of the old movie, I don't oppose it, but it's not likely to happen (or likely to succeed if it does). The best chance they have is with, well, a reboot. Complete new characters in the same universe from the series. Perhaps a guestappearance for Sarah Michelle Geller for some dramatic backstory, but everything else should be new. Anyway, I'm not interested in any option, only my opposition varies. Whedonverse? Love Buffy (TV series). Didn't like Angel, but can't remember why, apart from it being cancelled and having no ending (perhaps that's simply it). Absolutely love Firefly (and Serenity), which is quite a feat, considering my disregard for almost anything that's cancelled and doesn't have a proper ending. Never seen Dollhouse, as far as I know, it's never been broadcast here so far, doubt it'll ever will.
-
It does make sense. I would have been gone, but that's part of the game. You on the other hand, would have gotten a lot of attention, as people don't like vigilantes around these parts . And besides me you could perhaps have gotten some townies killed as well. But that's all hypothetical. We will never know what would've happened.
-
Would've been glad to take a hit for the team .
-
To nuance things from my last post, I, on my part, forget something I realised earlier.. You probably did expect more kills. So we can blame our loss solely on Dannyboy's and Donnut's passiveness .
-
No offense, but that's bad judgement on your part then.. Imagine we did have an extra recruit in this game. Peeps gets lynched, he's on his own. He still has to kill five people in order to win, I doubt anyone can survive 5 nights in a row on his own. Luck/strategy-wise the game wasn't biased to any side, so I assume this situation to be average.. The removing of limitation on Dohnut would have helped immensely, extra people getting killed would've helped our side too. Again, probably just an average situation, we got lucky with a couple of kills, and the hints we got (from Dannyboy and Fierce_Link) were appreciated. Our “deduction†of ReZ possibly having a key has more to do with luck, and we only guessed at the very end of the game. ReZ was more vocal than others. From our standpoint, it could easily have been someone else who was more important, but ReZ seemed more important because he was more vocal about himself. But this is irrelevant now, it's obvious the keys weren't a huge factor for us in our chance of winning, even if we did get them. I guess we could've done a bit more research, still, he was killed for his abilities, for us there was no telling how big of a threat he really was to us (or could have been later on), but he felt like a threat at that time, so I wouldn't call this particular decision a huge blunder. Well, you're exagerating a bit. I used my protect ability 6 times. And since I have been suspicious all game, then surely, the reasoning that, if I am not tracked or investigated properly before, the chances are only getting higher of that happening, is a logical one? And it also wasn't a matter of being tracked / investigated, but also simply a mention of someone missing something, which would put all the attention right back at me. The Ellmeister / Zell thing clearly showed that. You also forget I've used my protect ability “properly†twice. Anyway, it doesn't matter. It doesn't detract from the game's epicness, and my request for auto-sign-up stands .
-
But you should never consider the best-case scenario (or worst-case scenario for that matter). I stand by my opinion that even if we did recruited someone, 7 players would have a near impossible task of winning traditionally. But the fact that he trusted Peeps wasn't important to us. Our fear was that he may be able to catch Angus or something with his name-getting abilities, so in that regard, our decision was sound. Yes, that was stupid, still though, I'd have expected a bit more attention.. You must also realise.. We (or actually, everyone) don't know if we cause any PM's, and in which situations, and what they'll say. This also factored in at least my decisions. And the last thing wasn't my fault though .
-
In this case I scrap my previous comment about a well-balaced game . I doubt we could've won with so many players and just us 6 with just one potential extra member.. Eventually, they would've found out all of us, I'm pretty sure. Also, what did you find awful about our night targets? I think theye were pretty good, apart from my screw-ups. The kills were usually well chosen I think.
-
Epic, but gruelling Jonnas! Congrats town. I like to formally apologise to my teammates for screwing up from day 1! The keys were the.. Key to winning, as with such a large group, but with 1 normal mafia team, it would be impossible to win traditionally, so my blunder messed up out strategies immensely (but I realised this too late unfortunately.. In hindsight, I should have continued stealing right away). I reckon we had a very big chance of winning if I didn't screw up. Still, it was a very close game. If Zell didn't steal the keys, and Peeps had survived this day, he would have won. I guess that's a testament to Jonnas game-balancing skills . Auto-sign up for part III please.
-
Like I commented on the frontpage.. AC will always keep its charm, but I'm going to skip a generation, so the inevitable Wiiᶸ version will feel fresh again. I want some real new features, and even better online gameplay. And I want those lazy animals to help out with town, because I'm sick of removing the damn weeds.
-
Looks absolutely great! Makes me a bit sad I can't play Oblivion on my computer for some reason . I was just starting to get into it.. This looks miles better though. I can imagine booting this game up just to make a stroll through the forest.
-
Topical? The nuclear cucumbers.
-
Also: apart from WiiU: Really looking forward to the Zelda concerts now, and finally getting slightly hyped for Skyward sword.. Where can I find this Reggie live interview?
-
Aha. First of all, let me say, that I am hyped. Yes, I would've loved some more details and some more game announcements, but I'm loving it so far. I just don't get people getting confused or being irrational about some stuff. - It is a new console. My brother was confused, but I don't get how Nintendo fans here on the forum get confused who've been informed of every rumour so far.. I mean, it was more or less what we were expecting right? Shame on you for everyone who thought it was a Wii accessory. To me it was clear from the beginning, and yes, the emphasis was clearly on the controller (for good reason), but the console was in the background. It is HD. It's backwards compatible with anything Wii, so good for us who have 5 remotes and various other stuff. - The controller. It's like a classic controller, but with some of the remote capabilities, and of course the (touch)screen. (come on Daft, do you really expect an HD screen in a controller? This should not be much higher priced than a remote if they want this to succeed.. It is not a new / alternative handheld). Looking forward to see what they come up for this, but they don't have to go out of the way to invent gimmicky features for it. But it's obvious that has far more uses apart from gameplay. Really looking forward to it. Also, and this will probably depend on the game (and unknown technical limitations), but it is possible to not use a TV screen and play some games directly on the controller. So play an HD game on the TV, play an SD game on your controller, or use both. My only worry is the weight of this thing. I think it'll feel comfortable enough, thinking about it, my DS lite or DSi never game me trouble. This looks like it will feel somewhat like a wider DS, with an extra grip. Also.. They will undoubtedly get enough feedback on E3.. Enough time to make various adjustments before launch. - Come on, complaints about the name? I thought we were passed that. Yes, I also hated the name Wii all those many years ago, but I got over it. I thought all of us did. They only added a letter for fuck's sake. It's smart, they kept the Wii brand name. Again, would have loved some more technical details, and some substantial game announcements, but I am really looking forward to it.
-
I don't think we need any more entries after Cube, still: “Yes, I'm ready to harrass some Nintendo boothbabes.â€