Spare goggles
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Latest topics
» Gateway Timeout Errors
by von Corax Wed Dec 20, 2023 2:06 am

» We seem to be down again
by von Corax Sun Sep 24, 2023 3:42 pm

» Yet Another Upgrade: Saturday, 2 September 2023
by von Corax Sat Sep 02, 2023 9:58 pm

» Major Announcement: The Great Migration is Done!
by von Corax Sat Aug 19, 2023 9:13 pm

» If you're attempting to register at Brass Goggles…
by von Corax Fri May 26, 2023 5:30 am

» My Account on the Main Forum Has a Problem; Need Help
by Sorontar Fri Apr 28, 2023 5:57 pm

» Sceduled Server Maintenance
by von Corax Fri Feb 03, 2023 6:02 am

» Major Software Upgrade Wednesday June 8, 2022
by von Corax Thu Jun 09, 2022 6:23 pm

» Writing a Book...!
by Sarahsteam Fri Apr 01, 2022 10:26 am

» Subject: STEAMPUNK!
by Bartholomew Thatch Sat Feb 26, 2022 1:17 am

» Scheduled Maintenance Saturday Feb 19, 2022 @ 12:00 Noon EST
by Lazaras Sun Feb 20, 2022 12:49 am

» New Brass Goggles Administrator
by Xenos Thu Feb 10, 2022 7:21 am

» New member introduction thread.
by Avalon Skyboat Wed Feb 09, 2022 4:24 am

» Unexpected Change of Nationality?
by Xenos Tue Feb 08, 2022 6:34 pm

» How was your day thread (continued)
by Xenos Tue Feb 08, 2022 6:06 pm

» We Have Reached Peak Beard!
by Xenos Tue Feb 08, 2022 10:45 am

» Choose your Favorite Spare Goggles Emoticon!
by von Corax Tue Feb 08, 2022 2:02 am

» I hereby declare this a wizard-free zone
by The Corsair Mon Feb 07, 2022 3:29 am

RSS feeds


Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 


Statistics
We have 731 registered users
The newest registered user is vastfrontierz

Our users have posted a total of 8204 messages in 708 subjects

Any CSS experts here?

5 posters

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

Number of posts : 229
Age : 79
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
Ætheric engineer (admin)

Number of posts : 196
Location : The Darkest Depths of the Deforested City, Canada
Flag : 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 ...
OldProfessorBear
OldProfessorBear
Ætheric engineer (admin)

Number of posts : 229
Age : 79
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
OldProfessorBear
OldProfessorBear
Ætheric engineer (admin)

Number of posts : 229
Age : 79
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 : Australia
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;}
OldProfessorBear
OldProfessorBear
Ætheric engineer (admin)

Number of posts : 229
Age : 79
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 : 34
Flag : European Union
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.
OldProfessorBear
OldProfessorBear
Ætheric engineer (admin)

Number of posts : 229
Age : 79
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


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