?
Solved

Frame Alignment Problem

Posted on 2004-09-26
7
Medium Priority
?
174 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

764 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