4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: fixyou on June 14, 2009, 06:19:04 AM
-
Hello everyone.
I have a problem when I insert code into html and css in a Textarea description, I get the line between <br> online </ br>
I would not leave these codes <br> </ br>
sorry for my English :cry:
-
can you show an example what you insert and what you get? (use [code][/code])
-
my code in details.html
<textarea onMouseOver="this.focus()" onFocus="this.select()" rows="10" name="hi" cols="26"> {image_description}</textarea
and as a result of this
<style>
color: #ffffff; <br />
border-style: hidden; <br />
border:none; <br />
height: 458px; <br />
width: 956px!important;}<br />
#user-details { border: none; }<br />
</style>
should leave well
<style>
color: #ffffff;
border-style: hidden;
border:none;
height: 458px;
width: 956px!important;}
#user-details { border: none; }
</style>
least <br/>
thanks for your help :)
-
ok, I see.
First of all, <style> should not be added into <body></body>, it should be inside <head></head>. Even though most browsers ignore such rules and don't ignore <style> inside <body> but this might be changed as it's against the standards. (discussion regarding this (http://forums.devshed.com/html-programming-1/is-style-must-be-inside-head-or-can-also-be-583204.html))
Secondly, in your particular case you can remove any newlines from that text, as long as you have ";" it can all be in one line.
-
you have nothing to do with a php file?
http://www.4homepages.de/forum/index.php?topic=11975.0
-
please :cry: