Solved

Frame Alignment Problem

Posted on 2004-09-26
7
168 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
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now