DIV valign?

 
Post new topic   Reply to topic    Aprelium Forum Index -> Off Topic Discussions
View previous topic :: View next topic  
Author Message
madman1337
-


Joined: 29 Jul 2006
Posts: 182
Location: Houston, TX

PostPosted: Thu Oct 05, 2006 11:59 am    Post subject: DIV valign? Reply with quote

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 View user's profile Send private message Visit poster's website AIM Address
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Oct 05, 2006 12:22 pm    Post subject: Re: DIV valign? Reply with quote

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 View user's profile Send private message Send e-mail
Tom Chapman
-


Joined: 09 Jul 2005
Posts: 933
Location: Australia

PostPosted: Thu Oct 05, 2006 12:51 pm    Post subject: Reply with quote

CSS... margin: 0px; ...I would have written that with words but I have to go out.
Back to top View user's profile Send private message Visit poster's website MSN Messenger
Tim1681
-


Joined: 17 Jan 2005
Posts: 160
Location: Bristol, CT, USA

PostPosted: Thu Oct 05, 2006 3:53 pm    Post subject: Reply with quote

<style type="text/css>
body {margin-top: 0px;}
</style>
_________________
mysql> SELECT * FROM users WHERE clue > 0;
0 rows returned.

Back to top View user's profile Send private message AIM Address
madman1337
-


Joined: 29 Jul 2006
Posts: 182
Location: Houston, TX

PostPosted: Fri Oct 06, 2006 1:32 am    Post subject: Reply with quote

o ok thanks! the css worked perfectly.
_________________
Back to top View user's profile Send private message Visit poster's website AIM Address
Tom Chapman
-


Joined: 09 Jul 2005
Posts: 933
Location: Australia

PostPosted: Fri Oct 06, 2006 1:35 am    Post subject: Reply with quote

<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 View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Off Topic Discussions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group