User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 392,044 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,252 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 706 | Replies: 7
Reply
Join Date: Apr 2008
Posts: 4
Reputation: gilsontech is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
gilsontech gilsontech is offline Offline
Newbie Poster

Tables, DIV, CSS & HTML in dreamweaver

  #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 Images
File Type: jpg example1.jpg (332.1 KB, 10 views)
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2008
Location: Bali - Indonesia
Posts: 61
Reputation: rudevils is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 7
rudevils rudevils is offline Offline
Junior Poster in Training

Re: Tables, DIV, CSS & HTML in dreamweaver

  #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 5:31 am.
If love is blind, why there's a bikini ??

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

Re: Tables, DIV, CSS & HTML in dreamweaver

  #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  
Join Date: Apr 2008
Posts: 4
Reputation: gilsontech is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
gilsontech gilsontech is offline Offline
Newbie Poster

Re: Tables, DIV, CSS & HTML in dreamweaver

  #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  
Join Date: Jul 2007
Posts: 13
Reputation: tashakota is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
tashakota tashakota is offline Offline
Newbie Poster

Re: Tables, DIV, CSS & HTML in dreamweaver

  #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  
Join Date: Apr 2008
Posts: 4
Reputation: gilsontech is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
gilsontech gilsontech is offline Offline
Newbie Poster

Re: Tables, DIV, CSS & HTML in dreamweaver

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

Re: Tables, DIV, CSS & HTML in dreamweaver

  #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  
Join Date: Jan 2007
Posts: 2,510
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 104
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Tables, DIV, CSS & HTML in dreamweaver

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 11:14 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC