[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Frame Alignment Problem

Posted on 2004-09-26
7
Medium Priority
?
176 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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 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.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

649 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