Miscellaneous: Please help! Problems!

started by Austin Clarke on Jun 9, 2010 — RSS Feed

Austin Clarke Austin Clarke
Posts: 1

I am having some problems with space between my divs! I don't know what is wrong and have spent a ton of time trying to fix it. Please, please help me as I have been dealing with these same problems for months and I can't move on with anything until I learn what's wrong. Please excuse the extreme mess, I'm just experimenting on here. I know it looks absolutely terrible, but that's not what I'm trying to solve here. Here's the html, and the css:

-

HTML:

http://i50.tinypic.com/wbsxzk.png

-

CSS:

body {
margin: 0px;
padding: 0px;
}

#container {
margin-left: auto;
margin-right: auto;
width: 790px;
}

#lala {
background-color: blue;
}

#nav {
text-align: center;
}

#nav a {
color: black;
}

#nav a:link {
color: black;
}

#nav a:visited {
color: black;
}

#nav a:active {
color: black;
}

#nav a:hover {
color: silver;
}

.sb {
padding: 5px;
color: grey;
}

#navname {
background-color: blue;
width: 250px;
text-align: center;
height: 40px;
}

#vbif {
background-color: navy;
}

Webmaster Can Webmaster Can
Posts: 6

which browser do you use? Is these any other css class here? For a solution you can try space unicode between divs. & nbsp ; take the spcaces out...

You must login to reply