HELP!

I'm going crazy!!!

I'm working on a new website and in dreamweaver I put a table inside a DIV area.

I'm not very good with DIV fields and tables are easy to me, but not this time for some reason.

As you can see in the photo below, in dreamweaver the table extends over the DIV area onto the background, but when viewed in internet explorer, it's fine. But I can't work like that, please help, anyone, i've spent over 6 hours trying to fix this.

Here's the link to the page: http://www.storehousetech.com/new_site/Products.htm

http://www.storehousetech.com/new_site/images/example1.jpg

Recommended Answers

All 7 Replies

try to change ur table width into pixel not in %.
Example :
<table width="700" border="0" cellspacing="0" cellpadding="0">

Do not rely on IE to give you a 'true' image as to how the page will load.

For a better picture, test in multiple browsers (such as Mozilla Firefox, Opera etc.).
IE has far to many 'easy' bugs (meaning that it is a lot more forgiving of errors and mistakes), and will show you something different to more compliant browsers.


Chances are that the table is doing what it was tald... taking up a certain width... whilst the div is taking up a lesser space.

Compare the two sizes and adjsut as required.

try to change ur table width into pixel not in %.
Example :
<table width="700" border="0" cellspacing="0" cellpadding="0">

That made it worse and still didn't fix the problem.

It has to do with widths. You will have to set your table width to the width of the div. Or set it to auto instead of a percentage and then use padding or margins to increase or decrease distances from the edges.

still didn't make a difference - i'm sooo stuck on this!

So I figured it out. I have each of the 4 images either right aligned, left aligned or middle aligned. When i reset the images to default it works perfect. But that's not very helpful since i need to wrap the text around the images.

Every time i change any of the images to right or left aligned they mess up the whole page. Any ideas?

The page is updated at: http://www.storehousetech.com/new_site/Products.htm

Unfortunately, the div tag is not implemented very well yet. This is a case where a table is needed.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.