Cell/slice problem?

They have: 11 posts

Joined: Jun 2005

Hi,

I have created a graphic in Illustrator and used the slice option to divide the different sections (buttons, logo, text area and so on). The problem is when I use frontpage to put the text in and if the text is longer than the area, the other cells are also expanded. Is there a special way to slice so that my main text area can be expanded without changing the other cells like the buttons? Or is there an option where I can lock some of the cells so that there width and height remain the unchanged?

Any help is greatly appreciated.

Thanks!

Busy's picture

He has: 6,151 posts

Joined: May 2001

Frontpage is the first problem, but can be worked around.

Without seeing the layout can only guess, but am guessing you have a top section and a side section all cut into one. If so, end the table at the bottom of the banner section ( although may not be needed), then start another table tag directly after it:
Now notice I put border="1", this is because more than likely frontpage has added heaps of crap to the table cells. With the border you will be able to see whats where and if it needs realigning remove all the colspan and rospans you see in the bottom section, then either add td tags back in the table section to make an even table setup , then go back and replace with rowspan and colspan if needed. It is often easier to start with all td tags in place than try to edit frontpages stuff, also consider the top table may have un nessecary colspan and rowspan tags, this is of course you used row/col span.

There are programs out there that will tidy up some of frontpages junk, I believe html tidy and even dreamweaver has a frontpage button. If not, in the content area you may have to remove ALL the width and height tags in ALL the td tags of the content table, note I said ALL. If the layout needs width tags, only add it in the first row (between the first set of and tags), its useless adding below this, also slows down loading time.

not easy without a link or image but give it ago and let us know how you get on.

the width="??" will set the width to a degree, but frontpage adds widths to all td's and the text has to go somewhere

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.