View previous topic :: View next topic |
Author |
Topic : "Question about tables in HTML!" |
YourMum member
Member # Joined: 04 Sep 2000 Posts: 362 Location: HKI, Finland
|
Posted: Thu Sep 07, 2000 3:10 am |
|
|
Hi guys!
Can anyone let me know if there are some kind of differences between Netscape and IE if you use tables? I'm working with new site and I have big problems with those tables. When I divide big picture (use to be background image) and put these blocks to the table it doesn't work in Netscape. IE works well. :I When using Netscape there are "borders" between the pic blocks... black lines, I mean. What kinda code should I have to use? Does anyone knows? Please, light me?
Thanks anyway that you read this one. |
|
Back to top |
|
Spitfire member
Member # Joined: 20 Mar 2000 Posts: 2009 Location: Amsterdam, the Netherlands
|
Posted: Thu Sep 07, 2000 3:57 am |
|
|
Errr NS fucks tables up in general, but you might want to check if you have all your table properties set up correctly so it knows not to display borders.
Perhaps post a link? its easier to understand code than a short explanation.
|
|
Back to top |
|
Chris member
Member # Joined: 22 Oct 1999 Posts: 746 Location: Iowa
|
Posted: Thu Sep 07, 2000 8:39 am |
|
|
well like spitfire said, it is hard to tell what the problem is without the link.
But I will give it a couple suggestions which come to mind.
It sounds like you wanna put a whole pic together like a puzzle in a table correct? Well first make sure you are making the images set sizes, like
<img src="pic.gif" width=23 height=45> like that
then you wanna set the whole table width to the right size for the whole pic when put together...like you have 3 pic's one is 13, another is 23, and another is 15..that means the table width is 51
<table width=51>
<tr>
<td><img src="pic1.gif" width=13 height=15></td>
etc, etc for other pics
</tr>
</table>
And don't forget about cellspacing. If you wanna put a puzzle together then the most annoying thing is space between the pieces right? So to fix that do this in the <table> tag.
<table cellspacing=0 cellpadding=0> that will close the gaps.
And to answer your first question, YES there are differences between netscape and IE, but if coded right, it will look good in both browsers... |
|
Back to top |
|
JayBee member
Member # Joined: 12 Jul 2000 Posts: 138 Location: Glasgow, Scotland
|
Posted: Thu Sep 07, 2000 10:18 am |
|
|
A good rule of thumb, one that every web coder should paint on to their monitors in big friendly letters, is NETSCAPE IS STUPID
This isn't passing judgement on the quality of the browser (though it does seem to have lost the plot a bit recently), but more a reference to the fact that Netscape will assume absolutely nothing about your page - it likes being spoon-fed.
As a rule, when setting up tables and images, I make sure I specify EVERYTHING about them. IE's quite smart, in that it will usually fill in any gaps that you might have left, but NS wants to know exactly what you intended.
Just my tuppence worth
------------------
. . : : j a y b e e
www.sketchboard.co.uk
[This message has been edited by JayBee (edited September 07, 2000).] |
|
Back to top |
|
YourMum member
Member # Joined: 04 Sep 2000 Posts: 362 Location: HKI, Finland
|
Posted: Thu Sep 07, 2000 12:35 pm |
|
|
Hi again and thanks do much about help!
Post system doesn't work now so I try to post my exaples for art forum! Check them there, please.
|
|
Back to top |
|
YourMum member
Member # Joined: 04 Sep 2000 Posts: 362 Location: HKI, Finland
|
Posted: Thu Sep 07, 2000 12:56 pm |
|
|
Wassup?!!?? I can't post anything which includes picture links!!!??? |
|
Back to top |
|
YourMum member
Member # Joined: 04 Sep 2000 Posts: 362 Location: HKI, Finland
|
Posted: Thu Sep 07, 2000 1:08 pm |
|
|
IE look: (works well as you can see.. )
|
|
Back to top |
|
YourMum member
Member # Joined: 04 Sep 2000 Posts: 362 Location: HKI, Finland
|
Posted: Thu Sep 07, 2000 1:17 pm |
|
|
I worked with one file... let's test the another one.
Ns look: Bad! really! I hate this one.
|
|
Back to top |
|
YourMum member
Member # Joined: 04 Sep 2000 Posts: 362 Location: HKI, Finland
|
Posted: Thu Sep 07, 2000 1:21 pm |
|
|
And code...
www.saunalahti.fi/timorasa/code.txt
I'm sorry but I think that I know almost every tip that you gave me. Maybe.. but I'm not sure of that. I thought I would show you my code and those two screenshots - IE look and Ns one. Hmm... actually I think that my table code and whole code is quite difficult and I doesn't make any sense in Ns. It works well in IE. I would be very very pleased if anyone could check out my code?!? Maybe someone knows how to make it work. I just remembering that once I coded soem site using same tecnique but I've lost it. Okay... here it comes.
I know that spitfire have seen one screenshot of the site before in other forum. It worked well then without some extra code on it. :I
It's quite difficult to read. I'm very sorry about that. But please, help me with this one. Maybe I have a bit hope with this. I HATE NETSCAPE! |
|
Back to top |
|
Kenzo Tanaka member
Member # Joined: 24 Jul 2000 Posts: 58 Location: NoCal
|
Posted: Thu Sep 07, 2000 11:12 pm |
|
|
It usually takes 10 years to become proficient with tables in Netscape... bwahahaha, just kidding. I was referenceing some GREAT posts that JayBee made in the martial arts thread.
Seriously though, one of the reasons that most experienced Web coders use Netscape to view their pages is that Netscape doens't cut you any slack. It can be a pain at times, but you will be a much better coder because of it. |
|
Back to top |
|
Chris member
Member # Joined: 22 Oct 1999 Posts: 746 Location: Iowa
|
Posted: Thu Sep 07, 2000 11:32 pm |
|
|
yes netscape is stupid..no doubting that, but the fact is 10-20% of the visitors will be using it, so might as well try your best to make it look good in netscape as well.
Hopefully in 1-2 years, netscape will go under and make web designing easier for us web programmers |
|
Back to top |
|
|