Jump to content
moonman

How Do I Position This Image Correctly?

Recommended Posts

I've been playing around with site making and through tutorials and such nothing "exactly" tells how to position anywhere you want, at least nothing I've seen. My site is here http://www.moonanbeings.com/I want it to be as you see now, but correctly. I'm using CSS to place that image center there and I don't think that's how it should be. It shouldn't be through CSS and it shouldn't be a background image. Having it like that is like my easy way out. So, how do I get that background image to be a regular image and center, center for every resolution?

Share this post


Link to post
Share on other sites

Your link is down.

Share this post


Link to post
Share on other sites

Really? Weird. Must've chosen an odd time to look. Maybe try again, if that doesn't work then my coding is:

<html><HEAD><TITLE>Moonan Beings</TITLE><META name="description" content="Description."><META name="keywords" content="Keywords"><META http-equiv="content-language" content="en"><link rel="shortcut icon" href="http://moonanbeings.com/favicon.ico" type="image/x-icon" /><link href="http://www.moonanbeings.com/style.css" rel="stylesheet" type="text/css" /></HEAD></html>

then my CSS is

body {background-image:url('/imagesabyz10/moonbackground2.jpg'); background-repeat: no-repeat; background-attachment: fixed; background-position: center; max-height: 75%; max-width: 75%; width: 100%; height: 100%}body {background-color:#000000;}

You (or whoever) can try the link again to see how I want it to be if you can't envision it through my description. To summarize again, my image shouldn't be a background image but a standalone image and center, center. How do I code this?

Share this post


Link to post
Share on other sites

Then don't make it a background image. What else are you planning for the page if anything?

Share this post


Link to post
Share on other sites

Well the thing is, I could probably figure out how to just insert it as an image but then I'd be stumped on the positioning. I'll be using a different image when I'm good and ready to go but I want it to just be a logo for the most part. Then I'll add links probably under it or create more lines off the moon as my navigation.

Share this post


Link to post
Share on other sites

Sooner than later you'll have to know about positioning. It's a very basic skill: http://www.w3schools...positioning.aspand http://www.w3schools...s/css_float.asp Asking a question about positioning by avoiding positioning is a bit of a non sequitur though I suppose you could do that by setting the margins and the size of your image.

Edited by niche

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...