Click to See Complete Forum and Search --> : Links and/or table slightly move


design
12-16-2003, 07:57 AM
At http://mywebpages.comcast.net/designengineering , the links and/or table slightly moves immeaditely after I click on it. This problem only occurs with half the links llisted on the site (SERVICES, GENERAL EXPERIENCE, USEFUL LINKS AND CONTACT).

What is wrong/different with these four pages? Why is my browser moving the table slighltly down in on link, left in another, and up in another?

jochem
12-16-2003, 08:30 AM
First of all, you shouldn't use tables at all for your page lay-out. Several threads in this forum will explain to you why. However, if you choose to use them anyway, make sure that the width of any <td> that should not resize is not a % but an actual amount of pixels, like <td width="150">.

Cheers, Jochem :cool:

eviljoker7075
12-29-2003, 06:33 AM
Hey, call me dense if you will, but I've used a table to format my page. I've given the table a width of 750 pixels, but then I've used % to give the size to all my <td>'s and <tr>'s. What's wrong with that?

spufi
12-29-2003, 11:21 AM
The simple reply is tables are used for tabular data. CSS is used for formatting.

eviljoker7075
12-29-2003, 12:47 PM
So there isn't anything really wrong with it. There's no huge problems that can be caused by this?

spufi
12-29-2003, 07:24 PM
You can look at the "why tables are stupid" link in my sig for more info, but let's say you create a website template that uses a table based layout. You then go and create a number of pages based on the layout. Now, you want to change the layout. You would have to go through and change each of your pages as where a CSS based layout only needs the externally linked CSS file to be changed. The link below shows an example of a tableless layout and various external CSS files which do all of the dirty work.

http://www.csszengarden.com/

eviljoker7075
12-30-2003, 03:10 AM
Okay, so maybe tables are not the best thing to use, but it is fairly easy, and my site doesn't have a lot of pages so it's a relatively short process editing the layout. Besides the layout looks fine as it is.

ray326
12-30-2003, 01:55 PM
Originally posted by design
At http://mywebpages.comcast.net/designengineering , the links and/or table slightly moves immeaditely after I click on it. This problem only occurs with half the links llisted on the site (SERVICES, GENERAL EXPERIENCE, USEFUL LINKS AND CONTACT).

What is wrong/different with these four pages? Why is my browser moving the table slighltly down in on link, left in another, and up in another?
It's just the difference in the text in the links on each page. Some combinations take more horizontal space to wrap.