Log In · Register

 
Putting Div Layout in the center.
angel-roh
post Oct 3 2008, 02:00 AM
Post #1


i'm susan
********

Group: Official Member
Posts: 13,875
Joined: Feb 2004
Member No: 5,029



I'm using firefox 3 and my desktop size is 1280x1024, but I have a problem like when I view my layout, it's like in the centered top, is there a way where I can just make it centered, not like top or bottom, but in the center of the screen. Because how my layout view is top centered, there's this huge gap down there and it looks ugly that way :( here's the code,

CODE

<img name="illuminatedsky" src="http://img171.imageshack.us/img171/1927/listentofreedomwp0.jpg" width="900" height="650" border="0" usemap="#m_illuminatedsky" alt=""><map name="m_illuminatedsky">

</map>

<div align=left style="position:static; margin-left:400px;
margin-top:-590px; width: 430px; height: 550px; overflow: auto;">



and screenshot of how it looks like >__<;; (i removed the link to my xanga site cause i didnt want people to know my site url >__<;;
 
 
Start new topic
Replies
IVIike
post Jan 6 2009, 06:23 PM
Post #2


Hey, I'm Mike
******

Group: Staff Alumni
Posts: 1,272
Joined: May 2006
Member No: 406,241



Just position the whole div down like 150px or so and then adjust your coding and it should work just fine thumbsup.gif
 

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: