Jump to content

css problem


pwnyoutoo

Recommended Posts

<div>
<img src="//images.weserv.nl/?url=http://i.imgur.com/Scb1b.jpg" border="0" usemap="#map1" style="position: absolute; left: 100px; top: 0px; height: 700px; width: 898px;">

<style>
table, td{background:none;}
.contentHeader,  .sidebar, #footer, #header, #footerNifty, table table table .content, .contentModuleHeaderAlt{display:none}
.contentModuleContent{display:none}
#main {background:0;border:0;}
.content table table img {
display: none;
}

.content table .content table img {
display: inline;
} 
#textbox{
position:absolute;
top: 424px;
left: 11px;
height: 148px;
width: 616px;
overflow:auto;
}
</style>
<div id="textbox">
-This is were the news will go
-You can use your avatar for every staff member who puts up the post. Add bullits, numbers, anything you want. It has a scroll bar so you can put as much text here as you want.
</div>
</div>

 

Thats the code to a layout Im trying to make. I haven't messed with css or html on Neo in years.

This code returns an error, "Invalid words or disallowed property names found in your style tags. position"

I tried replacing <style></style> with <style /></style /> but still no luck. Is there a work around for positiononing a textbox or image without the filters having a crap fit? The position attribute on the background image doesnt matter, only the word position within the <style> tags

Link to comment
Share on other sites

You will have to create a div tag around the textbox like so <div style="position:absolute;">textbox code goes in here</div> as the filters do not allow for that property to be inside the style tags at all. But you can keep all the other properties for the textbox up in the style tags.

 

 

Edit:

I see you already have a div with id=textbox so you would just need to move the position attribute from the style tags down into the div, as I have shown, for it to work.

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...