Help - Search - Members - Calendar
Full Version: weird thing with using position
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
hagaren
hey! im really new to this site, but i usually post over at blogrings.net if anyone goes there. anyways, im not gettin much response there yet so i figured id post my problem on two boards and get two opinions! i had an idea on a xanga that was aligned on the left. of course i could just tell CLAF to align-left...but i also want the very top corner of the image i will use to be up at the very top corner of the browser. right now i have my old layout and ive been trying to make the image there to position in the corner. i tried using position: absolute; top: ?px; left: ?px; in the IMG tag, but for some reason it didnt work. when i checked the source, absolute had changed to static? is there some way around this that everyone else knows 'cause i see sites with position: absolute. for some reason mine changes to static...? any help would be appreciated! thanks!

EDIT: oops here's my site. check the source and look for the first IMG tag, i only have one i think. it should say position: but instead of having absolute i have static EVEN THOUGH i have absolute in the CLAF header box...?
GinaDaQueen
I'm not too good with these things, but maybe it's position: fixed? Because I have that in my code and I've seen it in background image codes.
anne
oh hi neji ^_^ we meet again :)
micron
Hi, thats because Xanga doesn't let you use certain keywords (mainly to protect their ad banner). Instead of using that venue, here is another solution. This is your code:

CODE
<!-- begin code provided by createblog.com -->
<div align=center>
<!--
// Images and DIV box edits.
// First should be the banner image
// Second and Third should be DIV boxes for links
// and Fourth should be the DIV box for the blogs //-->
<IMG src="http://img6.photobucket.com/albums/v20/chrn0/neji2.jpg" style="position:static; top: 0px;">
<!-- end code provided by createblog.com -->

Notice the "DIV" tag is aligned to center. Simply align that to "left" - no need to tamper with image positioning.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.