Jump to content

Getting around blocked CSS properties in lookups


Mimii

Recommended Posts

Hmm.. so a year ago my lookup was fine. Now the position tag is one of the filtered properties (E.g. position: absolute;) so now I cannot edit my profile without removing the position tags and majorly messing up my lookup.

 

Anyone know a way around this? There are no spaces, I tried that already. :(

Link to comment
Share on other sites

I personaly replaced all my "position" with "margin", but my lookups are centered.

 

#template_nav {
margin: -20px auto 0px -50px;
padding: 0px; 
width: 730px;
} 

 

In the above example, I found that having the 'auto' is very important to position the navigation correctly...

 

 

#about {

border: 1px solid #FFFFFF;

padding: 5px;

margin-top: 230px;

background-color: #000000;

filter: alpha(opacity=70);

opacity: 0.70;

margin-right: 7px;

}}/code]

 

In above example, I used a margin top to move the div in place.

 

It always works for my lookies, but as I said, never tried to have them aligned to the left.

Link to comment
Share on other sites

As far as I know, there is no hack that gets around the 'position' filter. With CSS, there are workarounds, but I have just learned the hard way that I have to compromise my artistic graphic design vision when I'm coding CSS for Neopets. *sniffles*

 

My advice to you is to tinker and experiment with code (w3schools.com is a great place to learn more)...and when all else fails, compromise. :)

 

p.s. If you want a left-aligned page, simply add this code:

 

#main{margin-left:0px;}

 

That usually does the trick. Good luck :)

Link to comment
Share on other sites

Alrighty, I can certainly work with margins instead but I'm rather put-out that I can't use positioning now after all this time. Curse you, Neopets! :P

 

Thanks for the replies, all. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...