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

otc

  • Overlapping CSS Elements

    Hello, You have many solutions however if you want something to be at a very specific position you should make its position to relative and play with the top/right/bottom/left properties. Example: .excerpt { position: relative; top: 5px; w…
    Comment by otc November 2012 permalink
  • CSS Alignment help

    Hello again, My code is correct however I just noticed all your divs inside your wrapper are absolute -_-. Set the wrapper to what I've mentioned before but change top:200px; to top:245px; And delete all absolute positions for #navigationba…
    Comment by otc November 2012 permalink
  • Scrolling for a fixed element

    Hello ChrisP, This is a simple fix with overflows :D #headerNav{ position: absolute; overflow-y: scroll; overflow-x: hidden; } Hope that helps ^^
    Comment by otc November 2012 permalink
  • Linking CSS Files - Need some insight

    Hello jonedwards, Interesting topic, first of all never use @import it is terrible performance wise. Next I agree with HugoGiraudel here Size does matter however the number of request is your priority therefore you should combine all your CSS into …
    Comment by otc November 2012 permalink
  • Retina media query not loading background image

    Hello Mikes02, You havn't included screen size for every line and that is probably the issue, like so: only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px) For medium screens only screen and (-webkit-min-device-pixel-r…
    Comment by otc November 2012 permalink
  • CSS background change within a div

    Hello fujihime, This is very simple :D. Your website is not loading for me however here is an example for you. First thing you need to do if you havn't done so already is include the jquery script to your page. add this script at the bottom o…
    Comment by otc November 2012 permalink
  • margin-left not taking effect for IE

    Hello Pressuredat19, May I first suggest you use div tags instead of tables and then CSS instead of inline CSS and old HTML that are deprecated. If you choose to stick with the table you can still style it using CSS like so table { position: re…
    Comment by otc November 2012 permalink
  • Flexible height triangle to go on the side of a div filled with text

    Hello Thomen, Not only can you use :before/:after but instead of having an image as your arrow you can make your own arrow using CSS. .box:after { display:block; position:absolute; content:''; margin-top: 0px; margin-left: 60px…
    Comment by otc November 2012 permalink
  • CSS Alignment help

    Hello :), Simple stuff, first thing you need is to fix your wrapper so that the content is always centered so let's get to it: HTML: DELETE align="center" to both divs and delete the first div, make sure to delete it's clos…
    Comment by otc November 2012 permalink