Click to See Complete Forum and Search --> : Awesome Mozilla/Firefox Plugin!
Exuro
02-22-2005, 07:58 PM
As I was browsing the forum today I got annoyed with the fact that if a single post on a page has a line that runs way out of the horizontal window bounds, then the entire page gets all screwed up and you have to keep scrolling back and forth to read the posts on the page. So I did some searching, and I found this extension!
http://extensionroom.mozdev.org/more-info/uriid/
It allows you to edit your userContent.css file and add domain-specific CSS rules! Here's what I added to mine:
.uriid-www-webdeveloper-com blockquote {
max-width:700px !important;
overflow:auto !important;
}
.uriid-www-webdeveloper-com p {
max-width:790px !important;
overflow:auto !important;
}
You'll of course have to edit the dimensions to suite your screen resolution. Anyway, I hope other people find this as helpful as I did!
Edit: Oops! Why'd I say "plugin" instead of "extension"???
the tree
02-23-2005, 05:21 AM
Doesn't the webdeveloper extension allow this anyway?
Exuro
02-23-2005, 07:54 PM
Originally posted by the tree
Doesn't the webdeveloper extension allow this anyway?
It allows for user stylesheets, but you have to re-append the stylesheet every time you open the browser, and it's not domain-specific. If there is a way to do it though, that I don't know about, please tell!
Ben Rogers
02-26-2005, 12:10 PM
Heh... that's a useful extension, but I find that blowing off people who don't take the time to make sure people can easily read their posts (you're asking for help, why not preview it before you post?) is much better. Until the forum allows flaming them, it'll have to do.
EDIT- Actually, in combo with Sam's style sheet (http://www.webdeveloper.com/forum/showthread.php?threadid=42363) this could prove rather useful. Read: Thanks.
Exuro
02-26-2005, 03:58 PM
Originally posted by Ben R.
(you're asking for help, why not preview it before you post?) Unfortunately, sometimes previewing doesn't help. IE does word wrapping differently than Mozilla, so sometimes things that go off the right margin of the page in Mozilla disply completely differently in IE. :(
Exuro
03-25-2005, 06:18 PM
With the vBulletin update I had to redo my custom style rules again. I thought I'd post them if anyone wants them. Anyway, here you go:
#www-webdeveloper-com .tborder .alt2 table td[width="100%"] + td {
/* alignment of join date cell */
text-align:right;
}
#www-webdeveloper-com .tborder .alt2 table .alt2 {
/* width of avatar cell */
width:55px;
}
#www-webdeveloper-com .tborder .alt2 table td {
/* spacing between username cell and join date cell */
width:600px;
}
/* if the text in the actual post is too wide */
#www-webdeveloper-com .tborder .alt1 div:first-child:not(.smallfont) {
margin-bottom:-16px;
max-width:975px;
padding-bottom:16px;
overflow:auto;
}
/* if the text in a quote or something is too wide */
#www-webdeveloper-com .tborder td:not(.panelsurround|[colspan=2]) div div {
margin-bottom:-16px;
max-width:920px !important;
padding-bottom:16px;
overflow:auto;
}
/* code blocks 'n stuff */
#www-webdeveloper-com .tborder div .alt2 {
width:98% !important;
max-width:920px !important;
}
/* disables scrolling for divs inside code blocks */
#www-webdeveloper-com .tborder div pre.alt2 div {
overflow:visible !important;
max-width:100%;
}
Edit: I've managed to fix a few bugs that initally caused scrollbars to display in unwanted places. It seems to be much more reliable now :D!