Created
May 18, 2011 17:11
-
-
Save nathansmith/979032 to your computer and use it in GitHub Desktop.
Tame Lithium's Center Tag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- | |
| Since Lithium is ghetto and wraps its entire | |
| template in a <center> tag, this is how I am | |
| wrestling back some measure of page control. | |
| --> | |
| </center> | |
| <!-- [Your template code here] --> | |
| <center> | |
| <!-- | |
| When the page is rendered, that yields: | |
| <center></center> | |
| [Your template code here] | |
| <center></center> | |
| And, kill off the tag entirely via CSS. | |
| center { | |
| display: none; | |
| } | |
| --> |
Author
Yeah. Definitely "enterprise" :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hilarious. Sounds like some quality stuff :P