PDA

View Full Version : More website troubles


Midget
22-11-2006, 07:04 PM
Ok so I'm making a site for magic_pea for his "Ivens tells it like it is" video series and I've got myself a bit of a muddle.

Take a look here (http://antmor63.freehostia.com/ivens/home.html).

See the white box in the news thing? I want that to be a blurry box like the others, only problem is, the size of that cell will vary depending on how much he wants to write in each news thing!

So how can I make the background image stretch/shrink to the size of the cell?

Never mind, figured it out.

And dinnerbone, I really can't be arsed starting over now. :/

What browsers will it mess up in?

dinnerbone
22-11-2006, 07:23 PM
May I suggest you recode the layout - it's doing tables inside tables, a few browsers aren't comfortable with that - but it also never turns out the way you want it to.

Edit: I can't remember what browsers don't work to well with tables inside tables, but it's mostly old browsers that only a small percentage of people use.

Nocashvalue
22-11-2006, 07:43 PM
You'd have to split the cell into seperate cells like so
http://img127.imageshack.us/img127/2319/ivenssitethingxf5.jpg
(use photoshop slice tool tbh)
then set the background for the top bottom left and right cells as a repeatable section of it

you could change the repeat properties of those cells too, to make it work better -
td.topleft {
background: #ffffff url('images/topleft.gif') no-repeat;
}

td.left {
background: #ffffff url('images/left.gif') repeat-y;
}

td.top {
background: #ffffff url('images/left.gif') repeat-x;
}

then for the td's just put <td class="top"> blahablah</td>

Midget
22-11-2006, 07:58 PM
Aye, that's what I did.

Thanks for the helps. :)

(I've tried it in firefox on a mac and pc, IE7 on pc, IE5 on mac and Opera on mac and it looks fine in them all... soooooo those few people can piss off :p)