Featured post
html - How do you keep relative positioning from poping out of the box? -
i trying use relative positioning other reasons, , data in div popuping out of container div in ie7.
can guys give me idea going?
also, can remove position: relative;. need line highlighting code.
thanks, grae
here code:
<!doctype html public "-//w3c//dtd xhtml 1.0 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <meta http-equiv="x-ua-compatible" content="ie=emulateie7" > <html> <head>
</head> <body> <div style="overflow:auto; height:350px; border: 1px solid #00ff00"> <table> <tr>
<td> <div style="position:relative;"> <pre> test line test line test line test line test line test line test line test line test line test line test line test line test line test line test line test line test line test line test line test line test line test line test line test line </pre> </div> </td> </tr> </table> </div> </body>
you'll want add overflow: hidden;
inline (or css) style containing element.
- Get link
- X
- Other Apps
Comments
Post a Comment