Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic Invalid HTML code (Read 957 times)
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Invalid HTML code
Oct 2nd, 2014 at 5:54pm
Mark & QuoteQuote  
Duplicate ID news.

Code
Select All
 <table id="news" class="bordercolor pad_4px cs_thin mar-bot;" style="table-layout:fixed">
  



and

Code
Select All
 <td class="small vtop"><div id="news"></div>
  



Invalid colspan: (multiple locations) -- For 2.6.2 and later only

1. near id="colnews", colspan="5"
2. twice near id="colgeneral", colspan="5"
3. twice near id="collounge", colspan="5"
4. twice near id="colsup1", colspan="5"
5. twice near id="colmods", colspan="5"
6. twice near id="coladmin1", colspan="5"
7. twice near id="colbugs", colspan="5"

Obviously the cell spanning 5 columns, but containing no visible data, should be split as 5 separate invisible cells to conform standard HTML5. This fights against the guideline I mentioned earlier that forbids empty cell contents, but there has to be at least one row with no columns spanning more than one cell.

With redesign could be replaced with simple div block if there is not enough information to fill all 5 columns.
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2235
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Invalid HTML code
Reply #1 - Oct 2nd, 2014 at 6:54pm
Mark & QuoteQuote  
I was having a heck of a time finguring out where that table was from - then I realized it was here - we have a board named 'news'.  Embarrassed Okay, if I change the news div id to 'newsdiv' is it likely someone will name a board 'newsdiv'?  Grin
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Invalid HTML code

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry