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

TheLeggett

  • Better Practice for Templates / Reusable HTML?

    Thank you for the responses. There are definitely some better ways to think about this issue :)
    Comment by TheLeggett May 2012 permalink
  • Tricky [rel* selector problem

    Yup, no selectors out there to do what you're looking for. Javascript would be your best bet if you can't change the code output for some reason (like Mottie suggests). You can build selectors to find the value of an attribute, but this w…
    Comment by TheLeggett June 2011 permalink
  • Scrolling iframe on iPad

    Thanks @jasonkeene - No Mac here :( I'm sure that's a good resource for others though.
    Comment by TheLeggett May 2011 permalink
  • Scrolling iframe on iPad

    Does that still work? Everything I'm reading, including a friend who's tested this on their iPad has reported that two finger scrolling no longer works for iframes. Thanks for the suggestion @arkson82
    Comment by TheLeggett May 2011 permalink
  • Scrolling iframe on iPad

    Thanks for the reply @jimsilverman. Unfortunately, it's not feasible to create a fixed height iframe with a scrollable div outside of it, reason being the same origin policy for javascript. In other words, I can't determine the height of a…
    Comment by TheLeggett May 2011 permalink
  • Drop Shadow on Form Input Fields?

    You might need a different solution depending on what browsers you're going to support, but the CSS3 box-shadow property is definitely worth taking a look at. http://css-tricks.com/snippets/css/css-box-shadow/
    Comment by TheLeggett May 2011 permalink
  • Website Critique - Readability??

    I don't take any issue reading the content on this site. @TheDoc makes a point that can be backed up by evidence... sort of. Many people do follow a principle of about 45-70 or so characters per line on the web, but it's sort of debatable…
    Comment by TheLeggett May 2011 permalink
  • CSS Frameworks - The pros and cons

    The biggest problem I've faced when working on projects where our team uses a framework, is that the focus can sometimes shift to the framework instead of the goals we're trying to accomplish by using the framework. It's great if you …
    Comment by TheLeggett May 2011 permalink
  • Header line

    By all means @Fourize :) That's what it's there for! Not quite sure what sort of effect @eXo is looking for based on that description. Almost seems like a background image would be the easiest solution here.
    Comment by TheLeggett May 2011 permalink
  • Fill Remaining Width?

    Hey johnywhy, What you are describing sort of sounds similar to how tables will size by default when given 100% width. It's a little confusing to understand what exactly you are trying to accomplish, so some more details might help :) To expa…
    Comment by TheLeggett May 2011 permalink
  • Wrap Around Box (div)

    :) Two different solutions, good way to show that there is more than one answer.
    Comment by TheLeggett May 2011 permalink
  • Need help testing a pure CSS "Booth System" in IE9

    Seems to be working properly in IE9 http://content.screencast.com/users/theleggett/folders/Snagit/media/1d4d84af-b002-4bd0-b52c-3c5a26ef402c/05.04.2011-20.09.38.png There are no animated fade-ins.
    Comment by TheLeggett May 2011 permalink
  • Wrap Around Box (div)

    There are absolutely multiple ways of doing this, but to start with a really basic example, let me direct your attention to this illustration: http://content.screencast.com/users/theleggett/folders/Snagit/media/b6577cc8-0dae-41b2-a180-ac65cfb2084a/…
    Comment by TheLeggett May 2011 permalink
  • So, what exactly to do about text-shadow for MSIE?

    Would offsetting the same text as a separate color behind the original text work? Not sure if there's anyway to blur that text without the glow/dropshadow IE filters... which don't function quite as nicely as the "text-shadow" pr…
    Comment by TheLeggett April 2011 permalink
  • Problem with text-decoration: underline in WebKit

    That works too, it's just a bit more syntax heavy. As far as I'm concerned though, if that's a style you need, and that's the only way you can implement is in all the browsers you're designing for, it's a good solution.
    Comment by TheLeggett March 2011 permalink
  • Simple If-Statement Not Working

    It looks like you're defining your $page variable after you begin the if() statement. If the variable hasn't been set to "obituaries" yet, it shouldn't meet that condition. I think that's the problem anyways!
    Comment by TheLeggett March 2011 permalink
  • php problem on Wordpress ~ Please help!

    I'm almost positive that you can't use comparison operators in the query_posts function, such as ">=". If that's so, this will require a custom query... maybe something like this?
    Comment by TheLeggett March 2011 permalink
  • WordPress Plugin for Post on Pages??

    I don't know of any plugins that do what you're describing, but maybe there is one! What you are describing definitely sounds like something that could easily be coded into a theme though. I must imagine that if a plugin doesn't exis…
    Comment by TheLeggett March 2011 permalink
  • dropdown menu problem on IE7

    Hey pitagora, A number of things here are causing this. It seems that a lot of the classes are repeated several times here (as well as many properties being redefined and overwriting each other) which makes explaining the problem a little bit trick…
    Comment by TheLeggett March 2011 permalink
  • WordPress Plugin for Post on Pages??

    Hmmmm, this sort of sounds like you're looking for a category page. How would this be different from a traditional category archive?
    Comment by TheLeggett March 2011 permalink
  • Incuding a .php on every page without include()

    It's loaded in the wp-settings.php file. // Load the functions for the active theme, for both parent and child theme if applicable. if ( TEMPLATEPATH !== STYLESHEETPATH && file_exists( STYLESHEETPATH . '/functions.php' ) ) …
    Comment by TheLeggett March 2011 permalink
  • worried about duplicate content...

    There's probably an SEO expert around who could say a whole lot on this subject, but I don't think you have anything to worry about. Search Engines index billions of sites that have duplicate header/footer/non-content information. There h…
    Comment by TheLeggett March 2011 permalink
  • CSS horizontal menu

    Since the LIs are display: inline, giving them height won't do anything. You could use display:inline-block to make that work. You could also make them display: block, and float them left.
    Comment by TheLeggett March 2011 permalink
  • Wordpress query_posts ~ Need help getting it to work properly

    It sort of sounds like you're trying to create separate lists of posts - one list for each category - and each list is ordered by date. Maybe you can elaborate on what you're trying to accomplish? That seems a bit strange to me.
    Comment by TheLeggett March 2011 permalink
  • CSS-only horizontally equidistant images

    Doesn't sound like many newer solutions will work here, but I would have proposed some Flex Box solutions! I understand that you take issue with resizing images, but I think it probably should be done (to an extent). Otherwise, the CSS solutio…
    Comment by TheLeggett March 2011 permalink
  • CSS-only horizontally equidistant images

    What sort of browser capability is required for this? There are some awesome new ways to accomplish this sort of thing, but many don't exactly play nice on older browsers, heheh :)
    Comment by TheLeggett March 2011 permalink
  • Problem with text-decoration: underline in WebKit

    You could use border-bottom instead to create a thicker underline. It would be a bit more tricky to add a drop shadow to the border though (I'm thinking you might be able to make something work with box shadow). Here's one way you could d…
    Comment by TheLeggett March 2011 permalink
  • IE display issues

    I have a feeling that most of the problems here are being caused by explicitly defining heights (where instead, height should automatically adjust with the content inside of a container), and floating where there doesn't have to be any floats (…
    Comment by TheLeggett March 2011 permalink
  • image not showing in IE

    Hey Simon, Unfortunately, I don't have any surefire solutions. If I could replicate the error over here that would help out immensely. I do have one guess, but it doesn't make much sense to me since it's only happening to one image.…
    Comment by TheLeggett March 2011 permalink
  • hover fading

    The two immediate ways that come to mind are: Create a timer, and measure the length of the hover against the timerUse a neat jQuery plugin called hoverIntent. The first 2 answers to this question on StackOverflow do a good job offering solutions: …
    Comment by TheLeggett March 2011 permalink