Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

Ezilon Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 01-30-2007, 04:23 AM   #1 (permalink)
Inactive
 
Join Date: 01-30-07
Posts: 1
iTrader: 0 / 0%
Latest Blog:
None

superivan is liked by many
Vertically centered template

Hi again everybody,

Could anybody tell me how can I make this template appear vertically centere
d on a 19" screen? It looks vertically centered on a 17" screen but it is to
o high on a 19" screen.

http://www.pedaldoc.com/html/SUPERNAUTAS/polaroid.html

Could anybody please help me? I would be really grateful

Thanks a lot,

Iván
superivan is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 01-30-2007, 11:22 AM   #2 (permalink)
v7n Mentor
 
DaveyBoy's Avatar
 
Join Date: 10-13-03
Location: England.
Posts: 6,183
iTrader: 0 / 0%
Latest Blog:
None

DaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest order
Don't think there is any way of doing this really, maybe some CSS trick but i'm not sure.
DaveyBoy is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-30-2007, 12:56 PM   #3 (permalink)
Inactive
 
Join Date: 02-01-06
Posts: 29
iTrader: 0 / 0%
Latest Blog:
None

ivanmax is liked by many
My photographer site is like that...

Hi,

My photographer site (not made by me) gets vertically centered on any monitor:

www.ivangarcia.net

Anybody?

Thanks a lot to everybody in advance,

Iván
ivanmax is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-30-2007, 03:15 PM   #4 (permalink)
v7n Mentor
 
Taltos's Avatar
 
Join Date: 11-22-06
Location: Phoenix, AZ
Posts: 1,805
iTrader: 0 / 0%
Latest Blog:
None

Taltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web pro
Send a message via Yahoo to Taltos
Unfortunately I'm not where I can test this real quick or I would. It seems to me as long as you make sure you set html, body, and any div to height: 100% then you should also be able to use margin: auto auto. Does this not work? The important part is to set all the containers outside the one you want to center for a height of 100% (the viewport).
__________________
Experimenting
Taltos is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-31-2007, 01:23 AM   #5 (permalink)
v7n Mentor
 
Tomassi's Avatar
 
Join Date: 01-26-06
Location: netherlands
Posts: 2,369
iTrader: 0 / 0%
Latest Blog:
None

Tomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest order
Send a message via ICQ to Tomassi
in css make a div id to place your content in

Quote:
{
width:200px;
height:100px;
position:absolute;
top:50%;
left:50%;
margin:-50px auto auto -100px;
border:1px solid black;
text-align:center;
}
don't forget to change the margin when altering the main width and height
__________________
I still got me a signature to fill
Tomassi is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-31-2007, 05:20 AM   #6 (permalink)
Inactive
 
Join Date: 02-01-06
Posts: 29
iTrader: 0 / 0%
Latest Blog:
None

ivanmax is liked by many
thanks

Hi,

Your thing seems to work Cashcannon but the page looks a bit too much to the left of the screen. Is that because I need to change the margins?

Thanks a lot to everybody,

Iván
ivanmax is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-31-2007, 05:26 AM   #7 (permalink)
v7n Mentor
 
Tomassi's Avatar
 
Join Date: 01-26-06
Location: netherlands
Posts: 2,369
iTrader: 0 / 0%
Latest Blog:
None

Tomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest order
Send a message via ICQ to Tomassi
yes, like I said, if your width and height is for example 500px/500px you need to adjust your margin to margin: -250 auto auto -250px;
__________________
I still got me a signature to fill
Tomassi is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-03-2007, 04:13 AM   #8 (permalink)
Inactive
 
Join Date: 02-01-06
Posts: 29
iTrader: 0 / 0%
Latest Blog:
None

ivanmax is liked by many
Thanks

Thanks,

I managed to do it.

ivanmax is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-05-2007, 01:02 AM   #9 (permalink)
v7n Mentor
 
Tomassi's Avatar
 
Join Date: 01-26-06
Location: netherlands
Posts: 2,369
iTrader: 0 / 0%
Latest Blog:
None

Tomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest orderTomassi is a web professional of the highest order
Send a message via ICQ to Tomassi
no problem, glad to help
__________________
I still got me a signature to fill
Tomassi is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Placing a div next to a centered div? devilzfan300 Web Design Lobby 11 08-02-2007 11:52 PM
Why this site doesn´t appear centered with every screen resolution? ivanmax Web Design Lobby 5 02-17-2007 07:37 AM
IE vs FF issue in CSS. centered rather than left aligned sachi Coding Forum 3 12-18-2006 01:26 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 06:33 PM.
© Copyright 2008 V7 Inc