View previous topic :: View next topic |
Author |
Message |
madman1337 -
Joined: 29 Jul 2006 Posts: 182 Location: Houston, TX
|
Posted: Thu Oct 05, 2006 11:59 am Post subject: DIV valign? |
|
|
sorry but I am completely blanking out on how to get a div to algin top in html...I know how to do it with tables and the like but I can't figure out how to do it with a div so that everything starts off flush with the top of the page instead of like a line down. I have looked at it and theres no line breaks before the div tag so I dunno why its not going to the top... _________________
|
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Oct 05, 2006 12:22 pm Post subject: Re: DIV valign? |
|
|
madman1337,
We suggest that you post here your HTML code so that we can help you quickly (because your DIV positioning may depend on other HTML items on the same page). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Thu Oct 05, 2006 12:51 pm Post subject: |
|
|
CSS... margin: 0px; ...I would have written that with words but I have to go out. |
|
Back to top |
|
|
Tim1681 -
Joined: 17 Jan 2005 Posts: 160 Location: Bristol, CT, USA
|
Posted: Thu Oct 05, 2006 3:53 pm Post subject: |
|
|
<style type="text/css>
body {margin-top: 0px;}
</style> _________________ mysql> SELECT * FROM users WHERE clue > 0;
0 rows returned.
|
|
Back to top |
|
|
madman1337 -
Joined: 29 Jul 2006 Posts: 182 Location: Houston, TX
|
Posted: Fri Oct 06, 2006 1:32 am Post subject: |
|
|
o ok thanks! the css worked perfectly. _________________
|
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Fri Oct 06, 2006 1:35 am Post subject: |
|
|
<style type="text/css">
body {margin-top: 0px;}
</style>
Sorry I was in such a rush. But your problem is now solved. |
|
Back to top |
|
|
|