Q about background images

I have a question about background images and the general css

 

I wish to change the standerd dolphin background to a picture of my own. however i wish to know how i get the picture to display properly at both sides of the page.

For example i uploaded a picture erlier and altered the css to point to it, however it was hiden behind the main tables of dolphin.

HOW do i get it display properly?

Does anyone know what size of picture i need to upload?

is ther any css shrink or strech strings i need to know about?

Quote · 5 Feb 2009

I don't believe you can do what you want in just CSS.  You need some html code also.

 

Is this close to what you want to do: http://houstonlively.com/test/bgimage.html

 

The page has a background image that adjusts to the size of the browser window.... the caveat being that the image is also distorted when the window is not the same aspect ratio as the picture.

 

 

Anyway, here's the page code for the above url:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Background to fit screen</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Imagetoolbar" content="no">

<style type="text/css">
html {height:100%;}
body {height:100%; margin:0; padding:0;}
#bg {position:fixed; top:0; left:0; width:100%; height:100%;}
#content {position:relative; z-index:1;}
</style>
<!--[if IE 6]>
<style type="text/css">
html {overflow-y:hidden;}
body {overflow-y:auto;}
#bg {position:absolute; z-index:-1;}
#content {position:static;}
</style>
<![endif]-->
</head>

<body>
<div id="bg"><img src="bgimage.jpg" width="100%" height="100%" alt=""></div>

<div id="content"><p><b><font color=yellow size=7>Place Page Content Here</font></b></p></div>
</body>
</html>

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 6 Feb 2009

... and set the background color of the main table to transparent (.main in templates/tmpl_xxx/css/general.css)  ;-)

(see my demo pictures here: http://www.expertzzz.com/Downloadz/view/4454 )

Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine.
Quote · 6 Feb 2009

ok what i actualy want is the following picture as my background image.

 

 

PLEASE look here as this site cuts half the picture out http://www.partypeople.uk-giveaway.info/templates/tmpl_uni/images/body_backgr.jpg

And is all i want is for the bright images on it to be in the space beside the main dolphin tables please see wher i want the bright bits to be on next image

 

 

AGAINE LOOK HERE picture cut out http://www.partypeople.uk-giveaway.info/screen.jpg

Thats all i want

Quote · 6 Feb 2009

Done it

Quote · 6 Feb 2009

Is that what you wanted to do?  I thought you wanted a single background image that always filled the screen.  I didn't realize that you just wanted the images tiled.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 7 Feb 2009

 

Is that what you wanted to do?  I thought you wanted a single background image that always filled the screen.  I didn't realize that you just wanted the images tiled.

 

Na its fine now and thanks for your replys

Quote · 17 Feb 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.