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

        • B
          Comment on [HELO] Convert web image for billboard
          B
          Well, who knows. They might have their reasons that would make sense if we knew them.

          You're right, though, it's their money and if that's what they insist they want -- despite your best...
          Today, 09:21 PM
        • MazeMiami
          Reply to [HELO] Convert web image for billboard
          MazeMiami
          I'm grateful for the time both you spent to inform me and respect your expertise. Didn't mean to sound like I was disregarding what you shared. Just figure if it's not going to make much of a difference...
          Today, 09:16 PM
        • B
          Reply to Get Your Graphic Design License Here
          B
          Hmmm, good question. Probably not. Most generally recognized professions seem to have licensing requirements, though, so I guess my comments stem from designers being somehow excluded and the profession...
          Today, 09:14 PM
        • MazeMiami
          Reply to [HELO] Convert web image for billboard
          MazeMiami
          No one gave me a solution seems like either way I would get similar results. I suggested the clients use the file we already have in hand and they insisted they wanted vector. I'm open to having the imaged...
          Today, 09:07 PM
        • B
          Reply to [HELO] Convert web image for billboard
          B
          Ha! I sure wouldn't try it with somebody's face.

          I just happen to have the artwork for what I was talking about. It was part of a large outdoor display at a marina advising boaters about...
          Today, 08:53 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