Jump to content

j22cal

Member
  • Posts

    28
  • Joined

  • Last visited

Posts posted by j22cal

  1. I have been trying to come up with a good practice for css specificity. I understand how it works, I just tend to over use specificity and wondered what you do. I will provide some examples of what I am referring to below:

     

     

    Here is one of my more specific examples:

     

    #main .content .inner {
    ... styles ...
    }
       #main .content .inner p {
         ... styles ....
       }
    

     

    In some of my other styles, I started by being specific and then dropping the specificity by a level for each style. Like:

    #main .content .inner {
    ... styles ...
    }
       .content .inner p {
         ... styles ....
       }
          .inner p.large {
             ... styles ...
           }
    
    

     

    How specific are you with your styles?

     

    Thanks! :)

  2. I have been setting a font-size percentage in the body tag and working with "em" font sizes. With the newer browser's that just use zoom and re-size the whole page, is it a better idea to just use pixels (px) for font sizes?

     

    Or would it be a good idea to continue using em sizes to support IE6/7?

     

    What do you do?

     

    Thanks!

  3. I think my original incentive for doing it that way was because there is some kinda bug in IE6 when you apply margin(or padding, can't remember) to an element that already has a width. And that was just my way to eliminate that problem. Is that logical, or is there a better way to avoid that problem?

  4. I was curious if I was doing this correctly. Normally, if I have text inside of a div, I will separate the styling out like so:

     

    <div id="one"><span>text</span></div>
    

     

    #one {
    width: 500px; height: 300px; background: red; ... etc
    }
    
    #one span {
    font-size: 1.0em; color: #fff; padding: 20px; display: block; ... etc
    }
    

     

    My thoughts were that it is a good idea to separate the content out like this. Is this necessary and a good practice?

  5. Hey guys, I just recently got Photoshop, and I had a few questions in that regard. Do you recommend buying any design packages, such as: http://www.talk-mania.com/store/index.php?target=products&product_id=29779 ?

     

    And, could you recommend some good sites from which to download free images?

     

    Any other recommendations/resources for someone who has just started using Photoshop and wants to start creating some good web layouts?

     

    Thanks so much!

  6. Think I have gone down this path before...

     

    I am thinking about giving in and buying Photoshop - would Dreamweaver be a good investment as well?

     

    I always work directly with the code, so I am looking for something that offers some CSS completion, code organization, etc. I have been using Netbeans for the past 6 months or so, it works pretty well for CSS, but not amazing. Any recommendations for open source alternatives to Dreamweaver, or should I go ahead and buy it?

  7. I think that is what I am going to do, put a php script in there that throws up a message and a link for the IE8 download page. There is no point in encouraging the use of a 9 year old browser...

  8. Well, here is the current site that I am working on. I have three fixed positioned elements on this site. It looks fine everywhere else, except in IE6 it's destroyed, any advice?

     

    http://www.blotchit.com

     

    I have a few IE6 hacks in the first part of the CSS, including making the fixed position elements, absolutely positioned. But to no avail...

  9. Is developing for IE6 still necessary? Seems like some people have abandoned it.

     

    Reason being, it seems I spend more time hacking for IE6 than I would like, I am still not very good at it, and it has only 10% of the browser share and falling??

  10. I was also wondering if someone out there has used both the CS4 Photoshop and the latest Gimp and could offer an opinion of the differences and which one has the most features?

     

    Since I don't own an updated version of Photoshop...

  11. Hey all,

     

    For the last year+ I have been using Gimp for the designing of my web images. I do have an older version of PhotoShop. Is it going to hold me back by using Gimp (ie: is PhotoShop easier to use)?

     

    I was assuming since Gimp is open source that using a newer version of Gimp would have more features than an older version of Photoshop?

  12. Up until now, i have mostly been writing my pages with just XHTML pages. However, when there are a lot of pages, it gets kinda hard to deal with. This is probably a someone subjective question, but what CMS do you recommend? Seems like WordPress it starting to be used more and more for site management. Is it good? Are there any others that you would recommend?

  13. Mainly just experimenting with floats, and I was thinking that when you had a float, such as #main, that it would help to float the containing elements as well. Forcing them to better contain the floated div (#main)? I guess i might have been wrong on this point...

     

    On the above code, I removed height: 100% and just used min-height:100% and the layout did work as expected once I added overflow: hidden; to the #container element. Thanks for the help on that! A few more questions...

     

    What is the advantage of using min-height over height? and

    Do I just need to add "overflow: hidden; to just the parent element, or all of the parents like (html, body, etc)?

  14. Well, i got it mostly working like I want it, except that the link images are a fixed size and they do not change size with the page. But I don't think that I can make them percentages and still keep the drop-down working consistently across pages sizes?

×
×
  • Create New...