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, 07: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

        Advertisement

        Collapse

        Latest Topics

        Collapse

        • HiddenDev
          Reply to Staying Current
          HiddenDev
          I don't check regularly enough, thanks for the information though!
          Today, 04:04 AM
        • typo
          Reply to laser vs. inkjet printer for vectors and text
          typo
          Hello there,
          My jobs are pure experimental I'm not looking for selling at this point. But indeed, it's a good idea to find a local print shop that could fulfill my printing requests (gold in this...
          Today, 03:55 AM
        • Juanm89
          Security One Redesign
          Juanm89
          Hi everybody, this is a redesign of an old project of mine done in 2006. I wanted to create a more solid mark and a more complete project.
          I would love if you guys gave me feedback on the final...
          Today, 01:36 AM
        • B
          Reply to Communications degree?
          B
          Just to be clear, even though graphic design is often included in college and university art programs, graphic design is not art. Artistic creativity is certainly an important component of design, but...
          Today, 01:05 AM
        • TheraSupreme
          Comment on Obakeng bird sanctuary
          TheraSupreme
          Thanx MareC.

          I will adjust to see how I can improve on it. The typography part of logo design has always been a challenge. But I will master it sooner or later
          Today, 01:04 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