Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help repeat background verticaly for two div

Status
Not open for further replies.

Erakis

Programmer
Jan 10, 2003
26
CA
Please, take a look at my template :
Now I would like that CenterLeft and CenterRight div height be the same as CenterContent or Center. So the background image should be repeated verticaly and not just one time as now.

Regards
 
CenterLeft and CenterRight have no height defined, and only have a space as content, so of course they are only as tall as they need to be to accommodate the content. Which is a single space.

Try adding height:100%; to their definitions.


Although I would think it be easier to just define a border for the center div and be done with it. Instead of having to have additional divs just to produce a line on each side of your content

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
But this is not the final border, they will be custom so I will need to produce it using background image repeating...

I'll already tried height :100% but it doesn't work.
 
You might want to look at faux columns.


Greg
People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top