Advertisement

08.13.2008 at 10:57AM PDT, ID: 23645615
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.0

centering my background image in CSS

Asked by NDstudio in Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), Extensible HTML (XHTML)

Tags:

Hi experts Need some help fixing up my code.

My objective is to have the background of my site centered in any web-browser in any resolution (including widescreens)

my code is below feel free to re-write any of the CSS code.  

Please don't send links to tutorials all i want is a code fix no explanation neccessary

Thanks
Also what is the recommend width for my background image if i want it to fill up the entire page.  currently it is 1360px

Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
         <script type="text/javascript">
                    <!-- hide from none Javascript browsers
                    image1 = new Image(597,203)
                    image1.src = "http://www.djmichaelray.com/enter.png"
                    image2 = new Image(597,203)
                    image2.src = "http://www.djmichaelray.com/enteron.png"
                    function swapout() {
                    document.imageflip.src = image2.src; return true;
        }
        function swapback() {
        document.imageflip.src = image1.src; return true;
        }
       -->
        </script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled</title>
<style type="text/css">
       html{
overflow:auto;
}
               body
        {
		width:auto;
		   margin: 0px;
           padding: 0px;
		   background-color:#000;
                }
                #background {
                width:1360px;
				display:block;
                position:absolute;
                top:0px;
                left:30px;
                
                z-index:0;
                margin:0px;
				
        }
        
        #Content {
                position:absolute;
                width:auto;
                margin: 0px auto;
                z-index:5;
                border:solid 0px red;
                background-color:Transparent;
        }
                #joinbutton {
                position:absolute;
                        top:360px;
                        left:300px;
                }
#imgButton
   {
	position: absolute;
	left: 220px;
	top: 580px;
   }
 
</style>
</head>
 
<body>
<img id="background" alt="" title="" src="http://www.djmichaelray.com/newchop.jpg"/>
   <div id="Content">
   <a href="http://www.djmichaelray.com/index.html" onMouseOver="swapout()" onMouseOut="swapback()"> 
        
<img src="http://www.djmichaelray.com/enter.png" alt="" name="imageflip" width=597 height=203 hspace="320" vspace="520" border=0 align="top"></a>     </div>
   <embed src="http://www.djmichaelray.com/lemmy/breath.wav" width="0" height="0" loop=true type="audio/wav"></embed>
</body>
</html>
[+][-]08.13.2008 at 11:05AM PDT, ID: 22224084

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.13.2008 at 11:11AM PDT, ID: 22224129

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.13.2008 at 11:13AM PDT, ID: 22224141

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), Extensible HTML (XHTML)
Tags: CSS , XHTML, HTML
Sign Up Now!
Solution Provided By: jausions
Participating Experts: 3
Solution Grade: A
 
 
[+][-]08.13.2008 at 11:14AM PDT, ID: 22224145

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.13.2008 at 11:33AM PDT, ID: 22224316

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.13.2008 at 12:17PM PDT, ID: 22224670

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.13.2008 at 01:00PM PDT, ID: 22225031

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.13.2008 at 01:13PM PDT, ID: 22225160

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628