The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
I'm working on a Snitz forum, but I want to simplify some of the styling on the various tables. Silly me figured I'd use some standard thing like <col> and <colgroup> but guess which browser is the only one that doesn't fully implement the standard!
Some research has turned up that its a problem with the Gecko rendering engine, and its one of the older standing bugs.
I just needed to vent.
Some research has turned up that its a problem with the Gecko rendering engine, and its one of the older standing bugs.
I just needed to vent.
Postet den
Seems like no browser is perfect.
I hate browser bugs more than anything else in this industry lol.
I hate browser bugs more than anything else in this industry lol.
Postet den
What kills me is that it works fine in the much maligned IE.
Postet den
as far as I am aware FF supports the col/colgroup standard just fine, what eactly were you trying to achieve ?
just because something works in IE doesn't allways mean that it is following standards, the biggest difference between IE and all the other browsers is that it lets you get away with stuff that isn't standards compliant
most of the stuff I have read where people were having problems with FF were when trying to use align, IE supports align for COL, but it is not in the HTML spec so FF does not support it. It is a huge debate as to whch is correct, but to standards it is FF that is correct in not implementing align, and IE that is wrong.
just because something works in IE doesn't allways mean that it is following standards, the biggest difference between IE and all the other browsers is that it lets you get away with stuff that isn't standards compliant
most of the stuff I have read where people were having problems with FF were when trying to use align, IE supports align for COL, but it is not in the HTML spec so FF does not support it. It is a huge debate as to whch is correct, but to standards it is FF that is correct in not implementing align, and IE that is wrong.
Postet den
Last I checked align was a part of the spec... but anyway, Gecko is the only rendering engine that doesn't fully support styling (I can change the background but not the text color - WTF?), alignment, and a few other items. Opera handles it like a champ. IE handles it fine. Safari/Chrome works great too. Just Fx has problems. Though to be fair, it seems to be the Gecko engine in particular.
Anyway, I'm trying to set the column's alignment and some other styling without having to repeat the code over each <td>. That way if I change my mind its a lot easier to fix it later.
Anyway, I'm trying to set the column's alignment and some other styling without having to repeat the code over each <td>. That way if I change my mind its a lot easier to fix it later.
Postet den
alignment is NOT part of the CSS2 spec for COL it supports border,width, backcground and visibility.
Gecko is the only rendering engine that doesn't fully support styling (I can change the background but not the text color - WTF?)That is as per the spec, so no problem their it is IE that is wrong in allowing it not FF for not allowing it, this is why we have a browser problem with the WWW because some browsers allow you to do things that are not part of the standard.
Postet den
I see - we're both talking about alignment, but you're talking using CSS's align property, and I'm talking about the good ole "<col align="whatever" />" - which (last I checked) is listed as kosher at www.w3c.org.
And again, its not just IE that supports it - I mentioned IE as the more ironic browser supporting it. You'd think if it wasn't right the standard zanies over at Opera wouldn't support it either.
Edit: I should add that I'll go back and look closer at the other styles I'm trying to apply. I could have sworn that it was supposed to be that way...
And again, its not just IE that supports it - I mentioned IE as the more ironic browser supporting it. You'd think if it wasn't right the standard zanies over at Opera wouldn't support it either.
Edit: I should add that I'll go back and look closer at the other styles I'm trying to apply. I could have sworn that it was supposed to be that way...
Sist redigert av
Postet den
ok, got ya
you should be able to use CCS though, something like this should set the second col to align center.
td:first-child+td{text-align:center;}
you should be able to use CCS though, something like this should set the second col to align center.
td:first-child+td{text-align:center;}
Email Member
Message Member
Post Moderation
Filopplasting
If you're having problems uploading, try choosing a smaller image.
Forhåndsvis post
Send Topic
Loading...