Tables, DIV, CSS & HTML in dreamweaver

Reply

Join Date: Apr 2008
Posts: 4
Reputation: gilsontech is an unknown quantity at this point 
Solved Threads: 0
gilsontech gilsontech is offline Offline
Newbie Poster

Tables, DIV, CSS & HTML in dreamweaver

 
0
  #1
Apr 14th, 2008
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
example1.jpg  
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 79
Reputation: rudevils is an unknown quantity at this point 
Solved Threads: 9
rudevils rudevils is offline Offline
Junior Poster in Training

Re: Tables, DIV, CSS & HTML in dreamweaver

 
0
  #2
Apr 14th, 2008
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.
If love is blind, why there's a bikini ??

Post your article at Bali Side Notes share your knowledge
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: Tables, DIV, CSS & HTML in dreamweaver

 
0
  #3
Apr 14th, 2008
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.
Sometimes life holds wonderful suprises - shame I sleep through them all.
http://www.choose-easyweb.com - Not my design, nor my idea :)
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 4
Reputation: gilsontech is an unknown quantity at this point 
Solved Threads: 0
gilsontech gilsontech is offline Offline
Newbie Poster

Re: Tables, DIV, CSS & HTML in dreamweaver

 
0
  #4
Apr 14th, 2008
Originally Posted by rudevils View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 13
Reputation: tashakota is an unknown quantity at this point 
Solved Threads: 0
tashakota tashakota is offline Offline
Newbie Poster

Re: Tables, DIV, CSS & HTML in dreamweaver

 
0
  #5
Apr 15th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 4
Reputation: gilsontech is an unknown quantity at this point 
Solved Threads: 0
gilsontech gilsontech is offline Offline
Newbie Poster

Re: Tables, DIV, CSS & HTML in dreamweaver

 
0
  #6
Apr 16th, 2008
still didn't make a difference - i'm sooo stuck on this!
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 4
Reputation: gilsontech is an unknown quantity at this point 
Solved Threads: 0
gilsontech gilsontech is offline Offline
Newbie Poster

Re: Tables, DIV, CSS & HTML in dreamweaver

 
0
  #7
Apr 17th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Tables, DIV, CSS & HTML in dreamweaver

 
0
  #8
Apr 22nd, 2008
Unfortunately, the div tag is not implemented very well yet. This is a case where a table is needed.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC