Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/70.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 分区';带CSS属性显示的s:表格单元格闪烁_Php_Html_Css_Css Float_Css Tables - Fatal编程技术网

Php 分区';带CSS属性显示的s:表格单元格闪烁

Php 分区';带CSS属性显示的s:表格单元格闪烁,php,html,css,css-float,css-tables,Php,Html,Css,Css Float,Css Tables,无论我做什么,我都不会让我的div在加载时闪烁 我在内容div中有三个主要div。它们是左、右和中分区,在中分区中,我动态创建了一些菜单,我希望这些菜单的宽度被平均分配,以适合中分区 CSS 。。 HTML 此单元格中的文本和图像非常少 当网站加载页面时,页面闪烁,我可以看到中间内容的宽度为800px,即内容div的宽度减去左div的宽度。尽管我给出了minwidt,max width,但flickr根本没有停止 对我来说,另一个挑战是,这个东西应该在IE上工作 请帮助我。此语法不正确 &l

无论我做什么,我都不会让我的div在加载时闪烁

我在
内容div
中有三个主要div。它们是
左、右和中分区
,在
中分区
中,我动态创建了一些菜单,我希望这些菜单的宽度被平均分配,以适合中分区

CSS

。。 HTML


此单元格中的文本和图像非常少
当网站加载页面时,页面闪烁,我可以看到中间内容的宽度为800px,即内容div的宽度减去左div的宽度。尽管我给出了minwidt,max width,但flickr根本没有停止

对我来说,另一个挑战是,这个东西应该在IE上工作


请帮助我。

此语法不正确

<div id="content">
   <div id="left">very less text and images in this cell</left>
   <div id="middle" style="<?php echo $middleWidth;?>">I have lot lots of images, hyperlinks and text in this page</middle>
   <div id="right">very less text and images in this cell</right>
</div>

此单元格中的文本和图像非常少

你能把这个问题重复一下吗?
$middleWidth
不应该是
$middleWidth='602'。'px'。嘿,柯克,很抱歉这也是个错误。。现在就更新了。。对不起,兄弟。。
<div id="content">
   <div id="left">very less text and images in this cell</div>
   <div id="middle" style="<?php echo $middleWidth;?>">I have lot lots of images, hyperlinks and text in this page</div>
   <div id="right">very less text and images in this cell</div>
</div>
<?php
   //some calculations..
   $middleWidth = '602'.'px'; 
   //this value is dynamic, I might get from 600px to any value that can be divided to get 0 remainder.
?>
<div id="content">
   <div id="left">very less text and images in this cell</left>
   <div id="middle" style="<?php echo $middleWidth;?>">I have lot lots of images, hyperlinks and text in this page</middle>
   <div id="right">very less text and images in this cell</right>
</div>