实时打字时 CSS 定位有问题吗?
我有这个问题,我使用实时预览,当用户打字时,他们可以使用 jquery 看到他们的文本,但是当用户开始打字时,它会与周围的 div 一起播放并开始变得疯狂,我只想整个页面用户输入时保持静态,
页面为 http://www.kornar.co.uk/ customise.php
只需开始在 kornar 标题字段中输入即可!看看会发生什么,
感谢您的支持!
i have this problem, im using live preview, while the user is typing they get to see thier text using jquery, but when the users starts typing it plays up with the divs around and starts to go crazy, i just want the whole page to be static while the user is typing,
the page is http://www.kornar.co.uk/customise.php
just start styping in the kornar Title Field!, and see what happens
thanks for the support!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对于
h1.kornarTitle
,删除:并替换为:
For
h1.kornarTitle
, remove:and replace with:
两个选项:
a) 从 h1.kornarTitle 中删除 float:left
或
b) 添加 clear:left 到 #leftPanel
要了解有关 css float 属性的更多信息,我推荐这个综合教程 http://css.maxdesign.com.au/floatutorial/
Two options:
a) Remove float:left from h1.kornarTitle
or
b) Add clear:left to #leftPanel
To learn more about the css float property I recommend this comprehensive tutorial http://css.maxdesign.com.au/floatutorial/