Newbie Spellweaver
- Joined
- Apr 22, 2010
- Messages
- 22
- Reaction score
- 1
3. Use descriptive titles
Instead of "Need help!!" or "Look please!", explain in short what your title is about. Good titles are for example 'PHP:How to extract the title from a remote website' or '[MySQL] Problem with ordering tables by date'. [B]4. Include enough information[/B][COLOR=Red] Make sure you paste relevant code, indicate what you tried already, etc. If we have to guess what help you want it'll take a lot longer before we can help you! [/COLOR] [B]5. Don't just dump your problem and hope we sort it out for you![/B][COLOR=Red] Coders section is not a general 'I need something fixed so lets ask you guys to fix it for me' forum! If you have a specific problem, for instance a typecast that's giving you trouble or a regex that's not working correctly, feel free to ask. But do not dump here 50 lines of code with the message 'its not working, fix please', or expect us to write your scripts for you![/COLOR] [B]6. Do not ask stupid questions![/B] Contrary to popular believe, there are such things as stupid questions. If we feel you could have answered your problem yourself with 5 minutes searching or reading a manual, you [B]will[/B] get an infraction! [/quote]
<style>
body{
overflow-x: hidden;
}
</style>
body {
background-image: url("http://forum.ragezone.com/images/zoomtube/gradients/body.gif");
background-repeat: repeat-x;
}
Standard used to be 960px, nowadays it's fine to use 1140px.
<html>
<head>
<title>Hello Percentage Width..</title>
<style type="text/css">
.my_holder_class {
width: 80%;
margin: 0 auto 0 auto; /* top right bottom left.. */
}
.my_header_class {
width: 100%;
text-align: center;
}
.my_body_class {
width: 100%;
margin:-11px; /* subtract border and padding to correct placement */
border: 1px solid #000; /* width style color.. */
padding:10px;
}
.my_footer_class {
width: 100%;
text-align:center;
font-weight: bold;
}
</style>
</head>
<body>
<div id="header" class="my_header_class">
<h1>Hello World!</h1>
</div>
<div id="holder" class="my_holder_class">
<div id="body" class="my_body_class">
<h3>Sub title</h3>
<p>This is some content on my site...</p>
</div>
</div>
<div id="footer" class="my_footer_class">
<p>© My Website 2011</p>
</div>
</body>
</html>
This is very true.This isn't true...
I still know people that need 960px