Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 02:37 pm EDT

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 EDT. The time is now 02:37 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