Latest topics
» Here we go again?
by Siliconous Skumins Fri Aug 19, 2016 7:21 am

» About to go into battle
by rovingjack Thu Aug 18, 2016 10:13 am

» How was your day thread (continued)
by rovingjack Thu Aug 18, 2016 3:44 am

» Spare goggles Exploration Journal entries
by rovingjack Thu Aug 18, 2016 3:30 am

» Return to the Clocktower...
by The Bullet Sat Aug 13, 2016 10:47 am

» Is BG Down Again?
by GCCC Mon Feb 29, 2016 9:33 pm

» Things to do while Brassgoggles is down
by GCCC Mon Feb 29, 2016 9:28 pm

» Van living, fulltime RV
by rovingjack Mon Feb 29, 2016 10:36 am

» Due to High stress on the server, the site is temporarily unavailable."
by mwbaaailey Thu Nov 19, 2015 5:03 pm

» Rogues Gallery Incidental
by mwbaaailey Fri Dec 19, 2014 8:06 am

» Brass-Gogglers -
by J. Wilhelm Wed Oct 29, 2014 4:58 am

» BG down - domain expired
by oldskoolpunk Tue Oct 28, 2014 10:20 am

» Also found the way....
by The Bullet Mon Oct 27, 2014 12:20 pm

» So... anyone got something to talk about in the meantime?
by Mercury Wells Sat Oct 25, 2014 10:00 pm

» Is Brass Goggles down again?
by Argus Fairbrass Sat Jun 28, 2014 8:46 am

» Here we Go Again?
by mwbaaailey Thu May 08, 2014 11:34 pm

» We Have Reached Peak Beard!
by Captain Lyerly Sun May 04, 2014 4:23 am

» Heartbleed?
by Argus Fairbrass Thu Apr 24, 2014 4:20 am

RSS feeds


Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 


Statistics
We have 626 registered users
The newest registered user is Will Rockwell

Our users have posted a total of 7575 messages in 659 subjects

Any CSS experts here?

View previous topic View next topic Go down

Any CSS experts here?

Post  OldProfessorBear on Tue Oct 21, 2008 4:31 am

The reason I ask is that I suspect it might be possible to fix the issue that chops images off at the fixed width of the message text.

I have looked at the CSS for the forum, and it does not illuminate the issue for me. But then, I am an old HTML stick-in-the-mud and never had any truck with this new-fangled stuff.

If you think you might be able to shed some light on the problem, please respond.

(I tried to include the CSS in this post, but it is too long.)

_________________
Bill P, Nul.D. (Unseen U.), Restorer of Old Photographs,
Sexagenarian Boy Genius and SUPREME NERD GOD!!! (score=98!)
Down in the Bear Cave under Cantabrigia Castle, Geekhaven, MA, US
avatar
OldProfessorBear
Ętheric engineer (admin)

Number of posts : 229
Age : 73
Location : Cambridge, MA, US
Registration date : 2008-09-12

View user profile

Back to top Go down

Re: Any CSS experts here?

Post  von Corax on Tue Oct 21, 2008 5:00 am

I say, that is a truly porcine css file!

EDIT: A cursory inspection shows several (!) entries of the form
Code:
.content: {
    blah;
    blah;
    overflow: hidden;
    ...
}
which, as I understand it, says to clip off anything which falls outside the container's bounding box. In theory, either changing each of these to
Code:
overflow: scroll;
or following each one with
Code:
.content img {
    overflow: scroll;
}
might do the trick.

If you do so, however, I fear you risk running afoul of Campbell's Law of Interconnectedness — this monstrosity of a css file is over 4700 lines (not a typo) in length, and that is just TOO BLASTED BIG!


Last edited by von Corax on Tue Oct 21, 2008 5:50 am; edited 1 time in total

von Corax
officer
officer

Number of posts : 95
Location : The Wilds Beyond the Deforested City, Canada
Flag :
Registration date : 2008-09-15

View user profile

Back to top Go down

Re: Any CSS experts here?

Post  OldProfessorBear on Tue Oct 21, 2008 5:39 am

Very Happy It's loaded with special code for IE (and to a lesser extent for Opera), which may or may not make the difference.

At any rate, I was poking about in the admins' forum and found a bit of code that seems to work: it still restricts the width of any picture to 800, but now it shrinks them instead of just chopping them off.

This is not the solution I was looking for, which would be a horizontal scrolling-based fix.

I shall continue to troll the admins' forum.

Oh, I also found a hack for adding national flags, if anybody really wants them. It seems to have some unusual ones, such as Wales and the Olympics flag for whatever reason ...

_________________
Bill P, Nul.D. (Unseen U.), Restorer of Old Photographs,
Sexagenarian Boy Genius and SUPREME NERD GOD!!! (score=98!)
Down in the Bear Cave under Cantabrigia Castle, Geekhaven, MA, US
avatar
OldProfessorBear
Ętheric engineer (admin)

Number of posts : 229
Age : 73
Location : Cambridge, MA, US
Registration date : 2008-09-12

View user profile

Back to top Go down

Re: Any CSS experts here?

Post  OldProfessorBear on Tue Oct 21, 2008 6:18 am

Yikes.

Now it seems to be displaying arbitrary flags ... I shall shut it off again!


[edit] Fixed flags. See that thread.


Last edited by OldProfessorBear on Tue Oct 21, 2008 12:10 pm; edited 1 time in total

_________________
Bill P, Nul.D. (Unseen U.), Restorer of Old Photographs,
Sexagenarian Boy Genius and SUPREME NERD GOD!!! (score=98!)
Down in the Bear Cave under Cantabrigia Castle, Geekhaven, MA, US
avatar
OldProfessorBear
Ętheric engineer (admin)

Number of posts : 229
Age : 73
Location : Cambridge, MA, US
Registration date : 2008-09-12

View user profile

Back to top Go down

Re: Any CSS experts here?

Post  Dr. Oliver Cross on Tue Oct 21, 2008 12:02 pm

I need to learn more about computers, it seems. When I read the title of this thread, refering as it does to the term "CSS", I came in here fully expecting to see information on the Confederate Navy!

Dr. Oliver Cross
officer
officer

Number of posts : 85
Flag :
Registration date : 2008-09-13

View user profile

Back to top Go down

Re: Any CSS experts here?

Post  OldProfessorBear on Tue Oct 21, 2008 12:36 pm

Oh me bleedin' eyeballs. I just had another look at the CSS, and it's not at all obvious where one might (and might not) want to insert the scrolling code.

Incidentally, looking at the admins' forum, there are a number of complaints about oversized pictures distorting the forum, i.e., making the page itself too wide. How it is that we have the inverse problem I do not know, though I suppose it has to do with the different board styles that are available when you set it up.

The line I inserted at the end of the CSS, which automagically resizes too-wide pictures is simply this:

Code:
.post img{max-width: 800px;}

_________________
Bill P, Nul.D. (Unseen U.), Restorer of Old Photographs,
Sexagenarian Boy Genius and SUPREME NERD GOD!!! (score=98!)
Down in the Bear Cave under Cantabrigia Castle, Geekhaven, MA, US
avatar
OldProfessorBear
Ętheric engineer (admin)

Number of posts : 229
Age : 73
Location : Cambridge, MA, US
Registration date : 2008-09-12

View user profile

Back to top Go down

Re: Any CSS experts here?

Post  Pheobsky on Tue Oct 21, 2008 6:05 pm

I was having a poke about with the CSS on Saturday morning (UK time) & was rtying to work out how one would go about making the upper-background dissapear, so you could see the paisly underneath- anyone got any ideas? (1/2 the problem is finding the corresponding code- but that I can work out by trial & error)
avatar
Pheobsky
Ętheric engineer (admin)

Number of posts : 125
Age : 27
Registration date : 2008-09-12

View user profile http://sparegoggles.forumotion.net

Back to top Go down

Re: Any CSS experts here?

Post  VonHart on Tue Oct 21, 2008 6:15 pm

OldProfessorBear wrote:Oh me bleedin' eyeballs. I just had another look at the CSS, and it's not at all obvious where one might (and might not) want to insert the scrolling code.

Incidentally, looking at the admins' forum, there are a number of complaints about oversized pictures distorting the forum, i.e., making the page itself too wide. How it is that we have the inverse problem I do not know, though I suppose it has to do with the different board styles that are available when you set it up.

The line I inserted at the end of the CSS, which automagically resizes too-wide pictures is simply this:

Code:
.post img{max-width: 800px;}

Well, that definitely fixed the problem I was complaining about earlier. Thanks!!
avatar
VonHart
gunner
gunner

Number of posts : 49
Registration date : 2008-09-24

View user profile

Back to top Go down

Re: Any CSS experts here?

Post  OldProfessorBear on Wed Oct 22, 2008 1:21 am

If your browser has the capability (may require a plugin), you should be able to right-click on any resized picture and see it full-size in another window/tab.

Just a tip.

_________________
Bill P, Nul.D. (Unseen U.), Restorer of Old Photographs,
Sexagenarian Boy Genius and SUPREME NERD GOD!!! (score=98!)
Down in the Bear Cave under Cantabrigia Castle, Geekhaven, MA, US
avatar
OldProfessorBear
Ętheric engineer (admin)

Number of posts : 229
Age : 73
Location : Cambridge, MA, US
Registration date : 2008-09-12

View user profile

Back to top Go down

Re: Any CSS experts here?

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum