| View previous topic :: View next topic |
| Author |
Message |
HockeyFan
Joined: 20 Oct 2005 Posts: 3
|
Posted: Thu Oct 20, 2005 4:07 pm Post subject: help with alignments (div and table) |
|
|
I have a navigation bar alignment issue with the rest of the page.
| Code: |
<div class="NavBar">
<p><A class="Nav" style="text-decoration:none;" HREF="?OP=BugView">View Bugs</a></p>
HREF="javascript:history.go(-1);">Back</a></p>
<p><A class="Nav" style="text-decoration:none;" HREF="?OP=Main">Home</a></p>
</div>
<div style="vertical-align:top; width:80%;margin-left:0px;padding:1px;border-width:1px;border-left:1px solid #000;">
<table border=0 bgcolor=#EEEEEE align=center width=80% valign=top style="vertical-align:top;"><tr><td bgcolor=LightBlue colspan=6><center><h2>All Open Bugs</h2></center></td></tr><tr><td colspan=6>
<center>Total Open Bugs <font color=Blue>21</font></center></td></tr></div>
<table border=0 bgcolor=#EEEEEE align=center width=80% valign=top><tr><td bgcolor=LightBlue
|
My stylesheet for navbar is
| Code: |
DIV.NavBar {
font-family: Verdana;
font-size: 12px;
color: black;
background-color:#FEFEFE;
padding: 1px 5px 1px;
margin-left:1px;
float: left;
Width: 150px;
border-left:1px solid #000;
border-bottom:1px solid #000;
border-top:1px solid #000;
border-right:1px solid #000;
} |
I've had suggestions from others as to what to do, but so far, nothing has worked for me. |
|
| Back to top |
|
 |
|
|
HockeyFan
Joined: 20 Oct 2005 Posts: 3
|
Posted: Thu Oct 20, 2005 5:23 pm Post subject: Re: help with alignments (div and table) |
|
|
| I've found that with just one line in the table, it seems to format correctly. However, duplicate that one row about 50 times, and that's where the problem occurs. |
|
| Back to top |
|
 |
webmaster Site Admin

Joined: 17 Aug 2004 Posts: 3620 Location: Sweden
|
Posted: Fri Oct 21, 2005 12:49 am Post subject: Re: help with alignments (div and table) |
|
|
Can you post the link to the page, it would be much easier to find the problem then.
And by the way, welcome to DEVPPL =) |
|
| Back to top |
|
 |
HockeyFan
Joined: 20 Oct 2005 Posts: 3
|
Posted: Fri Oct 21, 2005 1:44 am Post subject: Re: help with alignments (div and table) |
|
|
| Turns out that the guy that did the page before me, put some <br> tags outside the <TR> tags, which clearly isn't right. As a result, IE decided to interpret them before the table so the table was spaced down several lines. Removing the <br> tags solved the problem. |
|
| Back to top |
|
 |
|