Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: start standard table : why is 1 extra added in beginning?  (Read 2759 times)

0 Members and 1 Guest are viewing this topic.

duntuk

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
start standard table : why is 1 extra added in beginning?
« on: October 26, 2003, 07:05:23 am »

this isn't that big of a deal... just kinda bugs me since i prefer strict/valid html...

at the beginning of {GALLERY} output...

this is sample html output i noticed on most themes on the *home* page ...

note the REPEATED/UNECESSARY
Code: [Select]
<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">


Code: [Select]

<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">

<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">


<tr>
<td class="tableh1" width="80%"><b>Category</b></td>
<td class="tableh1" width="10%" align="center"><b>Albums</b></td>
<td class="tableh1" width="10%" align="center"><b>Pictures</b></td>
</tr>

...




also noticed this bug on sub pages:

Code: [Select]
<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">
</table>
<!-- End standard table -->


anyone know a way of preventing this...?

..thanks in advance..
Logged

Zarsky

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 268
    • Zerr Family Website
start standard table : why is 1 extra added in beginning?
« Reply #1 on: November 04, 2003, 06:07:30 pm »

Yes....at some point we need to clean up the HTML compliance of Coppermine.  It will be a bear to get it 100% compliant, but once we all have a good feel for the code, I am sure this will be done.  For now I suggest just dealing with the problems, unless they are breaking specific browsers.  In that case we will do our best to fix it.
Logged
Read the Online DOCs, FAQ, and SEARCH the board BEFORE posting questions for help.

duntuk

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
start standard table : why is 1 extra added in beginning?
« Reply #2 on: November 04, 2003, 06:27:26 pm »

yup... that's what we've been doin'... just tweaked the template a little bit... but like you said, if it's not broken in the browser then it's not all bad... :)
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 18 queries.