(Solved) Browser problem (not displaying properly in IE)

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
Neo
Forum Members
Forum Members
Posts: 62
Joined: Thu Jan 18, 2007 1:09 am

(Solved) Browser problem (not displaying properly in IE)

Post by Neo »

Hi all,

I have a global content block with search box embedded in it. But the problem is that it is not aligned properly and it is present in a different position in different browsers. Especially, in IE (sometimes in Mozilla also) it is displaying the search box in a separate line. So should I write different codes for different browsers or how does it work?

I have given the link to the website below.

http://cms.ce.gatech.edu/ceetest/

Any pointers to this would be greatly helpful.

Thanks,
Neo
Last edited by Neo on Fri Sep 28, 2007 7:05 pm, edited 1 time in total.
SideshowBob
Forum Members
Forum Members
Posts: 80
Joined: Thu Sep 13, 2007 10:50 am

Re: Browser problem (not displaying properly in IE)

Post by SideshowBob »

Hi Neo,

I think this is due to the fact that IE applies some margin to forms. Something like this might help:

Code: Select all

div#utility form{margin:1px 0}
Consider using some kind of css reset (Google it) for better consistency across browers.

Bob
User avatar
Neo
Forum Members
Forum Members
Posts: 62
Joined: Thu Jan 18, 2007 1:09 am

Re: Browser problem (not displaying properly in IE)

Post by Neo »

Hi Bob,

Thanks a lot. It resolved the problem  :)

Neo
Post Reply

Return to “Layout and Design (CSS & HTML)”