FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Pixels???





Lloydie_gb
Hi,

When making a website i want to put things in certan places but i dont
know the html tag, or how to make it so many pixles in and down.

Can anyone help please??

Thanks
otiscom
Type (or copy and paste) this into notepad and same it as mypage.html then in notepad change left and top parameters save it it time and notice the placement of your text.

This will give you an idea of pixel (px) movement.


<DIV style="position:absolute; left:420px; top:650px; width:223px; height:59px; z-index:9" align=left valign=top><center><I>Put some text here</I></center></DIV>
lazaruz
The problem with absolute position is that it does not show the same in all browsers.

Maby a javascript is an idea to check the browser first and then apply the correct position tag.
Timmie24
Here is a nice tool to tryout some layouts controlled by css. You can easily try different types of layout, use pixels, em or % and see what is does:

http://www.csscreator.com/version2/pagelayout.php

good luck!
shabda
You cant get pixel level control with html alone. You gotta use CSS. otiscom gave a very correct and simple method to do absolut positioning using css. Though I would add some border to better see my layer, the div tag.
misterdimiz
Timmie24 wrote:
Here is a nice tool to tryout some layouts controlled by css. You can easily try different types of layout, use pixels, em or % and see what is does:

http://www.csscreator.com/version2/pagelayout.php

good luck!


It's a good site!
Thanks a lot for the link! Very Happy
Lloydie_gb
Thganks for all the info guys.

That link looks good so i can play around with it.

Thanks
Related topics
Menu slide
graphic formats
Frihost banner contest
GeForce G70 Preliminary Specifications
[TUTOR] A Short Intro to GD
Increased Avatar pixel limit
Tutorials
:.= 100 pixels for 1 frih$ (28,200 pixels already sold!) =.:
W0W! 1 frih$/10000 pixels! 0.0001frih$/pixel CHEAPEST PIXELS
Million Pixel FREE Advt. (New: Paid Pixels Advt. launched)..
Plasma Image Burn-Ins & LCD Dead Pixels
..::Go 4 Pixels::.. Brand New Idea Investment [NOT HYIP]
[SOL] Pixels solidarios
Why does Pixels double in IE 6?
OpenGL: enlarge window but still get sharp pixels
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Design Tips

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.