Do they really? I would think that except for width they are probably all the same, in which case I'd add a class for each necessary width (kind of grid-system like).VSE+ wrote:However, the use of tables is pretty widespread in prosilver, especially in subsilver2 and also in the ACP. While class names already assigned to the tables, such as "table1" in the mcp pages, are common, the values of these formatting attributes tags can vary between all the different tables of class "table1"
[RFC|Merged] HTML5 doctype
Re: [RFC] HTML5 doctype
Re: [RFC] HTML5 doctype
These are some of the ones I found briefly:
There are tons more... It looks like a big task - especially in the subsilver2 area.
<table class="table1" cellspacing="0">
<table class="table1" cellspacing="1">
<table class="tablebg" width="100%" cellspacing="1">
<table class="tablebg" width="100%" cellspacing="1" cellpadding="0" style="margin-top: 5px;">
<table class="tablebg" width="95%" cellspacing="1" cellpadding="4" border="0" align="center">
<table width="100%" class="tablebg" cellspacing="1" cellpadding="4" border="0">
There are tons more... It looks like a big task - especially in the subsilver2 area.
Has an irascible disposition.
Re: [RFC] HTML5 doctype
Code: Select all
table.tablebg {
border-collapse: separate;
border-spacing: 1px;
}
Formerly known as CyberAlien.
Free phpBB styles | Premium responsive XenForo styles | Iconify - modern open source replacement for glyph fonts
Free phpBB styles | Premium responsive XenForo styles | Iconify - modern open source replacement for glyph fonts
Re: [RFC] HTML5 doctype
So I found that...
In the ACP, virtually every TABLE tag has a cellspacing="1"
This can be handled in CSS with:
In prosilver, almost all TABLE tags have the class of "table1" with the only differences being cellspacings of either "1" or "0"
Most use cellspacing="1" so maybe make that the default for the table1 class, and add a new class for the 4 occurrences of cellspacing="0" ??
The real behemoth is subsilver2, with over 250 TABLE tags, and a variety of differences between them.
In the ACP, virtually every TABLE tag has a cellspacing="1"
This can be handled in CSS with:
Code: Select all
border-spacing: 1px;
Most use cellspacing="1" so maybe make that the default for the table1 class, and add a new class for the 4 occurrences of cellspacing="0" ??
Code: Select all
table.table1 {border-spacing: 1px;}
table.table1 .nospacing {border-spacing: 0;}
Has an irascible disposition.
- callumacrae
- Former Team Member
- Posts: 1046
- Joined: Tue Apr 27, 2010 9:37 am
- Location: England
- Contact:
Re: [RFC] HTML5 doctype
Don't bother with subsilver, I don't think it is XHTML valid anyway.
- bantu
- 3.0 Release Manager
- Posts: 557
- Joined: Thu Sep 07, 2006 11:22 am
- Location: Karlsruhe, Germany
- Contact:
Re: [RFC] HTML5 doctype
It used to be valid XHTML 1.0 Transitional. I guess the subsilver2 changes should just be reverted.callumacrae wrote:Don't bother with subsilver, I don't think it is XHTML valid anyway.
Re: [RFC] HTML5 doctype
I agree with that. Subsilver2 is too entrenched in older XHTML to make for an easy transition over to HTML5 valid markup.bantu wrote:It used to be valid XHTML 1.0 Transitional. I guess the subsilver2 changes should just be reverted.callumacrae wrote:Don't bother with subsilver, I don't think it is XHTML valid anyway.
And considering that subsilver2 is sort of being pushed to the side in 3.1, I think its best not to waste any effort on trying to update it.
Has an irascible disposition.
- callumacrae
- Former Team Member
- Posts: 1046
- Joined: Tue Apr 27, 2010 9:37 am
- Location: England
- Contact:
Re: [RFC] HTML5 doctype
Seems like a reasonable approach.bantu wrote: It used to be valid XHTML 1.0 Transitional. I guess the subsilver2 changes should just be reverted.
Re: [RFC] HTML5 doctype
Yes, and it was not mentioned anywhere which I now fixed.callumacrae wrote:Has the doctype been changed?