Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 09:58 am EST

Geeklog Forums

Story Picture - Removing Border?


Status: offline

Nekura

Forum User
Newbie
Registered: 06/16/03
Posts: 2
Where is the code that generates the HTML for pictures in articles?

I'm trying to add a "border=0" to the image tag in order to remove the border around them when they're linked, but can't seem to find that piece of code anywhere.

Thanks!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Nekura: Where is the code that generates the HTML for pictures in articles?

In admin/story.php

Another solution that doesn't require code changes would be to add this to your style.css:
Text Formatted Code
img {
  border: 0;
}
 

bye, Dirk
 Quote

Status: offline

Nekura

Forum User
Newbie
Registered: 06/16/03
Posts: 2
I went the style sheet route and it did the trick perfectly. THANKS!
 Quote

Status: offline

kevinolean

Forum User
Newbie
Registered: 05/10/05
Posts: 6
Location:Cheshire, CT
thanks...i had been trying to figure this out for a while and stumbled upon this thread while searching for something else.

worked like a charm!

Big Celebration
 Quote

All times are EST. The time is now 09:58 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