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 Logo Design Does Not Meet Standards
          PrintDriver
          Since you are not a designer, my suggestion for a fix would be to find a local pro to work it up for you.
          On the other hand, if the company owner is happy with it, changing it up is probably not...
          Today, 03:49 PM
        • salsa
          Reply to Logo Design Does Not Meet Standards
          salsa
          May be just my screen, but the yellow is really hard to see against the gray. I had to zoom in to see that it was an exclamation and graduation hat.

          I hate how the hat was placed on the...
          Today, 02:17 PM
        • nikko
          Reply to What font, similar?
          nikko
          nvm found it
          it's handel gothic
          Today, 01:16 PM
        • HotButton
          Reply to Logo Design Does Not Meet Standards
          HotButton
          Well, for one thing, the colors will have to be different, but even if you had posted this in all-black, I'd have said this:

          When a logo is text only, (which this is, for all intents and...
          Today, 12:47 PM
        • KitchWitch
          Reply to Logo Design Does Not Meet Standards
          KitchWitch
          Hi Jishan and welcome to GDF.

          We ask all new members to read very important links here and here. These explain the rules, how the forum runs and a few inside jokes. No, you haven't done...
          Today, 12:32 PM
        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