04-12-2009, 01:52 AM
|
#1 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
I forgot how to line break...
Apparently.. cause I don't remember how to line break in divs.
First I thought it was setting a width. and then padding it. that didnt work, so I guess I need someone who has a better memory. -_-
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<style type="text/css">
.wrapper {
margin: 0px auto;
}
.container {
background: red;
width: 400px;
padding: 1em;
}
</style>
</head>
<body>
<div class="wrapper"><div class="container">fdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfdsfds</div></div>
</body>
</html>
Thats it. Long random text, and it doesn't do it anymore. did firefox fuck up or is it just me.   
__________________
VillageIdiot can have my babbies ;d
|
|
|
|