Question: Dynamic Background and top header.

MrCarioca

New Member
Hello guys,

I was wondering if you guys could answer me with 2 questions please:

1) How big does the dynamic background has to be? I will be putting an image on the background which I want to show up at all pages using Photoshop ( just plain black with some lines) so what would be the best size without having "loops".

2) I was also wondering how Rotten Tomatoes had it top banner wide. (but it isn't a picture) I circled it to show it.. ( I looked up the files and I noticed that it isn't a background picture) While the website still has another background. Notice how it isn't in a table or isn't part of a big picture.

untitled22.jpg


Sorry if I didn't explain myself too well :D

Thank you so much for your time.
 

conor

New Member
What I suspect they have done is put a picture in the middle and then have two other pictures repeating on the sides. This is a typical design technique that ensures the image stays the same on all resolutions. This is how it would be achieved:

Code:
<div id="container">
  <div id="header">&nbsp;</div>
</div>

And the CSS:

Code:
body{ margin:0;padding:0;text-align:center }
#container{ height:20px;background:url(container.png) repeat-x )
#header{ margin:0 auto;height:20px;width:900px;background:url(header.png) no-repeat }
 

wetgravy

New Member
modern hit this one on the head. it's just a repeating graphic in the body and the header lines up with it.
 
Top