Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 26th, 2005, 3:30 PM   #1
smoked_out_haze
Newbie
 
smoked_out_haze's Avatar
 
Join Date: Sep 2005
Location: Barrie, Canada
Posts: 6
Rep Power: 0 smoked_out_haze is on a distinguished road
Send a message via MSN to smoked_out_haze
Site works in Firefox but not IE

I was wondering if someone could take a look at my code and please tell me what I'm doing so wrong. I'm building this site for my html class (its supposed to be a portfolio type site). I built it at home while checking my firefox browser to see if everything was working. I got it to work perfectly in Firefox, but I got to school today and the site looks completely broken (in IE6). So I came home and checked in Netscape (it works fine) and Opera(it looks broken).
Anyone have any suggestions?
http://webdesign2.georgianc.on.ca/~1...sF05/homepage/
smoked_out_haze is offline   Reply With Quote
Old Oct 26th, 2005, 5:54 PM   #2
bja888
Hobbyist Programmer
 
bja888's Avatar
 
Join Date: Oct 2005
Location: Central, FL
Posts: 213
Rep Power: 0 bja888 is an unknown quantity at this point
Send a message via AIM to bja888 Send a message via Yahoo to bja888
height="100%"
there is your proublem.
You can no longer use percent heights in html. Everything gets totally fu**ed up. What IE is tring to do is space all the rows evenly.
I think I solved this proublem onece before but haveing troubles remembering right now. Its went something like this though....

Step 1
- Create a table. 1 row, 1 cell.
- set the height to 100%
- Align to top

Step 2
- Palce your existing table with in the new table.

Step 3
- Wait for me to remember exactly what I did to get around this proublem previously.
bja888 is offline   Reply With Quote
Old Oct 26th, 2005, 5:58 PM   #3
zorin
Hobbyist Programmer
 
Join Date: Apr 2005
Posts: 218
Rep Power: 4 zorin is on a distinguished road
Was going to check your site, wont load in IE but looks fine in firefox
zorin is offline   Reply With Quote
Old Oct 26th, 2005, 7:48 PM   #4
smoked_out_haze
Newbie
 
smoked_out_haze's Avatar
 
Join Date: Sep 2005
Location: Barrie, Canada
Posts: 6
Rep Power: 0 smoked_out_haze is on a distinguished road
Send a message via MSN to smoked_out_haze
really? you cant use percents.. that sucks. But its not really the height thats causing a problem.. it seems like its the width. or is it the same issue with percentages?
smoked_out_haze is offline   Reply With Quote
Old Oct 26th, 2005, 7:52 PM   #5
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 6 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Quote:
Originally Posted by bja888
Step 1
- Create a table. 1 row, 1 cell.
- set the height to 100%
- Align to top

Step 2
- Palce your existing table with in the new table.

Step 3
- Wait for me to remember exactly what I did to get around this proublem previously.
Tables are bad... i thought you knew xHTML. Use DIVs.
__________________

tempest is offline   Reply With Quote
Old Oct 26th, 2005, 8:53 PM   #6
Lich
Professional Programmer
 
Lich's Avatar
 
Join Date: May 2005
Location: Detroit
Posts: 254
Rep Power: 4 Lich is on a distinguished road
Send a message via AIM to Lich Send a message via MSN to Lich
FYI, kill the <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
at the top and the 100% height should work fine.

If you don't give a crap about CSS or web standards design, which is apparent (not a knock or anything), this should be a quick solution.
__________________
--John Cruz
Web Developer
www.cruzweb.net
Lich is offline   Reply With Quote
Old Oct 26th, 2005, 9:57 PM   #7
bja888
Hobbyist Programmer
 
bja888's Avatar
 
Join Date: Oct 2005
Location: Central, FL
Posts: 213
Rep Power: 0 bja888 is an unknown quantity at this point
Send a message via AIM to bja888 Send a message via Yahoo to bja888
I love tables! sadly they losse their effect in xhtml. Which is the #1 reason why I am haveing trouble switching over.

The solution can only be solved with a table inside a table... I'll remember, just wait.

Percentages in widths are acceptable but not perfect.

I said it onece and i'll say it again. The W3 is trying to make pages static. They hate aparently dynamic.
bja888 is offline   Reply With Quote
Old Oct 27th, 2005, 4:28 AM   #8
stevengs
Professional Programmer
 
stevengs's Avatar
 
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4 stevengs is on a distinguished road
tables are not bad... if you use them correctly. Inherently, a table is for, well .. just that, a table. You want to show moon phases and dates in a table, fine because that's what it's for. You want to show all the county soccer tournaments for the season, great, use a table. You want to use a table to design your site layout.... uuuuhm... no.
__________________
-Steven
"Is this a piece of your brain?" - Basil Fawlty
stevengs is offline   Reply With Quote
Old Oct 27th, 2005, 4:51 AM   #9
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
Yeah, good point. I forgot about actually using them for their proper purpose.

EDIT: you have 1 more post than me
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:58 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC