Log In · Register

 
Centering images
novemberwind
post Aug 3 2007, 02:00 PM
Post #1


I scream at men with pink shirts.
****

Group: Member
Posts: 169
Joined: Oct 2004
Member No: 58,653



This is kind of weird, and I don't know quite how to phrase it.

I have a layout that I want RIGHT in the middle of the page. My first attempt ended up like this: Here.

I've changed the layout, and I know how to center stuff HORIZONTALLY (of course), but I also want it centered VERTICALLY no matter what size the browser is. Is that possible with more than just an image (say, with several images and an iFrame put on top of the images?)

Not sure if that makes sense, but I hope someone replies soon _unsure.gif
 
 
Start new topic
Replies
Smarmosaur
post Aug 4 2007, 09:45 PM
Post #2


AKA RockIt Studios
******

Group: Official Member
Posts: 2,286
Joined: Jun 2006
Member No: 421,809



Uhmmm, I don't know if this is what you're looking for, or if it will help, but put this BEFORE the code that you need aligned...I'm guessing you know DIV's, so this is just basically one big DIV that you can use to move the entire object. Change 0 to whatever you want...

CODE
<div style="left:0px; top:0px; position=absolute;">


Hope this helps a little.
ermm.gif
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: