Div Positioning?

liunx

Guest
Ok, I have been working on converting my old table layout for my site to the div way that every body is so crazy about! I have run into a problem. If you go to my site here (<!-- m --><a class="postlink" href="http://mjdimick.zacknetwork.net/test/index.php">http://mjdimick.zacknetwork.net/test/index.php</a><!-- m -->) in mozilla and shrink the window size way down you will notice that it causes the content to break out of the div. I was wundering if someone could go there and try it and then look at the source and tell me what I need to do to make it so it won't break out of the div. I had it layed out with tables before and it never broke out like that. I would greatly appreciate the help. :D<!--content-->I think I know what you mean. Didn't look @ your stylesheet, but do you use style="position: absolute"? This means that you can place your div anywhere on the site.<br />
<br />
example: style="position: absolute; top: 20px; left: 50px; width: 100px; height: 30px"<br />
<br />
check this: <!-- m --><a class="postlink" href="http://www.w3schools.com/css/default.asp">http://www.w3schools.com/css/default.asp</a><!-- m --><br />
<br />
JayDie<!--content-->The content isn't being pushed out of the div, the text is simply being pushed onto a new line. What you could do is put your .navbar's and your .foot inside a div tag to bundle them all together and then put that div tag inside your .head.<br />
<br />
Make sure that you add backgound-repeat:no-repeat; to your .head styles though.<!--content-->
 
Back
Top