You are not logged in.

#1 2009-10-08 03:43:55

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

A simple question about CSS and this forum (uzbl) [SOLVED]

I got a basic font setup for uzbl that's mostly working for me following Nezmer's suggestion in post #16 of this thread:

http://bbs.archlinux.org/viewtopic.php?id=62236

html,body,* {   
        font:"DejaVu Sans" !important ;
        font-family:"DejaVu Sans", sans-serif !important ;
        font-family:"DejaVu Sans", serif !important ;
        font-family:"DejaVu Sans", monospace !important ;
        font-size:13px;
}

It works like I want it to everywhere that I've seen so far except for the tags in forums. For example, if something is wrapped in "code" tags, the font is much larger than 13px and not monospace. What do I need to do to get it right?

--EDIT--

I don't understand it, but the 'html,body,*' setup was screwing things up with the 'pre' tag. This one is working:

body 
{   
        font:"DejaVu Sans" !important ;
        font-family:"DejaVu Sans", sans-serif !important ;
        font-family:"DejaVu Sans", serif !important ;
        font-family:"DejaVu Sans", monospace !important ;
        font-size:13px;
}        

pre
{
   font-family:"DejaVu Sans Mono", monospace !important ;
   font-size:13px;
}

Offline

Board footer

Powered by FluxBB