Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   too many <table> tags, posted by Heiko Scheit on Mon Aug 2 14:56:56 2004 elog_table.jpg
    icon4.gif   Re: too many <table> tags, posted by Stefan Ritt on Tue Aug 3 11:16:46 2004 elog.gif
       icon4.gif   Re: too many <table> tags, posted by Heiko Scheit on Tue Aug 3 13:06:54 2004 elog_table2.jpg
          icon2.gif   Re: too many <table> tags, posted by Stefan Ritt on Tue Aug 3 13:31:08 2004 
             icon14.gif   Re: too many <table> tags, posted by Steve Jones on Thu Aug 12 23:32:46 2004 
                icon2.gif   Re: too many <table> tags, posted by Stefan Ritt on Wed Sep 15 07:42:23 2004 
Message ID: 645     Entry time: Tue Aug 3 11:16:46 2004     In reply to: 642     Reply to this: 647
Icon: Warning  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Bug report  OS: Linux  ELOG Version: 2.5.4 
Subject: Re: too many <table> tags 
> There are too many <table> tags when displaying a singel entry.  E.g.
> in http://midas.psi.ch/elogs/Config+Examples/1 the row 'Configuration Name'
> is not aligned with the others (see attachment).

The <table> tags are there on purpose. As you can combine several attributes
into one line (see this forum for example), it's necessary to make an
independent <table> for each line. This causes the shifting as you noted
correctly. To avoid this, simple increase the width of the attribute name field
in the CSS file. Edit <elo>/themes/default/default.css, find the section with
".attibname" and change the width from 150px to 200px, such as

.attribname {
  width:200px;
  background-color:#CCCCFF;
  border:1px solid #0000FF;
  border-top:1px solid white;
  border-left:1px solid white;
  padding:3px;
}

I tried this with http://midas.psi.ch/elogs/Config+Examples/1, and it wroked
fine (see attachment). [I had to increase the text size a bit in my browser to
reproduce the initial problem]
Attachment 1: elog.gif  21 kB  | Hide | Hide all
elog.gif
ELOG V3.1.5-fe60aaf