Banner
Views: 852,738,347
Time:
31 users online: ASMagician Maks, autisticsceptile1993, BlueSkye209, Brutapode89, codfish1002, Dark Prince, Djief, Freitasth, Golden Yoshi, Green Jerry, James555, KaidenThelens, kaigem, Katrina,  Koopster, LOLRyan2006 the Goombud, LordFurafura,  MarioFanGamer, MarioriaM, Metballs, MiracleWater, NINTENLUIGI, obersteiner86, Rykon-V73, Sancles, ScatmanJones49, singlepat, supermargot, WhiteYoshiEgg, XGAMER 2009, Zidan3 - Guests: 135 - Bots: 60 Users: 47,024 (2,525 active)
Latest: SiulLunar
Tip: Read Lunar Magic's help file and SMW Central's FAQ, as they cover most of the basics of SMW hacking.Not logged in.
Cropping out my layout
Forum Index - Valley of Bowser - Site Questions & Feedback - Cropping out my layout
Pages: « 1 »
As you can see in my layout, below the image below my post there is still part of a box where the post is. How do I crop out this?
Oh God, this layout's code looks really wrong
Ok, for starters. You really shouldn't use <img> in a layout, as it will either stretch the page or look cut off to anyone who doesn't have the exact resolution to suit your background image. Layouts should be made entirely by <div> tags. That level image should be in the parent <div> with bottom left repeat-x properties

Did you code this, or did someone else? I suggest a revision.

e: a big revision at that... it seems like the postbox's width is not even dynamic? what

--------------------
Twitter
Okay, I've set the image to be <div> image. I've also forced the post to be 820px in width so I don't have to make the postbox dynamic. Now how do I remove that thing below the level image?
Set the bottom padding of .dominicentekpost_bg to zero.

That said, your layout still needs a lot of work:

- The post content takes up maybe 10% of the vertical space (the rest is the signature box, which has too much focus on it because it looks the same as the post box, and the level screenshot, which has no business being this tall).
- The post box doesn't stretch to fit all of the available space, leaving a huge unnecessary gap on wide screens. Maybe look up how border-image works?
- The font you want to use does not show up for anyone except you, and if it did, it would make your posts really annying to read. Emulogic isn't meant for body text.

--------------------


 
Well, forcing the width of your postbox is pretty much just as bad as having an image. It still stretches my screen a little bit.

--------------------
Twitter
Originally posted by Koopster
Well, forcing the width of your postbox is pretty much just as bad as having an image. It still stretches my screen a little bit.

Well, I'm not that advanced in HTML coding to actually set the image to be dynamic. I need some sort of a tutorial.

Edit: Okay nvm I've just played around with padding and it should be good now.
Pages: « 1 »
Forum Index - Valley of Bowser - Site Questions & Feedback - Cropping out my layout

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy