Forum Thread
  Posts  
Removal of first line spacing in mod-summary (Forums : Support : Removal of first line spacing in mod-summary) Locked
Thread Options
Too-Off
Too-Off Bub
Jan 2 2016 Anchor

Hi all

I would like to know, how the spacing between the top-end of the mod-summary and the first pic featured therein could be removed.

Right now it looks like A. I would like it to look like B. I am aware that, the spacing is within the summary for text.

moddb

Spacing

My knowledge of html is rather poor. I tried a few things, but to no avail. If anyone knows an easy way how to do this, I'd be grateful.

Thanks a lot

--

It's never too late - unless it's too late...

Jan 2 2016 Anchor

Well, the site staff (admins) can remove that padded space for you. (Via kinda hard-code setting.)

Also, you can do it yourself by adding "margin-top: -12px" to your style attribute of the topmost element of your page. So for example if your image is at the very top, you have to make your img html tag look like < img style="margin-top: -12px;" src="yourimglink" /> so in this case:

<img src="https://media.moddb.com/images/mods/1/29/28379/GP-Description_B.jpg" alt="" width="950" height="326" style="margin-top: -12px;" />
Too-Off
Too-Off Bub
Jan 2 2016 Anchor

Hi feillyne

Thank you for your reply. I just tried your code, but it only cuts off a bit of the top of the image. But the image isn't even padded, it's just treated like it was the first line of text, which, for text makes sense. Well, if an admin can do that, that'd be great.


Thanks and greetz

--

It's never too late - unless it's too late...

Jan 2 2016 Anchor

It only cuts off a bit of the image in the editor, not on the page. If you save it with that coded in and check your main mod page, you will see.

Too-Off
Too-Off Bub
Jan 2 2016 Anchor

YOU'RE RIGHT!!! FANTASTIC!!! THANK YOU SO MUCH!!!


By the way, I like that "READ MORE" feature. Looks much more tidy now.

Edited by: Too-Off

--

It's never too late - unless it's too late...

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.