> Hi everybody
> im working on a Blog System and i have problems with user inputs
> i have 2 divs
> 
> <div id="jjj">
> <div id="ggg" style="width: 600px; float:left">user data</div>
> <div id="fff" style="width: 150px; float:left">right column</div>
> </div>
> 
> on the left DIV the user uploads his data.
> if the user uploads content widen then 600px, the page breaks and the right
> div falls down beneath the left DIV
> 
> how can i solve it?
> through declaring *!important *div width, i haven't managed to control the
> width absolutely.

What is "data"? Text should wrap, images you could check before
allowing the user to add it to the content and resize them on the
server. If this is about preformatted text, then you could use the
overflow CSS declaration to define what the blog should do:
http://www.quirksmode.org/css/overflow.html

If this is about shortening links, then you'd either need to shorten
them in your upload script or via DOM and a small JavaScript.

HTH
Chris

-- 
Chris Heilmann 
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/  
Binaries: http://www.onlinetools.org/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to