Tuesday, September 11
Tweaky Tweaky
I had one small problem left with the theme builder: Once you started using it on a theme-builder based site, the little colour-picker boxes would scoot over to the right of the screen. This also happened to the menus in the editor. The editor has an adjustment value that lets you fix this, but the colour picker doesn't.
As it turns out, this happens if you use the editor or colour picker inside a div with relative or absolute positioning. And as it also turns out, I don't need to do that for the editing pages. The new stylesheet introduces a contents div that lives within the existing main div. The contents div has to be relative-position, so that I can manipulate the absolute positioning of the sidebars within the contents area rather than within the entire browser window. (The content columns are still relative, because absolute positioning introduces its own problems).
But the edit screens haven't changed - they're the same whether you use the theme builder or not - and thus don't use the contents div, so by simply removing the relative positioning specifier on the main div all the edit features are fixed again.
Only problem is that the same editor is used for comments, and is in the contents div pretty much of necessity. If you check the colour pickers in my comments right now, they're way off to the right - and the positioning error depends on the width of the browser window!
Aargh.
Alright, I can fix this. But if you resize your browser window while you are commenting, you're on your own.
Comments are disabled.
Post is locked.
I had one small problem left with the theme builder: Once you started using it on a theme-builder based site, the little colour-picker boxes would scoot over to the right of the screen. This also happened to the menus in the editor. The editor has an adjustment value that lets you fix this, but the colour picker doesn't.
As it turns out, this happens if you use the editor or colour picker inside a div with relative or absolute positioning. And as it also turns out, I don't need to do that for the editing pages. The new stylesheet introduces a contents div that lives within the existing main div. The contents div has to be relative-position, so that I can manipulate the absolute positioning of the sidebars within the contents area rather than within the entire browser window. (The content columns are still relative, because absolute positioning introduces its own problems).
But the edit screens haven't changed - they're the same whether you use the theme builder or not - and thus don't use the contents div, so by simply removing the relative positioning specifier on the main div all the edit features are fixed again.
Only problem is that the same editor is used for comments, and is in the contents div pretty much of necessity. If you check the colour pickers in my comments right now, they're way off to the right - and the positioning error depends on the width of the browser window!
Aargh.
Alright, I can fix this. But if you resize your browser window while you are commenting, you're on your own.
Posted by: Pixy Misa at
02:39 AM
| Comments (1)
| Add Comment
| Trackbacks (Suck)
Post contains 271 words, total size 2 kb.
46kb generated in CPU 0.0567, elapsed 0.17 seconds.
56 queries taking 0.1591 seconds, 350 records returned.
Powered by Minx 1.1.6c-pink.
56 queries taking 0.1591 seconds, 350 records returned.
Powered by Minx 1.1.6c-pink.