943,553 Members | Top Members by Rank

Ad:
Apr 14th, 2008
0

Tables, DIV, CSS & HTML in dreamweaver

Expand Post »
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_si...s/example1.jpg
Attached Thumbnails
Click image for larger version

Name:	example1.jpg
Views:	57
Size:	332.1 KB
ID:	5810  
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gilsontech is offline Offline
4 posts
since Apr 2008
Apr 14th, 2008
0

Re: Tables, DIV, CSS & HTML in dreamweaver

try to change ur table width into pixel not in %.
Example :
<table width="700" border="0" cellspacing="0" cellpadding="0">
Last edited by rudevils; Apr 14th, 2008 at 6:31 am.
Reputation Points: 10
Solved Threads: 10
Junior Poster in Training
rudevils is offline Offline
80 posts
since Jan 2008
Apr 14th, 2008
0

Re: Tables, DIV, CSS & HTML in dreamweaver

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.
Reputation Points: 63
Solved Threads: 12
Posting Pro in Training
autocrat is offline Offline
427 posts
since Feb 2005
Apr 14th, 2008
0

Re: Tables, DIV, CSS & HTML in dreamweaver

Click to Expand / Collapse  Quote originally posted by rudevils ...
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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gilsontech is offline Offline
4 posts
since Apr 2008
Apr 15th, 2008
0

Re: Tables, DIV, CSS & HTML in dreamweaver

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
tashakota is offline Offline
13 posts
since Jul 2007
Apr 16th, 2008
0

Re: Tables, DIV, CSS & HTML in dreamweaver

still didn't make a difference - i'm sooo stuck on this!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gilsontech is offline Offline
4 posts
since Apr 2008
Apr 17th, 2008
0

Re: Tables, DIV, CSS & HTML in dreamweaver

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gilsontech is offline Offline
4 posts
since Apr 2008
Apr 22nd, 2008
0

Re: Tables, DIV, CSS & HTML in dreamweaver

Unfortunately, the div tag is not implemented very well yet. This is a case where a table is needed.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: ordinary to wiki help!!!!
Next Thread in HTML and CSS Forum Timeline: Tables showing up differently in Firefox and IE





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC