gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

OffTopic > phpBB2

#25127 - pollier - Tue Aug 17, 2004 4:45 am

Just letting the admins know that you can save a little chunk of bandwidth from these forums by moving all the CSS forum stuff into another file. Rather than having to resend the stylesheets everytime you view a forum page, why not use the premade css file? Just uncomment this bit:
Code:

<!-- link rel="stylesheet" href="templates/subSilver/subSilver.css" type="text/css" -->

and delete the style block in templates/subSilver/overall_header.tpl. meh, just a suggestion.
_________________
(Works for me!)

#25131 - tepples - Tue Aug 17, 2004 5:24 am

pollier wrote:
Code:

<!-- link rel="stylesheet" href="templates/subSilver/subSilver.css" type="text/css" -->

I've read that in order to hide CSS from really crashy browsers, it's better to @import a stylesheet than to <link> to it:
Code:
<style type="text/css"><!--
@import "de.css";
--></style>

_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#25181 - pollier - Tue Aug 17, 2004 8:21 pm

That's true... it depends on whether or not phpBB2 has support for really crashy browsers. I would assume that they might, but you never know. Myself I hate writing CSS for those dinosaurs...
_________________
(Works for me!)