Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-17-2004, 10:10 PM   #1
Mutt
Too lazy to set a custom title
 
Mutt's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 34,431
Vertically Centering Content

besides using frames does anybody know if there is a way to center content vertically in a webpage so it doesn't matter what resolution the surfer's monitor is set at the content is centered vertically on his screen?
__________________
I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
Mutt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-17-2004, 10:12 PM   #2
Rochard
Jägermeister Test Pilot
 
Rochard's Avatar
 
Industry Role:
Join Date: Dec 2001
Location: NORCAL
Posts: 74,601
Tables?
__________________
“The choice is no longer between right or left. The choice is between normal and crazy.”
- Sarah Huckabee Sanders

YNOT MAIL | THE BEST ADULT MAILING SOLUTION
Rochard is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-17-2004, 10:24 PM   #3
Space Puppy
So Fucking Banned
 
Join Date: Nov 2003
Posts: 817
align="center" on each image tag
Space Puppy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-17-2004, 10:25 PM   #4
eroswebmaster
March 1st, 2003
 
Join Date: Jul 2001
Location: Seat 4 @ Venetian Poker Room
Posts: 20,295
Quote:
Originally posted by RocHard
Tables?
I use scotch tape.
__________________
For rent - ICQ 127-027-910
Click here for more details
eroswebmaster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-17-2004, 10:32 PM   #5
Mutt
Too lazy to set a custom title
 
Mutt's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 34,431
doh....... i get horizontal and vertical mixed up.

I mean centering it North to South, on the Y axis. Old <center> tag still works nicely to center things on the X axis.

thought maybe there was some hahahahahahahahahaha or CSS code that could do what I want but so far no luck.

frames work but i hate frames.
__________________
I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
Mutt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-17-2004, 11:00 PM   #6
Shoehorn!
Die With Your Boots On
 
Shoehorn!'s Avatar
 
Join Date: Oct 2003
Location: Hawaii
Posts: 22,872
Quote:
Originally posted by Mutt
doh....... i get horizontal and vertical mixed up.

I mean centering it North to South, on the Y axis. Old <center> tag still works nicely to center things on the X axis.

thought maybe there was some hahahahahahahahahaha or CSS code that could do what I want but so far no luck.

frames work but i hate frames.
North to south is vertical.
Shoehorn! is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-17-2004, 11:07 PM   #7
SoundMan
So Fucking Banned
 
Join Date: Nov 2003
Location: MidWest
Posts: 3,471
crop-cgi-php then you have to go south of the border and grab a table from TacoBell and use auto resize and e-mail the page to 500 surfers to make sure that the fucker is centered!


Hope that helped!
SoundMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2004, 12:52 AM   #8
Webby
Too lazy to set a custom title
 
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2004, 02:09 AM   #9
psyko514
See sig. Join Epic Cash.
 
Join Date: Oct 2002
Location: Montreal, Quebec. ICQ: 214702014
Posts: 22,366
You'd have to use hahahahahahahahahaha as far as I know.

But it'll be tough, because even if 1000 people visit your site at 800x600, the center of the browser can be different for all of them depending on what toolbars they're showing and how they have em set up.
__________________

Bad Girl Bucks
- 50% Revshare through CCBill.
Promote BrandyDDD, Pixie's Pillows, Action Allie and more!

Phoenix Forum Pics | Webmaster Access Montreal pics
email: psyko514(a)gmail.com | icq: 214-702-014
psyko514 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2004, 02:26 AM   #10
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
Create a table. Set the height to 100%. Any and all content on the page must be within the cell of this table for the content of the page to be centred.

&lt;table height="100%" align="center">
&lt;tr>&lt;td>
&lt;IMG SRC="imagegoeshere.jpg">
&lt;/td>&lt;/tr>
&lt;/table>

Hope that's what you were after.
__________________
26 + 6 = 1
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2004, 02:27 AM   #11
Voodoo
♥ ♦ ♣ ♠
 
Voodoo's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 10,592
__________________

"I'm selflessly supporting the common good, but only coincidentally looking out for No.1."
Voodoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2004, 02:38 AM   #12
Ash@phpFX
Confirmed User
 
Join Date: Nov 2003
Posts: 4,292
table height=100% align=center
tr
td align=center valign=center
shit here
/td
/tr
/table

Last edited by asher; 01-18-2004 at 02:41 AM..
Ash@phpFX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2004, 02:42 AM   #13
Ash@phpFX
Confirmed User
 
Join Date: Nov 2003
Posts: 4,292
how do you put in html with out it turning into html?
Ash@phpFX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2004, 02:44 AM   #14
The Truth Hurts
Zph7YXfjMhg
 
The Truth Hurts's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,391
Quote:
Originally posted by asher
how do you put in html with out it turning into html?
quote him... you'll see what he did.
The Truth Hurts is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2004, 02:45 AM   #15
Mutt
Too lazy to set a custom title
 
Mutt's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 34,431
i don't think that works, but admittedly i haven't tried that since NS and IE 4 generation of browsers. I'll try it, maybe the newer browsers deal better with % height tags these days.
__________________
I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
Mutt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2004, 08:29 AM   #16
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
I've only tried it in IE 6 and Mozilla Firebird. Works in both of those. Not sure about other browsers or other versions.
__________________
26 + 6 = 1
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2004, 10:01 AM   #17
digifan
The Profiler
 
digifan's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: ICQ 76281726 and I'm female
Posts: 14,618
Quote:
Originally posted by SoundMan
crop-cgi-php then you have to go south of the border and grab a table from TacoBell and use auto resize and e-mail the page to 500 surfers to make sure that the fucker is centered!


Hope that helped!
__________________
[email protected]
Webair Rocks
digifan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2004, 10:06 AM   #18
Sharky
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Location: Tampa, FL
Posts: 4,938
Quote:
Originally posted by chodadog
Create a table. Set the height to 100%. Any and all content on the page must be within the cell of this table for the content of the page to be centred.

&lt;table height="100%" align="center">
&lt;tr>&lt;td>
&lt;IMG SRC="imagegoeshere.jpg">
&lt;/td>&lt;/tr>
&lt;/table>

Hope that's what you were after.
you forgot valign=middle

align=center is for the horizontal alignment.
__________________
Sharky
Sharky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2004, 10:18 AM   #19
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
Quote:
Originally posted by sharky


you forgot valign=middle

align=center is for the horizontal alignment.
But the default valign value for a table cell is middle, isn't it?
__________________
26 + 6 = 1
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.