Advertisement

08.10.2008 at 07:45AM PDT, ID: 23636150
[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!

9.3

CSS - absolute positioning problem

Asked by mgit in Cascading Style Sheets (CSS), Programming for ASP.NET

Tags: ,

This should be as simple as it gets. I'm viewing the same simple page in Firefox and Explorer 7.
My nav bar doesn't display properly in Ex7 - it's offset by 40pix or so to the right. I've attached stylesheet and the html below. There are only four elements on that page - it's driving me insane.
Website address is www.fairwaytownes.com

MarkStart 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:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
body
{
    font-family: Tahoma;
    background-color: White;
    background-image: url(back_img.png);
    background-repeat: repeat-x;
    text-align: left;
    margin: 0;
}
#wrapper
{
    position: relative;
    text-align: left;
    width: 720px;
    margin-right: auto;
    margin-left: auto;
    border-bottom: 0px black;
}
#header
{
    background-image: url(ft.jpg);
    background-repeat: no-repeat;
    position: relative;
    height: 126px;
    width:720px;
}
#header h1
{
    margin: 0;
    padding: 0;
    font-weight: normal;
    color: Maroon;
    position: absolute;
    bottom: 0px;
    right: 0px;
}
#content
{
    margin-left: 168px;
    width: 552px;
    height: 460px;
    padding: 0px 0px 0px 0px;
    background-color: inherit;
}
#content p
{
    font-size: 12px;
    line-height: 1.8em;
}
#navigation
{
    position: absolute;
    left:0px;
    top: 126px;
    width: 168px;
}
#navigation ul
{
    list-style: none;
    margin-left: 0 0 0 0;
    padding: 0px;
    border: none;
}
#navigation li
{
    font-size: 90%;
}
#navigation a:link, #navigation a:visited
{
    padding: 0 0 0 0;
    color: #FFFFFF;
    background-color: Maroon;
    text-decoration: none;
    border: 0px solid maroon;
    width: 168px;
    display: block;
}
#navigation a:hover
{
    color: #FFFFFF;
    background-color: ActiveBorder;
}
#footer
{
    font-size: 80%;
    padding-top: 1em;
    text-align: right;
    color: #999;
    background-color: Transparent;
}
 
and the html:
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
    <title>Fairwaytownes website</title>
    <link rel="stylesheet" type="text/css" href="/StyleSheet.css" />
</head>
<body>
    <div id="wrapper">
        <div id="header">
            <h1>
                Fairwaytownes Website</h1>
        </div>
        <div id="content">
            <p>
                Needless to say this page is under construction :-)<br />
                If you want to participate please contact your board members.</p>
        </div>
        <div id="navigation">
            <ul>
                <li><a href="#">Home Page</a></li>
                <li><a href="#">Ryan Home Contracotrs</a></li>
                <li><a href="#">Suggested Contractors</a></li>
                <li><a href="#">Guestbook</a></li>
            </ul>
        </div>
        <div id="footer">
            Copyright &copy;
        </div>
    </div>
</body>
</html>
[+][-]08.10.2008 at 02:26PM PDT, ID: 22200758

View this solution now by starting your 30-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), Programming for ASP.NET
Sign Up Now!
Solution Provided By: Steggs
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628