Replies

Feb 7, 2016 10 years ago
carnival
only has room for one
User Avatar

Hi everyone,

I have rather limited CSS/coding/HTML knowledge - everything I know, I taught myself on Neopets when I was about 13 - but now I am a little stuck on something! Hoping someone can help me out...

I have a background image that appears to be stretching unnecessarily. The dimensions of the original image are somewhere around 480 x 900 pixels, but it appears blurry when you view my pet's profile:

Neas' profile, for reference.

This is probably a simple fix...the only thing I can think is to re-draw the image in a higher resolution. But still, is there a way I can prevent this weird...look?

I can provide code if need be, and if you help me out I'll..err...draw you something nice? XD

[font=Sylfaen]

[/font]

Feb 7, 2016 10 years ago
Luzifer_121
made a huge mistake
User Avatar

I guess you mean that picture on the left? Do you want it to go to the bottom of the page or just to show in the original dimensions?

If you put it in the background with this code it should be in the original dimensions and positioned at the top left corner: html,body{ background-color:######; background-image:url(img.png); background-position:left top; background-repeat:no-repeat; background-attachment:fixed; }

I hope this works ^^'

Art by

Feb 9, 2016 10 years ago
carnival
only has room for one
User Avatar

Oh it's perfect! I just have to give the image some extra height by adding to it.

Thank you so much! I will probably request to have this topic locked now but, if you're interested, I do love me some drawing and would like to repay you with a scribble maybe. Just contact me if you're keen. My dA link is in my profile/footer text.

Again, thank you!

[font=Sylfaen]

[/font]

Please log in to reply to this topic.