Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Hardware / Software. |
User | Post | ||||||
HyperHacker Posts: 389/5072 |
Originally posted by Rankatt That's most likely an issue of the CSS itself (and external images) taking a while to load. The main difference is that @import loads asynchronously, meaning if it's slow or fails to load, other things keep going. Link rel is meant for local files, and will wait for the download to finish before moving on, so if the file's not there, it can take quite a while. Of course, no matter which method you use, a slow connection will, as its description implies, be slow. Putting the CSS right in your layout avoids the loading time issue, but has two other problems:
| ||||||
Elric Posts: 139/164 |
The use of CSS in layouts, and/or @import , has never once slowed my down. link rel , on the other hand, has practically shut things down, as it sucks.
So yes, you can use CSS. Either embed it directly into your post header, or call it remotly using < . | ||||||
Sukasa Posts: 238/2068 |
I just use <Hiryuu |
Posts: 805/2480 Actually, it's just as slow, especially for those that are stuck using 56K. External CSS usage is going to bog down things when used no matter what the method.
| If you keep it in your layout, it works the fastest, but at the same time you also have to deal with quite a bit of code if you have a long style list. HyperHacker |
Posts: 372/5072 Sure, I'm using it right now. Just use @import. The other method tends to cause slowdown if the server it's hosted on is slow. | Cruel Justice |
Posts: 437/1637 Before I go and screw anything up, can people use CSS in their layouts? | |