Solved

Frame Alignment Problem

Posted on 2004-09-26
7
173 Views
Last Modified: 2010-05-18
My webpage consists of 2 frames, top and bottom.
When I disable the status bar, I get a gap in between the frames, and the frames will only seam when I allow the status bar.
Is there anyway I can overcome this?

Also, I realize that the alignment of tables is different when viewed In IE and Firefox. In IE, my table appears to be slightly higher... Are any of you having this alignment problem as well?

Here's the link to my unfinished site. Click on Leave A Message.
http://ncy.freeunixhost.com/main.htm

Try viewing it in IE and Mozilla Firefox, you will notice the alignment of the
table is not the same.
Thanks
0
Comment
Question by:qazs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 49

Expert Comment

by:Roonaan
ID: 12154135
Couldn't you make sure the top frame's content is absolute position to bottom:0px;?
<table width="620" height="429" border="0" align="center" cellpadding="0" cellspacing="0" background="images/top.jpg">

should be changed to

<table width="620" height="429" border="0" align="center" cellpadding="0" cellspacing="0" background="images/top.jpg" style="position:absolute;bottom:0px;margin-left:auto;margin-right:auto;">

You'd also have to make sure your body tag has padding and margin set to 0, but this is quite easy. (<body style="margin:0px;padding:0px;">)

regards

-r-

ps: impressive design!
0
 
LVL 1

Expert Comment

by:MMabatig
ID: 12205681
Hello  qazs,

I agree with Roonan, Nice design.  However two things.

1. On your frameset definition, you have the following:

<frameset rows="429,157" framespacing="1" frameborder="no" border="1">

When I altered it to the following it didn't seem to affect it much, but better safe than sorry.

<frameset rows="429,157" framespacing="0" frameborder="false" border="0">


2. More importantly, the in the top frame contents (home.php) you have two height definitions of :
line 91:
    <td height="174" ...etc...

line 100:
    <td width="385" height="256" ...etc...

These add up to 430 pixels when your frameset definition is only set to 429 pixels.  The extra 1 pixel sized line is caused by the contents of the table in the top frame being larger than the backround image you selected (also only 429 pixels in height)

Cheers!
-Mark
0
 
LVL 1

Expert Comment

by:MMabatig
ID: 12205694
BTW, I altered line 100 to have a height of 255 and it solved the problem.

-Mark
0
 

Author Comment

by:qazs
ID: 12326031
Hey thanks.
I used: style="position:absolute;bottom:0px;margin-left:auto;margin-right:auto;" and it works perfectly,
but only on Mozilla Firefox. When viewed in IE, the page just aligned itself to the left..... :(
How do I overcome this?
0
 

Accepted Solution

by:
PAQ_Man earned 0 total points
ID: 13641070
PAQed with points refunded (50)

PAQ_Man
Community Support Moderator
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question