Welcome Guest, Not a member yet? Register   Sign In
View Problems with IE
#1

[eluser]zadbadt[/eluser]
Hi >>
I tried whatever I can to solve this issue , but nothing come out :
a web page with a wrapper division which has a CSS attribute as follow :

#Wrap{
width:800;
margin:0 auto;
}
on firefox ,, it is okey ,,, but on IE.7 , it will not follow th rules ,,
can any one try it for me ,,
does CI send any kind of formatting to the view >>>

thank you ... all
#2

[eluser]crikey[/eluser]
That wouldn't even work in Firefox for me.

Try adding units to the width, ie:

width: 800px;
#3

[eluser]zadbadt[/eluser]
[quote author="crikey" date="1221719106"]That wouldn't even work in Firefox for me.

Try adding units to the width, ie:

width: 800px;[/quote]

Soryy .. it is already there in the css file but forgot it here ..
thank you

can you try it now ??
#4

[eluser]Derek Allard[/eluser]
Quote:does CI send any kind of formatting to the view >>>
Only exactly what you send to the view.

Try changing your doctype to strict and look again.
#5

[eluser]narkaT[/eluser]
The IE doesn't apply auto-margins when anything (even comments)
is output before the doctype-tag.
maybe some debug-output is trashing your layout?

Greetings
Jan
#6

[eluser]xwero[/eluser]
IE needs a hack to center an element horizontally
Quote:body { text-align:center; } /* hack */
#Wrap { text-align:left; } /* undoing the hack inside the element */
#7

[eluser]zadbadt[/eluser]
Ok.... Solved....

the php line was the first line .. when changed it is working ...

thank you all ,




Theme © iAndrew 2016 - Forum software by © MyBB