NameSilo

Layout Centerize In a Layer?

Spacemail by SpaceshipSpacemail by Spaceship
Watch

aal814

Established Member
Impact
0
Hey guys, im using a table in a layer so my work will become in the center no matter if u make ur itnernet window large or small. Im making it layer because alligning your stuff just doesnt make sence, like how would u allign something to a position when u want to write something 200 pixels from the background u have alligned, anyhow, i want to know why my page doesnt go center when i change the size of the internet window

Thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
what are you trying to do? Make a peice of text centered in the window?

Is that all? and is that Centers like top line, or center vertically as well?

PJ
 
0
•••
0
•••
aal814,

You didn't answer the question, what are you trying to align?

Your question doesn't make any sense, using a table in layer in order to centralize something regardless of window size? What the hell does that mean?
 
0
•••
ok
 
0
•••
ok let me make it more clear :P

I dont want to use the allign feature to place image or text. I want to use a feature such as the layer feature in which it works like a text box that u can move around. But unfortunately that won't make the content centerized when u maximize or minimize the internet window

So any help would be apreciated
 
0
•••
if I understand correctly you want to center your text box regardless of window size ,try to define the text box position in procent

**********
.text_box
{
position:absolute;
margin-left:20%;
margin-top:20%;
overflow:scroll;
}
 
Last edited:
0
•••
Either that or use percentage values for your margins.

One question though, is it a single text box you want to position or the whole content?

And you will have great difficulty in fixing the postion vertically, horizontal position is about the best you can mange and you even then you will have to add a hack to get it to work in all browsers.
 
0
•••
Ok thanks everyone, you still dont get my question, i will see if i can get an english editor to write it so you understand :P

Later
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back