Theme distorted

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Percyweb
Regular
Posts: 6
Joined: Sun Oct 01, 2006 6:18 am

Theme distorted

Post by Percyweb »

Hello my theme is distorted in IE 6.x why?, in firefox is good.
any ideas?

check site www.tutorial-php.com
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

IE is stupid, and it doesn't like your code samples, some of your lines are too long, put a linebreak into them and you should notice a difference.
abdussamad
Regular
Posts: 117
Joined: Fri Apr 21, 2006 10:11 pm
Location: Karachi, Pakistan
Contact:

Post by abdussamad »

Hi

I think you should use the geshi plugin for your code samples. You can download and install that plugin from spartacus. Geshi will highlight your code samples in different colours making it easier for your readers to follow the code. It also emits css code allowing you to style your code samples to work with ie. For ex in one of my themes I have the following css

Code: Select all

.php,.c,div.html,.css
{
white-space:nowrap;
width:100%;
	overflow:auto;}
Of course you can also add .sql to the list of selectors. The overflow:auto bit will probably fix the problem your having with ie.
Post Reply