Announcement

Collapse
No announcement yet.

need some <div> help

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • need some <div> help

    Hey,

    for the life of me, I can't quite figure out why I'm having this issue.

    Movemaine.com

    I want the logo to float over the <div> holding the parallax trees.

    Any thoughts?

  • #2
    Is absolute positioning out of the question? It seems most appropriate here not floating. Once the h1 is positioned absolutely a left margin can be placed on the parallax division. That is the way I would handle it – simple. Also, you should avoid using presentational class names. Presentational class names are not flexible and make global changes difficult.

    This is very very very bad:

    HTML Code:
    <div class="jjCenter jjRed jjHelvetica"></div>
    Its more appropriate to describe the purpose of the element then use css to apply appropriate styles.

    HTML Code:
    <div class="intro"></div>
    HTML Code:
    .intro {
       text-align: center;
       color: #f00;
       font-family: Helvetica, sans-serif;
    }
    Furthermore, if there is only one "intro" or entity a id should be used rather then a class. Id is most appropriate for unique element naming and classes for multiples of the same type.
    Last edited by tZ; 06-06-2009, 06:22 PM.

    Comment


    • #3
      Just add these two lines to your "#jjTop h1 a" CSS:

      top:100px;
      z-index:1000;

      That will move down your logo over the (quite well done) tree/leaves parallax. The z-index is needed so that it will be displayed on top of the parallax, as opposed to below. I think this is what you were asking about.
      Design: Graphic, Web, Game

      Comment


      • #4
        i like the trees parallax too. can it be made so it tracks with the mouse where ever the mouse may be on the page and not just on the trees?

        Comment

        Search

        Collapse

        Sponsor

        Collapse

        Incredible Stock

        Latest Topics

        Collapse

        • PrintDriver
          Reply to Salon Logo
          PrintDriver
          I'll mention too that most stock image EULA's usually forbid use in logos. Might want to check your stock image license before proceeding.
          Today, 11:51 AM
        • axylexu
          New in Here
          axylexu
          Hi there, I'm Alex . I started photography when i was 14 . That means 13 years ago. I'm not a pro . I use a Nikon D5300 Body with 18-55mm 1:3,5-5,6 g vr II lens , AF-S Nikkor 50mm 1:1.8G. I started to...
          Today, 11:05 AM
        • Craig B
          Reply to Nice to meet you from MOROCCO
          Craig B
          Welcome to the forum. As far as I know, sharing a link to your portfolio is certainly ok. However, advertising links are not ok.
          Today, 09:16 AM
        • Biggs097
          Reply to Anyone know what font this is?
          Biggs097
          Looks like a novelty typeface. The base of it is essentially Copperplate. With someones personal twist to it. It also has elements from a typeface called Copper Penny, particularly the bits within the...
          Today, 08:58 AM
        • Biggs097
          Reply to Logo Design for my company
          Biggs097
          It's very important to consider how a piece of art will be produced. If you're like me, through my time as a graphics major in college, print production wasn't a big topic topic of discussion. Where as...
          Today, 08:44 AM
        GDF A division of Mediabistro Holdings Adweek | Mediabistro | Clio | Film Expo Group Contact Us | Terms of Use | Privacy Policy Copyright 2016 Mediabistro Holdings
        Working...
        X