Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - CSS style sheet disabled by default | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 4495/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
[edit #3] Worked out a PHP-based, non-Javascript theme selector (and navbar, so the entire site is in fact useable without JS, a nice bonus I hadn't expected ). Still having that border problem though. To clarify, the page uses multiple style sheets and toggles them on/off with Javascript, or in the non-JS case (where the problem still seems to occurr ) spits out a different link for each one.[/edit] [edit #1] Hm, there also seems to be some sort of problem with the switching. The code just disables all of them, then enables one. It seems to work but one particular class doesn't refresh entirely. It's a table whose border is a different size in each style sheet. For some reason after loading them all, the border is always 1 pixel. The themes define said table as such: .navbar td { The table: < < [...] (I'd post that in the code tag, but then the tag doesn't close. ) All the rest of it works fine, the table even changes colours and border styles, but it won't get any thicker. [edit #2] Actually it looks like it just sticks with whatever border size is defined in the first style sheet that gets loaded. (It remembers what style you used last.) If I start with the first theme, then it's always 4 pixels. *kicks the code tag for sucking * (edited by R2H2 on 05-14-05 10:55 PM) (edited by R2H2 on 05-14-05 10:59 PM) (edited by R2H2 on 05-14-05 11:00 PM) (edited by R2H2 on 05-14-05 11:01 PM) (edited by R2H2 on 05-14-05 11:02 PM) (edited by R2H2 on 05-15-05 02:18 AM) (edited by R2H2 on 05-15-05 02:19 AM) |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - CSS style sheet disabled by default | | | |