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

daGUY

  • Link Styling

    Two ways you can do this. One way is to set up a default style for all links, and then when you want different styles for certain links, assign them a specific class: a { color: #666; text-decoration: underline; } a.different { color: #999; text-…
    Comment by daGUY March 2009 permalink
  • Menu doesn't position correctly in IE6 (problems fixed)

    I think because your menu's made from a , IE's applying a default margin to it. Set all the margins to zero (right now you just have margin-top: 0): ul#menu { margin: 0; } That should do it. Also, in your sample code you have the styles…
    Comment by daGUY March 2009 permalink
  • Opening a thickbox via onclick?

    "davesgonebananas" said:tb_init should be called when the page loads so in your code it would be $(document).ready(function() { tb_init('table#test td'); }); That would make any td inside the table with id test a thickbox t…
    Comment by daGUY February 2009 permalink
  • Opening a thickbox via onclick?

    "davesgonebananas" said:Try calling tb_init('#mytable td'); Worth a try eh? mytable is the id of your table btw. Hmm...I tried this, just to see what would happen: Cell Content The page dims and the thickbox progress bar pops…
    Comment by daGUY February 2009 permalink
  • Noob needs help battling IE

    It's hard to recommend fixes without knowing what problems you're actually having... That said, as a general recommendation, make sure your code is valid. If it is, then when you encounter an issue in IE you can be sure it's because …
    Comment by daGUY January 2009 permalink
  • W3C is outputting errors in my CSS3

    Properties that start with a hyphen (like -moz-opacity) are browser-specific extensions. Each browser has their own: -moz- is Mozilla/Firefox -webkit- is WebKit/Safari -ms- is IE8 -o- is Opera etc. These are basically put in place by the browser v…
    Comment by daGUY January 2009 permalink
  • Testing IE on Mac

    http://www.kronenberg.org/ies4osx/ Run IE6 natively on OS X. Windows not required! It kills me that I can't do this on my PowerPC Mac...:lol:
    Comment by daGUY January 2009 permalink
  • Bizarre IE6 layering bug

    I figured out that if I remove "position: relative" from the 's that make up the menu, it fixes it...but of course that screws up other stuff. And that still doesn't explain why merely refreshing the page changes the appearance...
    Comment by daGUY January 2009 permalink
  • Stupid basic CSS issues

    "nicholasgomez" said:Isn't the purpose of multiple style sheets for things like "screen" "media" or "print"? Just curious or is there another scenario that would be a good reason to have multiple style s…
    Comment by daGUY January 2009 permalink
  • Refreshed portfolio site

    Thanks for the comments everyone :) @TheDoc/HJ05 - I prefer white for the content area. I find anything outside of grayscale looks a bit jarring for large areas of the page - that's why I use dark grey for the background and white for the cont…
    Comment by daGUY December 2008 permalink
  • Hover effects not applying in IE8

    I suspect it is because the li.root:hover is no longer really being "hovered" when the drop down link is being selected, so this selector never really gets used. To follow up on this - if I change the link color in the original selector, …
    Comment by daGUY December 2008 permalink
  • Hover effects not applying in IE8

    I actually talked to someone from Microsoft and they said Compatibility View should render things exactly like IE7: Compatibility View should render sites as they rendered in IE7. The only exception would be cases where a breaking security change …
    Comment by daGUY December 2008 permalink
  • Hover effects not applying in IE8

    I suspect it is because the li.root:hover is no longer really being "hovered" when the drop down link is being selected, so this selector never really gets used. That's exactly what I thought too. It would make sense, because as it t…
    Comment by daGUY December 2008 permalink
  • Position: absolute Problem

    Nothing to add (Chris already answered the question), but I like the concept of a sticker for the RSS feed :lol: And the design looks very nice (from what little of it I can see in the screenshot).
    Comment by daGUY December 2008 permalink
  • csshover in ie6 (solved)

    I've had trouble getting csshover.htc to work in the past. Here's an alternative method I recently used: First, create an IE6-only stylesheet and link to it in your : In that stylesheet, add a selector like this, which contains any non…
    Comment by daGUY December 2008 permalink
  • Stupid basic CSS issues

    Then I wanted to see what would happen if I had two style sheets, I wanted two sets of rules for the body text and a sub menu, it didn't work and the text went to default. my teacher said, you can't do that... Unless I'm misunderstan…
    Comment by daGUY December 2008 permalink
  • Mac programs for developers?

    Well, the Mac obviously has Photoshop and Dreamweaver if you want to keep using those. Pixelmator is a very good Photoshop alternative - not quite as powerful, but FAR cheaper (I think only $60 or so?) and it integrates with OS X much better. For s…
    Comment by daGUY December 2008 permalink
  • PNG fix without javascript ?

    "jitendra" said:i need a W3C valid and non-javascript solution for making Transpatent PNG to work in IE 6. so user can see transparency if javascript is disable. There is none. Your only options to get real transparency working in IE6 are…
    Comment by daGUY December 2008 permalink
  • Beginner JavaScript help

    Ah, cool. That's what I really wanted to do - say "near" for one entire set of days and "opposite" for the other (rather than having to repeat everything for every day). By the way, no need to wait till tomorrow - just chan…
    Comment by daGUY December 2008 permalink
  • Coding types and Whys?

    1- When some times when I code, I code BUT I saw Chris do: But when it came to a it had the class inside. Why? how about when do we use them? is there an order? When to or not to? There's no difference between a class and an ID, other than…
    Comment by daGUY December 2008 permalink
  • Coding types and Whys?

    "mevaser" said:Thanks for the answers. But question #2 was miss understood: See the diference? Thank you. Is good to ask this questions. :D I don't think the order matters. On W3.org they have samples showing how to use the li…
    Comment by daGUY December 2008 permalink
  • Beginner JavaScript help

    Thanks for the help. I ended up doing it like this: JavaScript: var d = new Date(); theDay = d.getDay(); theMonth = d.getMonth(); theDate = d.getDate(); var dayNames = [\"Sunday\",\"Monday\",\"Tuesday\",\"Wednes…
    Comment by daGUY December 2008 permalink
  • Is scaling possible?

    Insead of all my content squashing up when the browser is resized, is there anything that allows say the font-size and image size to scale with the browser? You mean when the user resizes the window? No. Modern browsers (Firefox 3, etc.) have a zoo…
    Comment by daGUY December 2008 permalink
  • New to CSS. Help with BG image

    However, the new problem I'm running into is with the background image now in the BODY tag, I can't seem to get it to scale with the width of the page. There's currently no way to stretch a background image. CSS3 has a background-siz…
    Comment by daGUY December 2008 permalink
  • z-index issue?

    "tcindie" said:I'm working on a site currently that uses a transparent png as a frame that sits over the top of a flash slideshow, and a dropdown menu with transparent pngs that drop down over the top of both the flash & png frame…
    Comment by daGUY November 2008 permalink
  • "Sticky" element trick?

    Hmm...upon further inspection it looks like this is the function: function setMenuOffset() { var header = document.getElementById('header'); if (!header) return; var currentOffset = document.documentElement.scrollTop || document.body.s…
    Comment by daGUY November 2008 permalink
  • Margin only takes effect through IE Developer Toolbar

    "Jonz" said:You gotta assign a height to it. It has a height, I just left that out of the sample code just to make it easier to read.
    Comment by daGUY November 2008 permalink
  • z-index issue?

    Yeah I remember doing something like this before. I think all you have to do is add "wmmode=transparent" to the tag where the Flash file is embedded.
    Comment by daGUY November 2008 permalink
  • Disappearing borders in IE6/IE7

    This is very weird. It's not just the top border missing, it's the entire top half of the border. The solution is to apply a background color to the div (what??). Here's a screenshot of the div with a red border applied on all sides,…
    Comment by daGUY November 2008 permalink
  • IE5/IE6 Hack

    "begetolo" said:Anyone already tried this? http://dean.edwards.name/weblog/2008/01/ie7-2/ gr. Bert It's fantastic. I try to avoid using it for smaller projects just to cut down on bloat, but for more complex projects it's essen…
    Comment by daGUY November 2008 permalink