(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
06-16-24 08:38 PM
0 users currently in Hardware / Software.
Acmlm's Board - I3 Archive - Hardware / Software - CSS in layouts? New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Cruel Justice
I have better things to do.


 





Since: 11-18-05
From: At my house!

Last post: 6328 days
Last view: 6328 days
Posted on 12-26-05 11:44 PM Link | Quote
Before I go and screw anything up, can people use CSS in their layouts?
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6328 days
Last view: 6328 days
Posted on 12-26-05 11:54 PM Link | Quote
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.
Hiryuu

Sword Maiden
Retired Admin








Since: 11-17-05
From: Nerima District - Tokyo, Japan

Last post: 6328 days
Last view: 6328 days
Posted on 12-27-05 11:51 AM Link | Quote
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.
Sukasa

Birdo
Not quite as active as before.
Xkeeper supporter
Xk > ||bass
I IP Banned myself! Twice!








Since: 11-17-05
From: Somewhere over there

Last post: 6328 days
Last view: 6327 days
Posted on 12-27-05 01:44 PM Link | Quote
I just use <style type="text/css">@import:"url"</style>
Elric

Octoballoon


 





Since: 11-18-05
From: Melniboné

Last post: 6726 days
Last view: 6357 days
Posted on 12-27-05 01:45 PM Link | Quote
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 <style>@import url(http://url.to/your.css);</style>.
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6328 days
Last view: 6328 days
Posted on 12-28-05 03:42 AM Link | Quote
Originally posted by Rankatt
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.

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:
  • You have to remove all line breaks before adding it.
  • The code is repeated in every post, adding to the page filesize. It's not a huge difference, but it does add up on a slow connection.



(edited by HyperHacker on 12-28-05 02:44 AM)
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - Hardware / Software - CSS in layouts? |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.011 seconds; used 375.74 kB (max 454.41 kB)