开发者

Fluid width for my frames and CSS

开发者 https://www.devze.com 2023-01-26 12:53 出处:网络
This is my site : [check revision history if you care] As you can see the frame and the tabs content both are not fluid width.I want the height to be fixed.

This is my site :

[check revision history if you care]

As you can see the frame and the tabs content both are not fluid width.I want the height to be fixed.

Just that according to the window and resolution the width shoukd automatically set for both the "Tabs Content Frame" and the iFrame themselves..

Here is my standard frame ":

 <iframe name="wframe" 开发者_开发问答width="980px" frameborder="0" marginheight="0" marginwidth="0" height="1500px" src="http://en.wikipedia.org/wiki/SAMPLE_SEARCH" ></iframe>

Thanking You, 5416339


Line 1 of style.css reads;

.container{width:995px;margin:10px auto}...

If I understand you correctly you wish the frame to have a fluid width? Simply change the width:995px to width:100%.

Also, your iFrames all have a width attribute set.

<iframe name="wframe" width="980px" ... /></iframe> 

Also change width="980px" to width="100%". (See lines 100, 111, 121, and 132 of your web-search.phtml template/file).

0

精彩评论

暂无评论...
验证码 换一张
取 消