Post by gartupa » Sat May 09, 2009 3:44 am

i get this error who can help me pls ?
Image

Newbie

Posts

Joined
Sat May 09, 2009 3:39 am

Post by camptr » Sat May 09, 2009 5:50 pm

gartupa wrote:i get this error who can help me pls ?
Image

Qphoria offered me that but i could not fix it maybe u can..


Qphoria said ;
1. remove static heights in your css.
2. add <br style="clear:both" /> at the bottom of your category.tpl file. Before the final </div>

Newbie

Posts

Joined
Thu May 07, 2009 4:19 am

Post by camptr » Sun May 10, 2009 1:52 am

camptr wrote:
gartupa wrote:i get this error who can help me pls ?
Image

Qphoria offered me that but i could not fix it maybe u can..


Qphoria said ;
1. remove static heights in your css.
2. add <br style="clear:both" /> at the bottom of your category.tpl file. Before the final </div>
man i have found how to fix that it is not working with Qphoria's said if u do them ur table not resizing outomaticaly try this

1. find this part in your sytlesheet.css in ..\catalog\view\theme\default\stylesheet

than find this part

content .middle {
border-left: 1px solid #DDDDDD;
border-right: 1px solid #DDDDDD;
background: #FFFFFF;
padding: 10px 10px 1px 10px;
min-height: 470px; // ===change this line
width: 558px;

u can fix "min-height: 470px; " whatever u need it is not auto resize but it a way to solve this issue

i hope it works

Newbie

Posts

Joined
Thu May 07, 2009 4:19 am

Post by jnixus » Sun May 10, 2009 5:27 pm

I went a little further to resolve this.

The issue you are having seems to happen in firefox but not in IE7. On the other hand if you remove the content_bottom image and borders to #content it works in Firefox as well.

However having square boxes is not that fun so I added to /catalog/view/theme/default/template/common/layout.tpl a useragent check in php to confirm which browser is used and serve different .css based on browsers.

I removed the default stylesheet entry but left the <!--[if lt IE7]> stuff and added the below code above:
<?php
$user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
if(strpos($user_agent, 'Gecko') !== false)
{
echo '<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheet.css" />';
}
elseif(strpos($user_agent, 'MSIE') !== false)
{
echo '<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/iestyle.css" />';
}
else
{
echo '<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheet.css" />';
}
?>


Mozilla and Safari seem to be able to deal with CSS3 so I removed the images and used -moz-border-radius on content and kept the images on the boxes.

http://www.newmanit.co.uk/business-online

I haven't tried this in safari or opera so any feedback would be greatly appreciated.

User avatar
New member

Posts

Joined
Fri Apr 17, 2009 3:26 am
Location - London
Who is online

Users browsing this forum: Amazon [Bot] and 15 guests