Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 03-06-2005, 10:47 AM centering
hackySack's Avatar
Extreme Talker

Posts: 150
Location: UK, Derbyshire
Trades: 0
Im wanting to center my content vertically on all screen resolutions.
how do I go about doing this?

http://www.flipswitchmultimedia.co.uk/download.php

thanks
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
hackySack is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-06-2005, 12:38 PM
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
dude, can you describe how exactly you want that content centred?

You have da-download-pa-03.jpg on the right which is width 100%, that will expand to justify the content to the left.

If you want the content to centre, I'd change the graphics first. Give the left a gradient fade out like the right, then insert a column which spans the entire table on the left. Insert another instance of da-download-pa-03.jpg, width="100%", in there and it *should* centre the content.

It's not the proper way to centre content, but in looking at ur code, I see that u dont handcode; so the proper methods of centring are prolly over ur head. Personally, being a hand coder; I'd have gone a completely different approach to engineering that page.
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.

Last edited by metho; 03-06-2005 at 12:39 PM.. Reason: grammah
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 03-06-2005, 01:12 PM
hackySack's Avatar
Extreme Talker

Posts: 150
Location: UK, Derbyshire
Trades: 0
hey, yeah it was done in image ready and dreamweaver, eermm i would like to get the content to be centered vertically. So that it would be in the middle of the page not horizontally....
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
hackySack is offline
Reply With Quote
View Public Profile
 
Old 03-06-2005, 03:03 PM
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
erm ya - my bad
Rename the table's id to id="table_01", than add the following CSS:

#table_01 {
vertical-align: middle;
width: 100%;
top: 50%;
margin-top: -170px;
position: absolute;
}

What this does is position the top left corner of your table 50% down the page, then a negative margin exactly 1/2 the pixel height of your table is applied to the margin-top.
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Reply     « Reply to centering
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.97828 seconds with 12 queries