Spare goggles
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Latest topics
» We seem to be down again
by von Corax Fri Feb 26, 2021 10:38 am

» Return to the Clocktower...
by Mercury Wells Thu Feb 25, 2021 11:06 pm

» How was your day thread (continued)
by Ottens Thu Feb 25, 2021 9:59 pm

» About to go into battle
by rovingjack Thu Feb 25, 2021 6:41 am

» cloth-wrapped USB Cables
by Keith_Beef Wed Nov 04, 2020 5:23 pm

» IMPORTANT: IT SEZ HERE ...
by Keith_Beef Tue Nov 03, 2020 11:08 am

» Spare thingies...
by LordPentecost Mon Sep 21, 2020 12:20 pm

» 9:30 PM MDT Is BG down again?
by prof marvel Sun Sep 20, 2020 6:32 am

» New Administrator
by SeVeNeVeS Sat Sep 05, 2020 4:18 pm

» Another problem
by Ottens Mon Aug 31, 2020 6:42 pm

» PROBLEM WITH FORUM FOR TWO MONTHS
by mwbaaailey Sun Nov 03, 2019 5:17 am

» BG Is Back Up
by RockyB Thu Oct 31, 2019 4:41 pm

» BG down yet again?
by mwbaaailey Wed Oct 30, 2019 7:20 pm

» Here we go again?
by RockyB Thu Mar 29, 2018 1:17 pm

» Spare goggles Exploration Journal entries
by rovingjack Thu Aug 18, 2016 3:30 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

RSS feeds


Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 


Statistics
We have 712 registered users
The newest registered user is LordPentecost

Our users have posted a total of 7700 messages in 667 subjects

Any CSS experts here?

Go down

Any CSS experts here? Empty Any CSS experts here?

Post  OldProfessorBear 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
OldProfessorBear
OldProfessorBear
Ætheric engineer (admin)

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

Back to top Go down

Any CSS experts here? Empty Re: Any CSS experts here?

Post  von Corax 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 : 101
Location : The Darkest Depths of the Deforested City, Canada
Flag : Any CSS experts here? Canada
Registration date : 2008-09-15

Back to top Go down

Any CSS experts here? Empty Re: Any CSS experts here?

Post  OldProfessorBear 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
OldProfessorBear
OldProfessorBear
Ætheric engineer (admin)

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

Back to top Go down

Any CSS experts here? Empty Re: Any CSS experts here?

Post  OldProfessorBear 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
OldProfessorBear
OldProfessorBear
Ætheric engineer (admin)

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

Back to top Go down

Any CSS experts here? Empty Re: Any CSS experts here?

Post  Dr. Oliver Cross 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 : Any CSS experts here? AntiguaBarbuda
Registration date : 2008-09-13

Back to top Go down

Any CSS experts here? Empty Re: Any CSS experts here?

Post  OldProfessorBear 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
OldProfessorBear
OldProfessorBear
Ætheric engineer (admin)

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

Back to top Go down

Any CSS experts here? Empty Re: Any CSS experts here?

Post  Administrator 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)
Administrator
Administrator
Ætheric engineer (admin)

Number of posts : 126
Age : 31
Registration date : 2008-09-12

https://sparegoggles.forumotion.net

Back to top Go down

Any CSS experts here? Empty Re: Any CSS experts here?

Post  VonHart 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!!
VonHart
VonHart
gunner
gunner

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

Back to top Go down

Any CSS experts here? Empty Re: Any CSS experts here?

Post  OldProfessorBear 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
OldProfessorBear
OldProfessorBear
Ætheric engineer (admin)

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

Back to top Go down

Any CSS experts here? Empty Re: Any CSS experts here?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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