Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 05:52 pm EST

Geeklog Forums

picture and text to close to eachother


Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
I just put same sample story on my page and u can see that text is too close to my picture

so what to do

is there a solution

please hurry
 Quote

stevelucky

Anonymous
try putting the tag

between the image and your text. that should fix it.

 Quote

stevelucky

Anonymous
try putting the tag <p> between the image and your text. that should fix it.
 Quote

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
no it doesnt do anything good

it must be css can somebody help

 Quote

Status: offline

stevelucky

Forum User
Junior
Registered: 05/25/05
Posts: 17
oh, i see. i hadn't checked out the site first. i'm not sure. did this just start happening? none of the other stories have that issue.
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
you other story images are separated from the text by table cells. because the top story (i assume that is the one you are talking about) is just the 'regular' format, I suggest adding some padding to your css rule for the image.

try:
Text Formatted Code

.storycontent img {padding: 2px;}

 
 Quote

Jeff

Anonymous
I know this is a very old post.. but facing the same issue. When I add my featured story, there's no padding around the image. I used firebug to determine where it's pulling the image attributes from in the css file. If I add 3pm of padding around the pic, it also adds that to my header image (which creates a very poor looking misplaced horizontal line). Is there a way I can specify that just the stories get picture padding?

I'm using the 'Colors' theme.

Current style shows:

Text Formatted Code
.story-body {
  /* this is the actual content of the story */
  padding:3px;
}
 Quote

Jeff

Anonymous
Nevermind.. I finally figured out it was the floatleft class. Just figuring out css. Thanks though..
 Quote

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