PDA

View Full Version : Dreamweaver Problems


ramandeep
09-26-2005, 01:13 PM
Hello Everyone,
Hi Domedia and Davidg,
I an last two days i have learned alot and made around 6 pages of my Fiest website in Dreamweaver.
The problem now is i made a page where on the left hand side i have made tha navigation in the tables.but when i preview tham in IE and firefox thay lose thier original width and hieght.whats the main concept behind making a table or cell static with fixed dimensions?

If you want better look i cam upload the pages temporarily.

davidj
09-26-2005, 01:14 PM
please post code or link to site

ramandeep
09-26-2005, 01:22 PM
Hi ,
pls visit www.test.rdsnetworks.net

Kindly keep in mind that this is my first work in Dreamweaver so kindly cooperate and guide.

You can see
-when we click hosting link
-look at the the links on the right

there actual hieght is 200 but that get streached

ramandeep
09-26-2005, 01:28 PM
Links on the left sorry

davidj
09-26-2005, 01:29 PM
try including

cellSpacing=0 cellPadding=0

in your table


e.g

<TABLE borderColor=#000000 cellSpacing=0 cellPadding=0 width=800 bgColor=#ffffff border=0>

ramandeep
09-26-2005, 01:35 PM
It makes no difference.though the size gets smaller by a small extent.

davidj
09-26-2005, 01:51 PM
i have examined the page html structure and its very chaotic

its very hard to trouble shoot this problem because of the way you have used tables

i would take this back to the drawing board.

i create a front page concept then clone this layout as i need additional pages

ramandeep
09-26-2005, 01:52 PM
Hi davidj Its goes ok if we put an empty table below it and leave no space for it to extend.
But there should be a proper reason Isnt it?

davidj
09-26-2005, 02:01 PM
if you have a work around then use it

tables can be a headache

i would re-write it.

You have tables for banners that you dont really need. You could have used <td> instead

domedia
09-26-2005, 02:21 PM
Some things to think about when designing a website in tables:
-Don't insert tables if you don't need to. A table with just one td is just code polution.
-Move as much of the table styling to CSS as possible, width, background-color, fontcolor etc.

Andromeda
09-26-2005, 09:20 PM
Domedia,
What's the advantage of moving as much of the table styling to CSS as possible as opposed to not doing so?

domedia
09-27-2005, 12:55 AM
Seperation of style and content. Numerous advantages such as sitewide style changes through editing stylesheet, different styles for different media (such as print for example). Seperating style and content makes it so much easier to organize a website as well. This is pretty nice presentation of the conecpt:
http://www.maxdesign.com.au/presentation/benefits/index.htm ('http://www.maxdesign.com.au/presentation/benefits/index.htm')

To see the power of CSS, look at this
http://www.csszengarden.com/ ('http://www.csszengarden.com/')
and see how the page changes by *only* changing CSS stylesheet.

Andromeda
10-05-2005, 08:30 AM
Thanks for the links Domedia. Much appreciated.