HTML5和CSS3布局错误 [英] HTML5 and CSS3 layout is wrong

查看:118
本文介绍了HTML5和CSS3布局错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我承认在HTML5之前我对DIV标签很糟糕。但是,4.01正在离开我们,我正在创建一个新网站,并希望在HTML5 / CSS3中正确地完成。没什么好看的,只是想要...


这个内容

展开 | 选择 | Wrap | 行号

解决方案
1。您应该在通用规则中将margin和padding属性设置为零。之后你将不得不编辑一些东西,但它可以帮助你的页面很好地与其他浏览器一起玩。

展开 | < span class =codeLinkonclick =selectAll(this);>选择 | Wrap | 行号


1)导航:

是的,字体大小确实使导航扩展到更多行,具体取决于用户窗口的宽度。但是,字体大小是为了我和其他用户的可读性。


2)内容:

我认为最大宽度可行,但显然,它不是。我真的希望它能够在没有超出书籍形象的情况下保持动态,但却对此感到困惑。目前,阅读更多教程,尝试不同的东西。


好的,当我在leftfirst等标签中玩''位置'时,怎么回事,唯一的事情移动的是

展开 | 选择 | Wrap | 行号


Okay, I admit I was lousy at DIV tags before HTML5. However, 4.01 is leaving us, and I''m making a new site, and wanted to do it right in HTML5/CSS3. Nothing fancy, just wanted...

THIS content

Expand|Select|Wrap|Line Numbers

解决方案

1. You should set both the margin and padding properties to zero in your universal rule. You will have to edit a few things after, but it will help your page play with other browsers well.

Expand|Select|Wrap|Line Numbers


1) The Navigation:
Yes, the font size does make the nav expand onto more rows, depending on how wide the user''s window is. However, the font size is for readability for me and other users.

2) Content:
I thought that max-width would work, but apparently, it isn''t. I really want it to be dynamic without it getting outside of the book image, but confused on that. Currently, reading more tutorials, and trying different things.


okay, how come when I play around with ''Position'' in the "leftfirst", etc. tags, the only thing that moves is the

Expand|Select|Wrap|Line Numbers


这篇关于HTML5和CSS3布局错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆