Click to See Complete Forum and Search --> : Slices problem


gkirk
02-08-2005, 12:05 PM
Hi all,

I'm having a slight problem with a page layout I am creating. I created it in Fireworks and then sliced it up and put it in Dreamweaver. It looks fine without any content in it. But as soon as a large amount of content is inserted it breaks apart all the slices.

The page is at:
http://helios.hud.ac.uk/c0156920/necropolis

Thanks for any advice you can give.

ray326
02-08-2005, 12:25 PM
That's one of the primary reasons for not using slice-n-dice table layouts. The content alters the table layout (because that's the way tables work) thereby screwing up the page layout. You really need to rethink the realization of your design using CSS rather than tables for layout.

gkirk
02-08-2005, 12:35 PM
Originally posted by ray326
That's one of the primary reasons for not using slice-n-dice table layouts. The content alters the table layout (because that's the way tables work) thereby screwing up the page layout. You really need to rethink the realization of your design using CSS rather than tables for layout.

I realise that this method is not the best way to implement but I am not good enough at CSS to do it that way.

I have had a site similar to this working before. The idea is that the bottom left cell contains no content apart from a background. The height of this cell is not set where as all others have a specific value. Therefore when content is inserted all cells with specific values should remain the same and the one without a value stretches to the required size...

Thats my theory anyway :confused:

ray326
02-08-2005, 12:49 PM
More of a hypothesis at this point. At any rate you'll need to add a valid doctype to take browsers out of quirks mode and your body style can be simply "margin: 0".

gkirk
02-08-2005, 01:03 PM
Originally posted by ray326
More of a hypothesis at this point. At any rate you'll need to add a valid doctype to take browsers out of quirks mode and your body style can be simply "margin: 0".

Thanks, Any ideas about the table problem? I've put some content in now to show what the problem is.

ray326
02-09-2005, 07:59 AM
I see neither content nor problem this AM.

gkirk
02-09-2005, 10:00 AM
No I've just about sorted it now.

Thanks anyway