View Full Version : Div problem


PrincessSammy
01-05-2006, 11:06 PM
Hello everyone,

My div layer isn't conforming to the height and width constraints I've put in.

Here are the atrributes:
blog
{
background: #000000;
text: yellow;
margin-top: 100px;
margin-left: 410px;
margin-right: 0;
height: 450px;
width: 400px;
overflow: auto;
font-family: Palatino Linotype;
font-size: small;
}

And here is the layer:

<div id="blog">
<table table style="filter: alpha(opacity=70); -moz-opacity: 0.7;" cellpadding="0" cellspacing="0" border="0" bgcolor="#000000">
<tr>
<td> Stuff!

</td>
</tr>
</table>
</div>
This is what it looks like:
http://www.jumpingoverstars.com/test

Any suggestions?

PrincessSammy
01-05-2006, 11:16 PM
Sorry can't edit this post, I figured out my problem with the size, now I just can't move my blog box away from the left side. Whats up with that?

Monkey Bizzle
01-05-2006, 11:28 PM
You are using <div id="blog"> so in your CSS, it should be #blog

PrincessSammy
01-05-2006, 11:52 PM
Hmm thats still not making a difference.

kittycat
01-06-2006, 12:40 AM
<div id= #blog>
Should be as you had it, with just <div id="blog">. You only need the # in the CSS.

Monkey Bizzle
01-06-2006, 01:42 AM
<div id= #blog>
Should be as you had it, with just <div id="blog">. You only need the # in the CSS.

Sorry, I should have been more clear. =/