我有修复此问题的问题。我没有使用引导程序,因此我没有引导启动(并且不确定引导程序是否可以执行此操作)。 我有一个固定菜单宽度的全宽布局。那么我的内容区域应该是动态的,因为我希望它能够响应。全宽CSS 2列,固定菜单宽度和动态内容宽度
http://send2list.com/help/troubleshoot.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="da-DK">
<head>
<title></title>
</head>
<body style="background-color:#e0e0e0;color:#fff;margin:0px;">
<div style="width:100%;">
<div style="background-color:#000;">
<div style="float:left;background-color:#222223;width:900px;">Content Area<br> Content width should be responsive. Right now it is set to width 900px. But if user were to resize screen, it should be smaller. Any way to do this with just CSS?</div>
<div style="float:right;background-color:#499939;">Right Menu<br>Right menu is fixed with 240px</div>
</div>
</div>
</body>
</html>
的作品。宽度:85%如何在安排中播放? – OneNation
@Sathish你误解了这个问题。 OP希望第二个'div'具有240px的固定宽度。如果意图让他们有不同的大小'浮动'将绰绰有余 – jmore009
其屏幕只有85%的覆盖 – Sathish