HighDots Forums  

Re: Cells messing up layout

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Re: Cells messing up layout in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Barry Pearson
 
Posts: n/a

Default Re: Cells messing up layout - 09-30-2003 , 10:44 AM






Kirk wrote:
Quote:
Having spent hours on end sorting out layout issues caused by having
different amount of cells in different rows, I've finally got a
webpage looking as it should. However, when I add an image to a cell,
it messes up a different cell. I have some of the cells set to
definite sizes but that fails to keep them as they should look.
[snip]
This works a treat, but when I come to putting an image in 'cell 3' it
for some reason resizes 'cell 11', which, when they both have
backgrounds in, messes up the site.

Is there a 'NORESIZE' attribute like for forms, or something similar
that will force cells to remain at a particular size or something
along those lines?

Anyone know what I can do?
Others will comment on the advantages of tableless page formatting. I'm not
qualified to do so, because only my simpler pages don't use tables for
page-formatting.

When I copied your code into Dreamweaver, it had a number of errors in it.
(You don't have proper matching of correct <td ..> and </td> tags). I don't
know if that is part of your problem.

I had problems with images causing disruptions in a table-oriented format. In
my case, the tables were an explicit feature of the presentation of the pages,
so it was important to get the sizing accurate horizontally, and preferably
vertically too. See:
http://www.barry.pearson.name/
http://www.birdsandanimals.info/

I finally gave up trying to get the horizontal spacing accurate via sanitary
means, and used a spacer GIF. (The only one I've ever used). I think with
enough care over CSSs I ought to have been able to do it that way, but
browsers were not on my side. (Especially browsers that didn't use CSSs!)

Have a look at the 2 URLs above and see if they give you any clues.

(I'm currently trying to work out how to achieve the same presentation without
tables. Not because I think it makes sense here - I think tables are perfectly
valid in these cases. But because if I can do it with these I can probably do
it with lots of cases).

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.