Welcome to Geeklog Wednesday, June 26 2019 @ 12:21 am EDT

Geeklog Forums

Story Picture - Removing Border?


Status: offline

Nekura

Forum User
Newbie
Registered: 16/06/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!

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/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:
PHP Formatted Code
img {
  border: 0;
}
 

bye, Dirk

Status: offline

Nekura

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

Status: offline

kevinolean

Forum User
Newbie
Registered: 10/05/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!


All times are EDT. The time is now 12:21 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