[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[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!

7.6

A question about CSS programming

Asked by Headhunting55 in Cascading Style Sheets (CSS)

Tags: CSS

I am having a nightmare with the Float properties. I have been using absolute positioning but am trying to move away from it. Either way i can't solve this issue

I have attached a picture that indicates my layout and what i want to do with it. Keep in mind that the yellow part has a gradient and it's sliced and repeated along my x axis

The black box is also a gradient that needs to be repeated, the UL will come on top of this box and i also want to add rollover(which i am fine with)

And the blue area is supposed to hold content that will be different on each page

My problem: i cannot seem to be able to place the stuff the way i want it(the way it's shown in the picture)

Basically i have the following code:

HTML:
<body>
<div id='container'>
<div id='logo'>
<span><a href="#">My site</a></span>
</div>
<div id='city'>
<span><a href="#">Dubai</a></span>
</div>
<div id='menu'>
<ul>
<li><a href="#">About me </a></li>
<li><a href="#">tennis</a></li>
<li><a href="#">turnaments</a></li>
<li><a href="#">trips</a></li>
<li><a href="#">Contact us</a></li>
</ul>
</div>
<div id='content'> </div>
<div id='footer'> <a href="#">this is the end of the site</a> </div>
</div>

</body>

My CSS:

body {
background-color: #333;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
text-align:center;
}
a{
color:#336B47;
}
a:link{
color:#336B47;
}
a:visited{
color:#336B47;
}
a:hover {
color:#938E77;
text-decoration:none;
}
#container {
background-image: url(bg-gradient.jpg);
background-repeat: repeat-x;
margin:0 auto;
height: 500px;
width: 600px;
}
#logo{
width:120px;
height:140px;
float: left;
background:url(logo.gif) no-repeat;
background-position: 10px 10px;
overflow: hidden;
}
#logo span a:link, span a:hover, span a:visited, span a:active{
display: block;
width:120px;
height:140px;
text-indent: -100000px;
}
#city {
padding-top: 80px;
text-align: center;
text-transform: uppercase;
font-size:large;
}
#city span a:link, span a:hover, span a:visited, span a:active{
text-align: center;
}
#menu {
float:left;
text-align:left;
}
ul#menu{
list-style: none;
}
ul#menu li{
display: block;
list-style: none;
}

Can someone plase help me position the rest of the items, i don't exactly know why i can't float the UL and add backgorund under the logo and then position it

Attachments:
 
Here's an example
Here's an example
 
[+][-]09/10/08 07:08 PM, ID: 22445314Accepted Solution

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

Zone: Cascading Style Sheets (CSS)
Tags: CSS
Sign Up Now!
Solution Provided By: VirusMinus
Participating Experts: 2
Solution Grade: B
 
[+][-]09/12/08 10:42 AM, ID: 22462117Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/12/08 10:34 PM, ID: 22465783Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/12/08 10:35 PM, ID: 22465791Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 / EE_QW_2_20070628