Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


help with alignments (div and table)



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> HTML Forum
View previous topic :: View next topic  
Author Message
HockeyFan



Joined: 20 Oct 2005
Posts: 3

PostPosted: Thu Oct 20, 2005 4:07 pm    Post subject: help with alignments (div and table) Reply with quote

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
View user's profile Send private message
HockeyFan



Joined: 20 Oct 2005
Posts: 3

PostPosted: Thu Oct 20, 2005 5:23 pm    Post subject: Re: help with alignments (div and table) Reply with quote

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
View user's profile Send private message
webmaster
Site Admin


Joined: 17 Aug 2004
Posts: 3612
Location: Sweden

PostPosted: Fri Oct 21, 2005 12:49 am    Post subject: Re: help with alignments (div and table) Reply with quote

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
View user's profile Send private message Visit poster's website
HockeyFan



Joined: 20 Oct 2005
Posts: 3

PostPosted: Fri Oct 21, 2005 1:44 am    Post subject: Re: help with alignments (div and table) Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> HTML Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap