Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 11:05 pm EST
Geeklog Forums
Images in Stories and borders
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
Hi there,
I am wondering if I post an image in a story via the [image1] type image upload. It has a border on it.
Normally with an img tag I will add border=0 but of course with [image1] I can not do this. How may I remove the border from my images that are posted in this manner?
Thank you
I am wondering if I post an image in a story via the [image1] type image upload. It has a border on it.
Normally with an img tag I will add border=0 but of course with [image1] I can not do this. How may I remove the border from my images that are posted in this manner?
Thank you
11
8
Quote
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
The easiest way would be to add:
{
border:0;
}
to your style.css file for each of your themes. This will, however, remove borders from all of your images on your site. Is this ok? Otherwise, you will have to hack core files.
EDIT:
Actually,
{
border:0;
}
would probably work.
Text Formatted Code
img{
border:0;
}
to your style.css file for each of your themes. This will, however, remove borders from all of your images on your site. Is this ok? Otherwise, you will have to hack core files.
EDIT:
Actually,
Text Formatted Code
.storybox(or whatever other class name your style uses to wrap its stories in) img{
border:0;
}
would probably work.
10
7
Quote
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
Thank you thank you,
I appreciate all your assistance.
I appreciate all your assistance.
9
8
Quote
Status: offline
jenocin
Forum User
Newbie
Registered: 06/22/04
Posts: 5
CSS code didn't seem to work the way it was. People might have better luck with
.noborder img {border:0;}
.noborder img {border:0;}
Quote by geKow: Or you can go one step further and create a noborder style
.noborder { border:0; }
And juse it when you need it, this way:
<span class="noborder">[image1]</span>
geKow
Text Formatted Code
.noborder { border:0; }
And juse it when you need it, this way:
Text Formatted Code
<span class="noborder">[image1]</span>
geKow
8
10
Quote
All times are EST. The time is now 11:05 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content