Home | Community | Message Board

Cannabis Seeds Zamnesia
This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Shop: Unfolding Nature Unfolding Nature: Being in the Implicate Order   Myyco.com Golden Teacher Liquid Culture For Sale

Jump to first unread post Pages: 1
Vertically centering something with html
    #9212712 -

This has been bothering me for absolutely ages.. what combination of div / tables / css or whatever do I need in order to put something smack bang in the middle of a page?


--------------------
"I only ever hope to reach equilibrium, in Nature's matrix, in line with the meridian" ~ Jehst

:sun: "...and I know that I have to keep breathing, as tomorrow the sun will rise, who knows what the tide will bring?" :sun:

Free Spore Ring Europe
Send any spare spore prints you might have and help the distribution :grin:

Open Source. Freedom.  GNU/Linux

Addicting is not a word.

Extras: Filter Print Post Top
Re: Vertically centering something with html [Re: Cepheus]
    #9213507 -



--------------------
"I only ever hope to reach equilibrium, in Nature's matrix, in line with the meridian" ~ Jehst

:sun: "...and I know that I have to keep breathing, as tomorrow the sun will rise, who knows what the tide will bring?" :sun:

Free Spore Ring Europe
Send any spare spore prints you might have and help the distribution :grin:

Open Source. Freedom.  GNU/Linux

Addicting is not a word.

Extras: Filter Print Post Top
Re: Vertically centering something with html [Re: Cepheus]
    #9218927 -

<html>
<head>
<title>nullbyte.org :: rndm</title>
<style type='text/css'>
body, html {
height:100%;
}
#container{
height:100%;
text-align: center;
}
#pinac {
width: 369px;
height: 156px;
position:relative;
top:50%;
margin-top:-78px;
margin-left: auto;margin-right: auto;
background:#000000;
color:#000000;
}
</style>

</head>
<body bgcolor="#000000">
<div id="container">
<div id="pinac"><img src="images/logo.png" border="0"></div>
</div>
</body>
</html>

Looks like you need to use the style container.  I'm not to good with that though.
I'd say just copy nullbyte's code and put your image in the image container.  also replace the color codes with whatever your color needs are.


--------------------

Customize your Shroomery experience!
Do not argue with an idiot. He will drag you down to his level and beat you with experience.

Extras: Filter Print Post Top
Re: Vertically centering something with html [Re: Idiot]
    #9219321 -

nullbyte is my website :laugh:


--------------------
"I only ever hope to reach equilibrium, in Nature's matrix, in line with the meridian" ~ Jehst

:sun: "...and I know that I have to keep breathing, as tomorrow the sun will rise, who knows what the tide will bring?" :sun:

Free Spore Ring Europe
Send any spare spore prints you might have and help the distribution :grin:

Open Source. Freedom.  GNU/Linux

Addicting is not a word.

Extras: Filter Print Post Top
Re: Vertically centering something with html [Re: Cepheus]
    #9221487 -

ah, cudos on centering the image.  Maybe a little more content though.  Unless that was the first major hurtle or something.

Where are you trying to go with the site?


--------------------

Customize your Shroomery experience!
Do not argue with an idiot. He will drag you down to his level and beat you with experience.

Extras: Filter Print Post Top
Re: Vertically centering something with html [Re: Idiot]
    #9222433 -

Gonna start to write me a minimalistic (yet secure & encrypted) cms and then take it in the direction of the hive. I want to pick up where loads of potentially great synth sites died out.

Basically I want it to be devoted to chemistry :yesnod:... I've got some spare time this week so I might start laying me down some code.


--------------------
"I only ever hope to reach equilibrium, in Nature's matrix, in line with the meridian" ~ Jehst

:sun: "...and I know that I have to keep breathing, as tomorrow the sun will rise, who knows what the tide will bring?" :sun:

Free Spore Ring Europe
Send any spare spore prints you might have and help the distribution :grin:

Open Source. Freedom.  GNU/Linux

Addicting is not a word.

Extras: Filter Print Post Top
Jump to top Pages: 1

Shop: Unfolding Nature Unfolding Nature: Being in the Implicate Order   Myyco.com Golden Teacher Liquid Culture For Sale


Similar ThreadsPosterViewsRepliesLast post
* World Trade Center 7 collapse
( 1 2 all )
Una 3,014 25 03/13/06 06:50 AM
by Una
* HTML/CSS question dirtworshipper 657 2 01/24/22 07:46 PM
by SprewellSleeve
* html tables vs css daytripper05 1,245 6 04/08/07 05:56 AM
by Seuss
* Need HTML Help Redstorm 937 4 10/29/03 04:51 PM
by MetaShroom
* How do I get html into this forum? RedNucleus 506 3 03/06/05 10:56 AM
by RedNucleus
* Line breaks doubling up when converting from .doc/.sxw to HTML AsanteM 555 1 05/23/06 08:09 AM
by Seuss
* HTML wiz head I need help, this is conserning myspace and html! BrakethrEW 940 7 07/21/05 05:00 AM
by John
* Levels of HTML knowledge: which one are you? YthanA 1,250 19 06/04/06 10:15 PM
by Cepheus

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: trendal, automan, Northerner
625 topic views. 0 members, 4 guests and 0 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2026 Mind Media. Some rights reserved.

Generated in 0.026 seconds spending 0.007 seconds on 16 queries.