treehouse : what would you like to learn today?
Web Design Web Development iOS Development

cpj238

  • CSS Noise

    This would be totally awesome if it could be done in CSS, but I guess for now we have to stick with body:before PNG overlay. lol
    Comment by cpj238 May 2011 permalink
  • CSS Sprite - 3 states desired - enabled, hover, and current

    http://www.smushit.com/ysmush.it/
    Comment by cpj238 May 2011 permalink
  • CSS Sprite - 3 states desired - enabled, hover, and current

    https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js">
    Comment by cpj238 May 2011 permalink
  • CSS Sprite - 3 states desired - enabled, hover, and current

    I think she wants the "Enabled" to be 'currently selected'...? So a highlighted link to indicate that they're on that particular page. (different color than the rest, even when the mouse goes away). a:active is on mouse pr…
    Comment by cpj238 May 2011 permalink
  • vertical dotted line between two divs

    A quick and easy solution to this is to put the border on the #links instead of the #content That or set a min-height on the #content so it's always by default as long as you want it to be :) ~ Chris
    Comment by cpj238 March 2011 permalink
  • CSS-only horizontally equidistant images

    Usually the best way to have this work is to make all the images the same width through CSS - a default if you will, then simply add margin: 0 auto; to center them horizontally. Leave the height as the only variable. I know you said in #2 above th…
    Comment by cpj238 March 2011 permalink
  • Easter Eggs

    On our companies Job Task System, I added the konomi code script to fire a $500 bill with my boss on it from the bottom right of the browser that slides to the left and out of the screens view :) My boss stumbled upon it on accident in IE7 (it show…
    Comment by cpj238 March 2011 permalink
  • Swap background on hover

    Let me first say this...You have way way way too many different ID's. this jquery trick should work. notice all the friggen IDs??? lol you don't need a different ID per page to have specific things happen, just use CSS... anywho, i wrote…
    Comment by cpj238 December 2010 permalink
  • Body font-size: 100% reset

    Agreed, having two is bad practice, but I have some questions pertaining font size: What's better, body{font-size:65%;} or body{font-size:12px;} I've seen it both ways, is it just up to preference? In some resets I see: h1,h2,h3,h4,h5,h…
    Comment by cpj238 December 2010 permalink
  • Testing site on iPhone

    You can download the iphone SDK, it's a dmg install, so you would have to have a OSX operating system, here's the link: http://developer.apple.com/devcenter/ios/index.action You can use VMware or VirtualBox if you have an install of OSX t…
    Comment by cpj238 December 2010 permalink
  • Spacing Issue With CSS Unordered List Menu - A little help?

    When #topordertab was floated right it still retained the stacking order of being on the left, so the space of its height was left behind. When you make it absolute it "picks it up" and places it in the appropriate spot. Glad I could help…
    Comment by cpj238 December 2010 permalink
  • IF statements vs Switch statements

    Ditto @jamy_za If you're picky, here are some differences that I see: The first one has 134 characters, and the second has 154. The second one is more legible to me than the first, though it's only preference. If I were to decide on wh…
    Comment by cpj238 December 2010 permalink
  • Two Column text flow

    You can do this with CSS3 pretty easily with vendor prefixes for modern browsers...but as far as IE6/7/8/9 are concerned...well you're out of luck with CSS3. #magazine { -moz-column-count: 2; -moz-column-gap: 20px; -webkit-column-count: 2; …
    Comment by cpj238 December 2010 permalink
  • Spacing Issue With CSS Unordered List Menu - A little help?

    Try this: #topordertab { position: absolute; right: 0; top: -16px; }
    Comment by cpj238 December 2010 permalink
  • Can someone please tell me how they do this?

    Looks like to me that they have a cut out, and just overlay it on top of the rectangle image, and it "appears" wrapped when it is smooshed into one image. We do something close to that here in ColdFusion, so my guess is they are using PHP …
    Comment by cpj238 December 2010 permalink
  • Less.js

    I use it a lot, but only for development / cut up. Save both template.css and template.less in my /stylesheets/ directory so that if I need to change something later, i have all the variables set up, I only do this because of my work place and the p…
    Comment by cpj238 December 2010 permalink
  • jQuery - Menu Slide to Right

    I think you simply have way to much going on in your Jquery and CSS. I have created a simplified version for you here: http://cjohnson8.icnd.net/test.html username/pass: IC2010nd Right click view source to get the code. Hope this helps you :) …
    Comment by cpj238 December 2010 permalink
  • New CSS Grid System Using LESS

    Thank you :) I am working on version 1.2 right now, it's going to be more like 1kb grid with the ability to nest, right now it's not intelligently nesting grid elements. Follow me on twitter for the latest updates: http://twitter.com/TheCS…
    Comment by cpj238 December 2010 permalink
  • New CSS-Tricks

    @almcrorie - checked out this new layout in IETester which has IE8/7/6 and here is what I found. IE8 - Looks fine, degrades nicely, width is fine IE7 - Header and side bar are there, but the content area is a skew and the footer wraps up. IE6 - Hea…
    Comment by cpj238 December 2010 permalink
  • New CSS-Tricks

    Ah yes, very cool. Does this forum have the ability to show you who is viewing the topic you are reading? If so that would be something cool to put as the footer of the forums, kind of what like phpbb does; eg: cpj238, chriscoyier, and guest are vie…
    Comment by cpj238 December 2010 permalink
  • New CSS-Tricks

    Hey Chris Coyier! Love the new look, but how cool would it be if you added some media queries for this layout for those people with smaller or bigger resolutions, kind of like what abduzeedo is doing. On another note, no footer when on the forum? S…
    Comment by cpj238 December 2010 permalink
  • New CSS Grid System Using LESS

    whoa, said 3 new by [Deleted User] guess he was spamming this post, lol
    Comment by cpj238 December 2010 permalink
  • New CSS Grid System Using LESS

    LOL GIRD hahahahaha ty for the compliment and the typo find. I am currently modifying this grid to include nesting. Something I overlooked. ~ Chris
    Comment by cpj238 November 2010 permalink
  • New CSS Grid System Using LESS

    I just saw the message you got. I refreshed like a fiend for about 10 seconds and it came up, lmao. Guess that is what you get for free hosting, hahah
    Comment by cpj238 November 2010 permalink
  • New CSS Grid System Using LESS

    It is?? Try it again, works for me :) http://less-griddy.webatu.com/
    Comment by cpj238 November 2010 permalink
  • [Solved] Tricky :nth-child question

    :nth-last-child(2) is smart, but with all :nth-childs they're not supported in IE, so using JQuery with :nth-last-child(2) would be the best overall solution, if you are concerned with cross browser support. I'll definitely remember this …
    Comment by cpj238 November 2010 permalink
  • Using Float vs. Margin for columns. Which is preferred and why

    From my experiences, using margin will result in broken layout headaches within IE6/7/8, especially when IE likes to double left margin. If you are someone new to CSS I suggest you get use to using floated elements as they will benefit you more dow…
    Comment by cpj238 October 2010 permalink
  • windows xp + ie6 long live to 2020 - bad news for webdevelop

    In my day to day I try to support IE6, 70% is huge when you read that article, of businesses that use XP still... IE6 is just terrible (charles barkley voice) Having a sweet reset usually addresses a lot of the issues with IE6 understanding of CSS…
    Comment by cpj238 July 2010 permalink
  • Review my latest

    Hey soap, I've seen ya around the board, good suggestions for other people, so I thought I'd give ya some input on this one :) Drop Down Menu, add text-align:center; to .menu_body - this will keep consistency with your buttons Drop Down …
    Comment by cpj238 September 2009 permalink
  • Need Opinions for Mock Up Site's

    This one went live!!! http://islandbreezeclothing.com/ Haha, sweetness.
    Comment by cpj238 August 2009 permalink