Go Back   Horror.com Forums - Talk about horror. > Horror.com Lobby > Horror.com General Forum
Register FAQ Community Calendar

Reply
 
Thread Tools
  #1  
Old 08-31-2004, 09:54 AM
Egekrusher's Avatar
Egekrusher Egekrusher is offline
Returning after eternity.
 
Join Date: Dec 2003
Location: My own fantasy world.
Posts: 2,087
Website help...

Hey,

I'm having problems with the way one of my tables is displaying in Internet Explorer. It displays fine in other browsers, just not IE.

I have a table set up with a picture inside of it. The picture is set to 20% height and 35% width of the table. Well, for some reason, IE is displaying it as 20% height and 35% of the table CELL that it is in, so it looks like a little white line. I can't figure out a workaround for this.

Here is the offending code:

<table style="color: rgb(255, 255, 255);" align="center" bgcolor="black"
height="90%" width="60%">
<tbody>
<tr>
<td>
<p align="center">This music is of the techno-industrial sort.
Rejuvination is a bit more upbeat, but for a reason that you will
come to see later. I equalized Hope and Rejuvination, so now there
isn't a staggering amount of LFB. I had to re-encode an MP3 that was
already only 192kbps, so it may not sound the best. If you like what
you hear, send
an email <a href="mailto:[email protected]">her e</a> </p>
</td>
</tr>
<tr>
<td>
<p align="center"><a
href="http://technologicalwasteland.com/music/PowerSurge%20-%20Hope.mp3">Hope</a></p>
</td>
</tr>
<tr>
<td>
<p align="center"><a
href="http://technologicalwasteland.com/music/PowerSurge%20-%20Rejuvination.mp3">Rejuvination</a></p>
</td>
</tr>
<tr>
<td>
<p align="center"> <a
href="http://technologicalwasteland.com/music/071704-2_3low.mp3">Neurotic
Self Destruction- Low Bandwidth</a> </p>
</td>
</tr>
<tr>
<td>
<p align="center"> <a
href="http://technologicalwasteland.com/music/071704-2_3.mp3">Neurotic
Self Destruction- High Bandwidth</a></p>
</td>
</tr>
<tr>
<td>
<p align="center"><a
href="http://technologicalwasteland.com/music/Enveloped%20in%20Darkness.mp3">Enveloped
In Darkness- Low Bandwidth</a></p>
</td>
</tr>
<tr>
<td>
<p align="center"> <a
href="http://technologicalwasteland.com/music/Enveloped%20in%20Darkness-High.mp3">Enveloped
In Darkness- High Bandwidth</a> </p>
</td>
</tr>
<tr>
<td>
<p align="center"> <a
href="http://technologicalwasteland.com/music/PowerSurge%20-%20Hopelessness.mp3">Hopelessness</a>
</p>
</td>
</tr>
<tr>
<td>
<p align="center"> <a
href="http://technologicalwasteland.com/music/PowerSurge%20-%20Nuclear%20Waste.mp3">10,000
Rads - Highly Recommended!</a> </p>
</td>
</tr>
<tr>
<td>
<p align="center"> <img src="images/personal/odd.jpg"
height="20%" width="35%"> </p>

</td>
</tr>
<tr>
<td><br>
<p align="center">All songs copyright PowerSurge 2004. No
unauthorized reproduction, distribution or sales are allowed.</p>
<br>
</td>
</tr>
</tbody>
</table>

And here is the website:

http://technologicalwasteland.com
__________________
Bwind22- "Great minds think alike... And all others wind up with shit on their hands."
Reply With Quote
  #2  
Old 08-31-2004, 10:02 AM
Vodstok's Avatar
Vodstok Vodstok is offline
Fear scented candle
 
Join Date: Jan 2004
Location: The edge of forever
Posts: 13,650
do you absolutely need to use relative sizes? hard-setting the size might make life easier. try this:

20% both ways is 128x96

35% both ways is 224x168

the dimensions you have set should make 224x96


IE does all relative sizes based on the table tags just outside the assigned item, so if you make something 10% inside a cell, it will be 10% of the cell, not the page.

I do all of my developement for IE, so i know it's guts pretty well.

Feel free to look at the behind code in my galleries (http://scaredyet.net/gallery/ ), i use the exact same technique
__________________
Some misguided people decided I was funny enough to pay. See if they're right:
http://www.cracked.com/members/Vodstok/
(I tweet pretty hardcore, too)
Reply With Quote
  #3  
Old 08-31-2004, 10:08 AM
Egekrusher's Avatar
Egekrusher Egekrusher is offline
Returning after eternity.
 
Join Date: Dec 2003
Location: My own fantasy world.
Posts: 2,087
Quote:
Originally posted by Vodstok
do you absolutely need to use relative sizes? hard-setting the size might make life easier. try this:

20% both ways is 128x96

35% both ways is 224x168

the dimensions you have set should make 224x96


IE does all relative sizes based on the table tags just outside the assigned item, so if you make something 10% inside a cell, it will be 10% of the cell, not the page.

I do all of my developement for IE, so i know it's guts pretty well.

Feel free to look at the behind code in my galleries (http://scaredyet.net/gallery/ ), i use the exact same technique
Bah. Good going MS, let's blow away all the standards. I want it to display the same way no matter what screen resolution you're using. Is there a way to do that within a table in IE, or am I screwed?
__________________
Bwind22- "Great minds think alike... And all others wind up with shit on their hands."
Reply With Quote
  #4  
Old 08-31-2004, 10:24 AM
Vodstok's Avatar
Vodstok Vodstok is offline
Fear scented candle
 
Join Date: Jan 2004
Location: The edge of forever
Posts: 13,650
not that i can think of. could you post a screenshot of it in another browser?
__________________
Some misguided people decided I was funny enough to pay. See if they're right:
http://www.cracked.com/members/Vodstok/
(I tweet pretty hardcore, too)
Reply With Quote
  #5  
Old 08-31-2004, 10:37 AM
Egekrusher's Avatar
Egekrusher Egekrusher is offline
Returning after eternity.
 
Join Date: Dec 2003
Location: My own fantasy world.
Posts: 2,087
Here ya go:
__________________
Bwind22- "Great minds think alike... And all others wind up with shit on their hands."
Reply With Quote
  #6  
Old 08-31-2004, 10:38 AM
Vodstok's Avatar
Vodstok Vodstok is offline
Fear scented candle
 
Join Date: Jan 2004
Location: The edge of forever
Posts: 13,650
And you definately want it to scale based on the size of the page, correct?
__________________
Some misguided people decided I was funny enough to pay. See if they're right:
http://www.cracked.com/members/Vodstok/
(I tweet pretty hardcore, too)
Reply With Quote
  #7  
Old 08-31-2004, 10:42 AM
Egekrusher's Avatar
Egekrusher Egekrusher is offline
Returning after eternity.
 
Join Date: Dec 2003
Location: My own fantasy world.
Posts: 2,087
Quote:
Originally posted by Vodstok
And you definately want it to scale based on the size of the page, correct?
Correct. If it absolutely CANNOT happen, then I need to optimize that picture for viewing at 1024x768. Anything lower is obsolete.
__________________
Bwind22- "Great minds think alike... And all others wind up with shit on their hands."
Reply With Quote
  #8  
Old 08-31-2004, 11:12 AM
Vodstok's Avatar
Vodstok Vodstok is offline
Fear scented candle
 
Join Date: Jan 2004
Location: The edge of forever
Posts: 13,650
I dont think it can. MS is definately powerful enough to write their own rules. I'm sure there are some cool javascript tricks you could pull that would alter the type of pciture loaded based on browser type, but i dont know any myself.

this may help, if you are interested:
http://javascript.internet.com/
__________________
Some misguided people decided I was funny enough to pay. See if they're right:
http://www.cracked.com/members/Vodstok/
(I tweet pretty hardcore, too)
Reply With Quote
  #9  
Old 08-31-2004, 11:24 AM
Egekrusher's Avatar
Egekrusher Egekrusher is offline
Returning after eternity.
 
Join Date: Dec 2003
Location: My own fantasy world.
Posts: 2,087
Quote:
Originally posted by Vodstok
I dont think it can. MS is definately powerful enough to write their own rules. I'm sure there are some cool javascript tricks you could pull that would alter the type of pciture loaded based on browser type, but i dont know any myself.

this may help, if you are interested:
http://javascript.internet.com/
Screw it. I'll just write an anti-MS banner and place it on the page. What fucking genius came up with these standards, anyways?
__________________
Bwind22- "Great minds think alike... And all others wind up with shit on their hands."
Reply With Quote
  #10  
Old 08-31-2004, 11:32 AM
Vodstok's Avatar
Vodstok Vodstok is offline
Fear scented candle
 
Join Date: Jan 2004
Location: The edge of forever
Posts: 13,650
there is the w3 standard, then the different comapnies out there come up with their own. netscape is just as bad as MS in that department, and they have whored their parts out for Mozilla, so 2 of the "major" browsers are basically the same.



Personally, i like and use the MS standard (I Use ASP .Net which is a proprietary MS technology). that is what i do all of my work in.
__________________
Some misguided people decided I was funny enough to pay. See if they're right:
http://www.cracked.com/members/Vodstok/
(I tweet pretty hardcore, too)
Reply With Quote
Reply


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


All times are GMT -8. The time now is 06:36 AM.