1 replies
  • WEB DESIGN
  • |
Warriors,

I'm going to be designing a header that incorporates flashing text into the design.

I also plan on placing a video over part of the upper right corner of the header.

My questions are:

1. When I code the CSS, should I place the actual image into the header div or make the image the background for the header div--remember I want to keep the flashing text.

2. For the video, do I just add an extra div within the header div and assign it a "z" level or should I be doing something else.

Kevin
#css #question
  • Profile picture of the author Richard Whyte
    Kevin

    I would use Div's within Div's and then Z-index them for the layers you want....

    I have had issues before with an Image as a background as you still need some content inside the box to get it to stay the size you want it to on some browsers.

    When you place an image in the box, this seems to hold it "open"...

    Using layers in CSS is a good way to go as long as your CSS code is tight.

    Have a Great Day!
    {{ DiscussionBoard.errors[1321611].message }}

Trending Topics