Game display

Announcements that go here will appear on the front page.

Moderators: Bob the Hamster, marionline, SDHawk

User avatar
camdog
Gameathon 2009 Winner
Posts: 194
Joined: Sun Oct 21, 2007 12:04 am

Post by camdog »

Code: Select all

<img src="example.png" height="40px" width="40px">
This works with CSS (and is preferable) too.

Code: Select all

<style>
.thumb &#123;
     height&#58; 40px;
     width&#58; 40px;
&#125;
</style>

<img src="example.png" class="thumb">
User avatar
Only One In All
Metal Slime
Posts: 356
Joined: Tue Oct 16, 2007 5:56 am
Contact:

Post by Only One In All »

Thank you! :)
User avatar
Mogri
Super Slime
Posts: 4598
Joined: Mon Oct 15, 2007 6:38 pm
Location: Austin, TX
Contact:

Post by Mogri »

That's close, but not quite what I did.

Code: Select all

<style>
.thumb &#123;
     max-height&#58; 200px;
     max-width&#58; 320px;
&#125;
</style>

<img src="myimg.png" class="thumb">
So smaller images can be displayed normally, but larger images will be constrained. This can affect the aspect ratio, but that's a tradeoff I'm willing to make.

EDIT: the style tag doesn't show up here :(
Last edited by Mogri on Wed Jul 30, 2008 4:15 pm, edited 1 time in total.
User avatar
RMZ
Liquid Metal Slime
Posts: 1441
Joined: Tue Oct 16, 2007 12:39 am
Contact:

Post by RMZ »

Maybe I'm a little late... but what the heck happened to the way the games are displayed? I mean, it's the same thing, but the fonts are different and all... boring looking. What was so wrong with the way it was, cause this looks awful.
User avatar
Mogri
Super Slime
Posts: 4598
Joined: Mon Oct 15, 2007 6:38 pm
Location: Austin, TX
Contact:

Post by Mogri »

The... fonts? I have no idea what you're talking about. The fonts are exactly the same.
User avatar
Twinconclusive
Liquid Metal Slime
Posts: 976
Joined: Mon Oct 15, 2007 6:45 pm
Location: Tabletop

Post by Twinconclusive »

I think it looks fine the way it is now, but could you center the screenshots/download-link?
&#9834;&#9834;&#9834; Du du duuuu &#9834;&#9834;&#9834;
User avatar
Mogri
Super Slime
Posts: 4598
Joined: Mon Oct 15, 2007 6:38 pm
Location: Austin, TX
Contact:

Post by Mogri »

Everyone's a critic. Fixed the alignment in Firefox, but it still aligns left in IE. I'll see what I can do about it.
User avatar
RMZ
Liquid Metal Slime
Posts: 1441
Joined: Tue Oct 16, 2007 12:39 am
Contact:

Post by RMZ »

Yeah, the page looks entirely different. And now I've used IE and Firefox and both show up as Times New Roman. It just doesn't look very good, I don't know why I'm the only one who sees it like this. But man, it looked a lot cleaner the older way.
Inferior Minion
Slime
Posts: 9
Joined: Mon May 19, 2008 8:05 pm

Post by Inferior Minion »

RedMaverickZero wrote:Yeah, the page looks entirely different. And now I've used IE and Firefox and both show up as Times New Roman. It just doesn't look very good, I don't know why I'm the only one who sees it like this. But man, it looked a lot cleaner the older way.
A screenshot for comparison would help us identify the issue. Here's what I see in Firefox 3:

<img src="http://castleparadox.com/pictures/SlimeSalad-EscapeFromDarkavern.png" height="50%" width="50%">
User avatar
Mogri
Super Slime
Posts: 4598
Joined: Mon Oct 15, 2007 6:38 pm
Location: Austin, TX
Contact:

Post by Mogri »

Yes, that's how it looks for me. I've asked RMZ for screenshots on his end, which I hope will get this cleared up.
User avatar
misterj
Slime Knight
Posts: 124
Joined: Fri Oct 26, 2007 9:12 pm

Post by misterj »

one more thing, can you set it so the username links to the profile page? that should be simple enough...

i also think you should blockquote(or re-align) the text, maybe for a more centered look. it's probably just a personal opinion for me, i can't stand to look at text editors like notepad but ones like microsoft word or notepad++ look a lot better. it's probably just because of my widescreen monitors.
<center><img src="http://i.imgur.com/qXKfH.png" title="CONGRATS ON BIG FOOTBALLS"></center>
User avatar
Mogri
Super Slime
Posts: 4598
Joined: Mon Oct 15, 2007 6:38 pm
Location: Austin, TX
Contact:

Post by Mogri »

Monochrome's Last Stand wrote:one more thing, can you set it so the username links to the profile page? that should be simple enough...
Done
i also think you should blockquote(or re-align) the text, maybe for a more centered look. it's probably just a personal opinion for me, i can't stand to look at text editors like notepad but ones like microsoft word or notepad++ look a lot better. it's probably just because of my widescreen monitors.
Are you using IE? If so, you're out of luck as far as I can tell. I've tried various methods of centering and none of them works in IE. Firefox is centering just fine, meanwhile.

Browser compatibility is the scourge of every web designer.

Edit: and apparently it is now WORKING in IE. Let me know if this fixes it for you
Last edited by Mogri on Fri Aug 01, 2008 9:20 pm, edited 1 time in total.
User avatar
Mogri
Super Slime
Posts: 4598
Joined: Mon Oct 15, 2007 6:38 pm
Location: Austin, TX
Contact:

Post by Mogri »

RedMaverickZero wrote:Yeah, the page looks entirely different. And now I've used IE and Firefox and both show up as Times New Roman. It just doesn't look very good, I don't know why I'm the only one who sees it like this. But man, it looked a lot cleaner the older way.
Hey, I think I solved your problem. Are you using the "allgreen" style? If so, you're right, it was ugly. There was a typo in the HTML of the original template. It should look better for you now.
User avatar
misterj
Slime Knight
Posts: 124
Joined: Fri Oct 26, 2007 9:12 pm

Post by misterj »

it looks left aligned on FF and opera for me... :|
<center><img src="http://i.imgur.com/qXKfH.png" title="CONGRATS ON BIG FOOTBALLS"></center>
User avatar
Mystic
Metal Slime
Posts: 322
Joined: Wed Jul 23, 2008 4:32 am

Post by Mystic »

If you don't care too much, for some reason if you nix the doctype, IE decides to render things fine, usually in regards to centering stuff.

That's if you care about the user more than being compliant, that is.

And who cares about IE users anyway, haha

But yes, IE compatibility specifically is the only thing that ever turns me off of designing stuff.
Post Reply