Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - CSS style sheet disabled by default
  
User name:
Password:
Reply:
 

UserPost
HyperLamer
Posts: 4495/8210
[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 {
border: 4px #209020 ridge;
}

.navbar td {
border: 2px dashed #FFC0C0;
}

.navbar td {
border: 1px dotted #4080C0;
}


The table:
<table class="navbar" width=100%><tr> <!-- navbar -->
<td><a href="index.html">Home</a></td>
[...]

(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 *
Acmlm's Board - I2 Archive - Programming - CSS style sheet disabled by default


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.009 seconds.