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
Centered layout in all resolutions
Old 01-20-2005, 11:43 PM Centered layout in all resolutions
mpe
Novice Talker

Posts: 6
Trades: 0
Hi,
I am pretty new to html and css editing. I have a bunch of tutorials so I am getting by so far. But I cannot find anything on centering my web pages in all screen resolutions. I am using photoshop to design and imageready to make my slicing /rollovers/ animation ect.. and dreamweaver for editing. It is killing me because I know its right there in front of me. Any help would be greatly appreciated. If you would like I will send you my progress.

thanks to all who respond

Mpe
mpe is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-21-2005, 12:10 AM
mpe
Novice Talker

Posts: 6
Trades: 0
oh just a quick reference it is 600px X 600px
mpe is offline
Reply With Quote
View Public Profile
 
Old 01-21-2005, 12:47 AM
mpe
Novice Talker

Posts: 6
Trades: 0
and here is my code
Attached Files
File Type: txt home.txt (9.2 KB, 30 views)
mpe is offline
Reply With Quote
View Public Profile
 
Old 01-21-2005, 10:17 PM
pappasaa's Avatar
Ultra Talker

Posts: 268
Trades: 0
you need to add

align="center"

to your first table
__________________
visit my link...um...nevermind
pappasaa is offline
Reply With Quote
View Public Profile Visit pappasaa's homepage!
 
Old 01-21-2005, 10:23 PM
pappasaa's Avatar
Ultra Talker

Posts: 268
Trades: 0
you need to add

align="center"

to your first table

Here is a link to your html file and I attached the text file with the new code if you want to cut and paste it.

http://www.fubarnights.com/images/home.html
Attached Files
File Type: txt home.txt (9.2 KB, 11 views)
__________________
visit my link...um...nevermind
pappasaa is offline
Reply With Quote
View Public Profile Visit pappasaa's homepage!
 
Old 01-22-2005, 10:45 AM
mpe
Novice Talker

Posts: 6
Trades: 0
Thanks pappasaa!!
hey not to be a pain in the *** or anything but what would I add to center it vertically also?

MPE
mpe is offline
Reply With Quote
View Public Profile
 
Old 01-23-2005, 02:16 AM
pappasaa's Avatar
Ultra Talker

Posts: 268
Trades: 0
Try this...


Code:
<table align="center" height="100%"><tr><td valign="middle">

-YOUR CONTENT HERE-


</td></tr></table>
__________________
visit my link...um...nevermind

Last edited by pappasaa; 01-23-2005 at 03:00 AM..
pappasaa is offline
Reply With Quote
View Public Profile Visit pappasaa's homepage!
 
Old 01-24-2005, 06:43 AM
Sietse's Avatar
Novice Talker

Posts: 11
Trades: 0
You can also do something like

<body><div align="center">
- YOUR CONTENT HERE -
</div>
</body>

In this case, everything is centered.
Sietse is offline
Reply With Quote
View Public Profile
 
Old 01-24-2005, 10:14 PM
mpe
Novice Talker

Posts: 6
Trades: 0
Thanks for the help but I am not pasting it in the right place I think. I know you must
have better things to do than to edit my code. but do you think you could help me out again with this?

I just keep breaking up my slices into a mess.
mpe is offline
Reply With Quote
View Public Profile
 
Old 01-26-2005, 11:57 PM
SPACEMAN's Avatar
Super Talker

Posts: 109
Name: SPACEMAN
Location: OUTER SPACE
Trades: 0
put % to the sizes
__________________
<please read the rules on forum signatures - no images and 3 lines max>
SPACEMAN is offline
Reply With Quote
View Public Profile Visit SPACEMAN's homepage!
 
Reply     « Reply to Centered layout in all resolutions
 

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.29428 seconds with 13 queries