Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 09:29 am EST
Geeklog Forums
how to put border around my images, but not logo?
CSS Help
Anonymous
Hello. I'm new to CSS. I get how it works, but I'm simply not very good yet. I pulled the stylesheet for my theme and searched for img. I then added:
padding:1px;
border:1px solid #021a40;
....Works great, except.. it puts a border around my logo, as well. I searched for logo, found .header-logo and added:
but it just pretty much ignores that.
How can I specify that I want my images in my submissions to have a border, but not my logo?
Thanks in advance.
Text Formatted Code
padding:1px;
border:1px solid #021a40;
....Works great, except.. it puts a border around my logo, as well. I searched for logo, found .header-logo and added:
Text Formatted Code
border:0px;How can I specify that I want my images in my submissions to have a border, but not my logo?
Thanks in advance.
7
7
Quote
Status: offline
suprsidr
Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
try
.story-container img {
border:1px solid #021a40;
}
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
Text Formatted Code
.story-container img {
border:1px solid #021a40;
}
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
7
4
Quote
Status: offline
1000ideen
Forum User
Full Member
Registered: 08/04/03
Posts: 1298
In the 'professional' theme I succeeded with this:
border:1px solid red;
}
It just puts a border also around the icon. How to prevent this? Looks like the image and also icons in a story need 2 separate classes.
Text Formatted Code
.story-body img {border:1px solid red;
}
It just puts a border also around the icon. How to prevent this? Looks like the image and also icons in a story need 2 separate classes.
8
7
Quote
All times are EST. The time is now 09:29 am.
- 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