HTML TUMBLR HELP!!!!!!!!!!!!!!!!!!?

  • Thread starter Thread starter Veronica
  • Start date Start date
V

Veronica

Guest
i need the code for tiling a image background.

and possibly, please, how to center the content,
 
for simple html use:

<BODY background="image_filename.jpg">

where image_filename.jpg is the name of the repeating image.

for centering content, use <center>

such as:

<html><head><title>this is a repeating background and centered text example</title></head>

<body background="image.jpg"><center> this text is in the center of the page </center></body></html>

now you can get more technical and use css in your page:

<html><head><title>this is an example using css</title>
<style type="text/css">

body { background-image: url(image.jpg); background-repeat:repeat; text-align: center; }

</style></head>

<body> this text is centered with a repeating background behind it. </body></html>
 
Back
Top