Jump to content


Table troubles...


13 replies to this topic

#1 BeyondZ

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 06 November 2005 - 11:35 PM

Hi,

I'm pretty new to making websites, but I've recently been using dreamweaver to help get everything together.
The problem however is that I keep getting a large gap at the bottom of the page, even though the table has a background image and is set to 100% height (see attachment). As well, the table seems to extend nearly a full page length past the proper height.

The problem seems to be with the way I've setup the tables, since I need to have 2 main background images. (ie. one that extends horizontally and one that extends vertically) So I currently have 2 seperate 'main' tables, one holds the actual website and has the horizontal background. The other is simply a table set to 100% height (and 950px width) with the vertical background image.

I'm not sure how to fix this though, so if anyone can help, that'd be great.

Attached Files

  • Attached File  gap.jpg   47.03K   54 downloads


#2 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 07 November 2005 - 12:11 AM

inside the body tag ( <body>)
add the following attribute

style="margin:0;"

so it should look like

<body style="margin:0;">

#3 _*Raremandan_*

  • Guests

Posted 07 November 2005 - 05:25 AM

Just a tip.

Get into raw HTML coding in notepad, as you can check thoroughly and it will end up better :hi:

- Dan

#4 BeyondZ

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 07 November 2005 - 05:14 PM

Thanks for the replies.

It turns out that adding the style attribute actually fixed quite a few little problems with spacing at the sides, so thank you for that.
Oddly enough the main reason for the large gap was that I had accidently hit the return key a few too many times at the bottom of my page, making a big empty space <3 Maybe using notepad isn't such a bad idea....

Anyways thank you very much.

#5 BeyondZ

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 09 November 2005 - 04:47 PM

Uh oh, sorry.

I thought that this problem was fixed, but apparently not. After uploading the site, it seems that I get the gap problem again, although it seems to display perfectly fine when viewed off my hard-drive.... Also for whatever reason Firefox seems to crash everytime I try to open the page (although it too works fine off my hard-drive)

I'm not sure what's causing this problem, so any help is appreciated.

http://www.geocities...xbeyondzenithx/

#6 syndrome

    P2L patient #4819

  • Twodded Staff
  • PipPipPipPip
  • 1,311 posts
  • Location:Nottingham, UK
  • Interests:Photoshop, Tennis, PS2, web design, CS:S

Posted 09 November 2005 - 04:59 PM

You've got several other problems in Firefox apart from the gap at the bottom.

#7 BeyondZ

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 10 November 2005 - 04:20 PM

Any idea how I might fix some of these problems?

Also, I'm not really familiar with the differences between IE and Firefox (or any other browser), so is there anything that I should be watching out for when making a site to ensure that it displays properly in most browers, or is it just a matter of trial and error?

#8 Tran

    Young Padawan

  • Members
  • Pip
  • 34 posts

Posted 10 November 2005 - 05:10 PM

Whoa, beyondz, that is a very nice flashpage!

#9 saferwaters

    Jedi In Training

  • Members
  • PipPip
  • 390 posts

Posted 11 November 2005 - 05:59 AM

BeyondZ, on Nov 10 2005, 09:20 PM, said:

Also, I'm not really familiar with the differences between IE and Firefox (or any other browser), so is there anything that I should be watching out for when making a site to ensure that it displays properly in most browers, or is it just a matter of trial and error?
Trial and error mostly, and then eventually you can build up a big brain full of quirks that you know, and then you'll be able to avoid them in the future. Be sure to download FF, Netscape and Opera and test your site in all browsers, and if you have access, a Mac.

#10 BeyondZ

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 15 November 2005 - 09:37 PM

Thanks for the replies

I guess I'll just have to keep messing around with this thing till I figure out all the little tricks for each browser.

Again thanks for the help (and compliment :D )

#11 Althanis

    Young Padawan

  • Members
  • Pip
  • 62 posts

Posted 16 November 2005 - 03:06 PM

You should proabably try to start using CSS to set up your main layout, even if you're going to use tables within those areas, at least its a start.

Also, this might be helpful, Geocities actually screws around with your layout. I experienced this today when after checking a portion of my site in both IE and Firefox and they worked exactly the same, I uploaded to Geocities and it displays broken in IE.

Not much of a problem for me as I'm only using it as temporary hosting for a few reasons. But if it's going to be permanently there then you have a problem.

Oh, and any site that tells me I HAVE to have Flash AND a broadband connection to view it properly isnt going to be viewed by me :\

#12 BeyondZ

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 21 November 2005 - 05:07 PM

Hmm I suspected geocities may be part of the problem (though it's just as likely something I'm doing that's the problem...) anyways I'll have to see what I can do about that....

Actually I've been wondering about the high/low bandwidth thing. I've seen several sites that have an option for high and low bandwidth users. What I've been wondering though, is if there is a particular way to determine whether a site is considered high or low bandwidth.

#13 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 21 November 2005 - 09:45 PM

When they say high or low bandwidth they're refering to your connection to the i-net (i.e. 56k, 256k, etc...). You normally see those links on flash websites, which tend to be larger then your average HTML site.
Also, the lo-fi version (also "low bandwidth"), removes all images, thus causing the page to load that much faster (which helps on < 56k connections).

And there's no way to tell whether or not you should even worry about a lo-fi version without actually testing it your self.
But, some sites offer some testers that can give you an idea. http://www.websiteop...rvices/analyze/ <-- this happens to be one.

Also, in relation to your table problem, it could be geocities that's causing your problem, simply because i remember they have forced-ad's (which all ways mess stuff up).

#14 BeyondZ

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 24 November 2005 - 04:22 PM

That link is excellent, exactly what I was looking for, so thanks for that.
As for the gap, I guess I'll just assume it is geocities causing it, until I can get myself a better domain and test it out properly.

Anyways thanks for all the help.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users