icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old March 12th, 2007, 6:58 AM   #1 (permalink)
Registered User
Comfy Contributor
 
Joined in Feb 2006
Lives in Australia
101 posts
Gave thanks: 5
Thanked 3 times
Coding Problem - Tables

Hey well i was coding this in dreamweaver and everything looked fine in design view, i uploaded it to my server and it was bad in Internet Explorer but good in Firefox.

Can anyone tell me what to do?

I am talking about the big black box under the banner.

http://www.jessica-mauboy.net/pre.php

Artin
__________________
http://nobody-listened.org

IP: 72.29.93.65
Hostname: pass65
Artin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 12th, 2007, 7:52 AM   #2 (permalink)
Registered User
Fresh Surpasser
 
Joined in Mar 2007
Lives in Houston Texas
Hosted on cmg sn
13 posts
Gave thanks: 3
Thanked 0 times
I only had a few moments to look at it but that is pretty strange. If you want my opinion, for now a quick fix could be to use some javascript (or your choice) to tell it to check for which browser is requesting the page and then if it's IE to not display that box. Sorry for the quick and dirty reply but I have to go now. Hope you figure it out. Eventually you will
perezidentt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 12th, 2007, 9:43 AM   #3 (permalink)
Surpass Fan
Super #1
 
Joined in Mar 2006
1,024 posts
Gave thanks: 66
Thanked 55 times
in the same situation in a rush atm, but a quick suggestion, have a look at coding with divs, will make your life so much easier and save you so much time!
__________________
Oxygen Solutions - Main Website
MoneyScience - Latest Project
deastwood is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 12th, 2007, 11:27 AM   #4 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,092 posts
Gave thanks: 48
Thanked 131 times
Coding with divs? Ack! Code with CSS and a bit of semantic (x)HTML!

Now what's unclear to me is whether you using the whole WYSIWYG features (using like Insert->Table) or if you were coding the site yourself and just previewing it in Design View.

In either case... run the page through the HTML and CSS validators. Fix ALL errors and then check to see how the site looks in both. When I validated the HTML, it came up with 106 errors.

Here's the secret checklist of what to do when your site doesn't look the same in IE and Firefox.

[1] Does it validate?
[2] Are you using a proprietary element/attribute/selector/property?
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 12th, 2007, 11:29 AM   #5 (permalink)
Surpass Fan
Super #1
 
Joined in Mar 2006
1,024 posts
Gave thanks: 66
Thanked 55 times
divs are far far more efficient combined with css
__________________
Oxygen Solutions - Main Website
MoneyScience - Latest Project
deastwood is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 12th, 2007, 12:05 PM   #6 (permalink)
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
Quote:
Originally Posted by Artin View Post
Hey well i was coding this in dreamweaver and everything looked fine in design view, i uploaded it to my server and it was bad in Internet Explorer but good in Firefox.

Can anyone tell me what to do?

I am talking about the big black box under the banner.

http://www.jessica-mauboy.net/pre.php

Artin
Your picture is inside the table (<tr>) including the items on the left ending above "Donations" and pulling the entire table row down. You are showing the background color.

When debuging tables and divs, change the color of the background to something entirely different (orange) and see what changes. Turn on table borders and give unique borders to divs to see their placement.
.
__________________
Where would you be if you were at the highest court in the land (US)?
cowboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 12th, 2007, 5:18 PM   #7 (permalink)
muffins
Excelling Contributor
 
jordanriane's Avatar
 
Joined in Mar 2006
Lives in Chicago, IL
Hosted on NONE
644 posts
Gave thanks: 26
Thanked 34 times
Agreed with ya there Deastwood.

Divs are a lifestyle when coding validated CSS and Xhtml.
__________________
{o,o} O RLY? atourworst.org - mywhmcs.com
|)__)
-"-"-
jordanriane is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 12th, 2007, 10:58 PM   #8 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,092 posts
Gave thanks: 48
Thanked 131 times
Divitis FTL. There's validating mark-up and there's using semantic mark-up (which inherits valid mark-up).
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 12th, 2007, 11:22 PM   #9 (permalink)
muffins
Excelling Contributor
 
jordanriane's Avatar
 
Joined in Mar 2006
Lives in Chicago, IL
Hosted on NONE
644 posts
Gave thanks: 26
Thanked 34 times
Regardless, there's nothing wrong with using divs, especially when those divs are used for major components, and not used to stylize the content, when that content should be using semantic coding.

http://webdesign.about.com/od/csslayouts/a/aa080106.htm
http://webdesign.about.com/od/semant...semanticmk.htm
__________________
{o,o} O RLY? atourworst.org - mywhmcs.com
|)__)
-"-"-
jordanriane is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On