By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,828 Members | 1,223 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,828 IT Pros & Developers. It's quick & easy.

combo box alignment

P: 1
i made the alignment for values in combo box as centered, which is taken from database. this alignment is coming centered in the browser Mozila firefox. but it is not coming centered in Internet Explorer. the coding is in PHP. Can anyone guide for this issue?
Feb 8 '07 #1
Share this Question
Share on Google+
3 Replies

Expert 2.5K+
P: 4,258
Welcome th The Scripts!

Let's not guess about how you coded this. Show your code here (use code tags).

Ronald :cool:
Feb 8 '07 #2

P: 1
I too am trying to stack both boxes rather than side by side. Firefox does this but not IE. It sure seems that this is a simple fix but I cant recall what it is. I feel like I am back in school. TIA to the "teachers". Since he didnt answer what his code was, here is mine....

<script type="text/javascript" src=";alig n=left&amp;width=540&amp;frameColor=black&amp;titl eBarColor=cornflowerblue&amp;titleBarTextColor=bla ck&amp;boxFillColor=white&amp;textColor=black&amp; fontFace=arial&amp;maxItems=30&amp;compact=1&amp;s howXmlButton=0&amp;javascript=true"><BR></script>

<script type="text/javascript" src=";al ign=left&amp;width=540&amp;frameColor=black&amp;ti tleBarColor=cornflowerblue&amp;titleBarTextColor=b lack&amp;boxFillColor=white&amp;textColor=black&am p;fontFace=arial&amp;maxItems=30&amp;compact=1&amp ;showXmlButton=0&amp;javascript=true"></script>
Mar 3 '08 #3

Expert 2.5K+
P: 4,258

Firstly: you code must be shown within code tags or we will not look at it.

Secondly: that is not code you show here, it is text that has been passed through an htmlentities() function, so you have to translate the tags yourself.

Thirdly: this is JavaScript and not PHP and this is the PHP forum.

Mar 3 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.