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.

Website Design Forum


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



Freelance Jobs

Reply
Center align, vertically???
Old 07-13-2003, 05:33 PM Center align, vertically???
Skilled Talker

Posts: 99
Trades: 0
I used to use a table with 100% width and height, then align center and valign middle... however, this doesn't seem to work when there is content above this table... I end up getting a scroll bar, and it is not aligned vertically in the screen.

How can I align something centered on the page (or at least centered in the REST OF THE PAGE)?

Thanks
__________________

Please login or register to view this content. Registration is FREE
- Professional PHP mailing list manager
EXHAUSTIVE list of new & improved features implemented!

Please login or register to view this content. Registration is FREE
KandieMan101 is offline
Reply With Quote
View Public Profile Visit KandieMan101's homepage!
 
 
Register now for full access!
Old 07-16-2003, 03:18 PM
c2k
c2k's Avatar
Skilled Talker

Posts: 72
Location: Germany
Trades: 0
Hi,
the easiest thing would be you just include whatever you had abouve the table in the table.
So the whole table will centered again. Or did I misunderstand you?
c2k is offline
Reply With Quote
View Public Profile
 
Old 07-16-2003, 03:40 PM
Skilled Talker

Posts: 99
Trades: 0
Well, I want my header image to touch the top of the window...

And then, just a simple box that would be centered on the REMAINING PORTION of the page
__________________

Please login or register to view this content. Registration is FREE
- Professional PHP mailing list manager
EXHAUSTIVE list of new & improved features implemented!

Please login or register to view this content. Registration is FREE
KandieMan101 is offline
Reply With Quote
View Public Profile Visit KandieMan101's homepage!
 
Old 07-16-2003, 04:00 PM
c2k
c2k's Avatar
Skilled Talker

Posts: 72
Location: Germany
Trades: 0
Got ya.

Different possibilities that come to my mind:
- using frames

- determine the resolution of the user and move the table to the middle of the site (using JS)

- optimize it for 800x640 and place the table in the middle of the site (absolute positioning a CSS)

If that's not what you need I cannot help you
c2k is offline
Reply With Quote
View Public Profile
 
Old 07-16-2003, 04:01 PM
Skilled Talker

Posts: 99
Trades: 0
Hi... yah I thought about using frames... never thought about JS although that could potentially work...

Oh well, I guess it doesn't *need* to be centered but thanks anyways!
__________________

Please login or register to view this content. Registration is FREE
- Professional PHP mailing list manager
EXHAUSTIVE list of new & improved features implemented!

Please login or register to view this content. Registration is FREE
KandieMan101 is offline
Reply With Quote
View Public Profile Visit KandieMan101's homepage!
 
Old 07-16-2003, 04:06 PM
c2k
c2k's Avatar
Skilled Talker

Posts: 72
Location: Germany
Trades: 0
Quote:
never thought about JS although that could potentially work...
Yeah, but if you should use JS think about the user not having JS being enabled. So keep a backup plan so users won't be disappointed viewing your site.
c2k is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Center align, vertically???
 

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.45304 seconds with 12 queries