This is a discussion on "div "SearchBar" doesn't display properly in firefox" within the Web Page Design section. This forum, and the thread "div "SearchBar" doesn't display properly in firefox are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
div "SearchBar" doesn't display properly in firefox
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
div "SearchBar" doesn't display properly in firefox
Here is the layout of my html divs:
I have the div "Navigation" set to 20 px and below that I have div "SearchBar" with a input search form but for some reason it displays it on top of the navigation div toward the right side in firefox, it displays it correctly in Internet Explorer. Any ideas why this happens? Thanks, Ket |
|
|
|
#2
|
||||
|
||||
|
Re: div "SearchBar" doesn't display properly in firefox
Post entire CSS or host this online please.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#3
|
|||
|
|||
|
Re: div "SearchBar" doesn't display properly in firefox
Hi here is my css code:
|
|
#4
|
|||
|
|||
|
Re: div "SearchBar" doesn't display properly in firefox
Your example code is not enough for us to help you further!
We need a complete code (CSS and HTLM) so we could see what the "problem" looks like! Better if you could host it somewhere as suggested by Alex!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#5
|
|||
|
|||
|
Re: div "SearchBar" doesn't display properly in firefox
Hmm. It should be:
Cheers
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#6
|
|||
|
|||
|
Re: div "SearchBar" doesn't display properly in firefox
So you have plenty of "free" time, huh? lol
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#7
|
|||
|
|||
|
Re: div "SearchBar" doesn't display properly in firefox
What do you mean? I just copied his code, pasted it into my post, and deleted "div" from in front of the css styles... It took 10 seconds!
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#8
|
|||
|
|||
|
Re: div "SearchBar" doesn't display properly in firefox
I use to see the result page before seeing the code! lol
That way I can "see" the problem and started to visualize the code behind it!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#9
|
|||
|
|||
|
Re: div "SearchBar" doesn't display properly in firefox
Ah. I don't do it that way. I usually can't tell by looking at the result. I have to work with code...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#10
|
|||
|
|||
|
Re: div "SearchBar" doesn't display properly in firefox
I don't have the html code with me right now, its in my home pc but I will post code when I go home in the evening. Thanks for all the replies.
Regards, Ket |
|
#11
|
|||
|
|||
|
Re: div "SearchBar" doesn't display properly in firefox
Here is the HTML code
|
|
#12
|
|||
|
|||
|
Re: div "SearchBar" doesn't display properly in firefox
OK, so remove "div" from in front of the ids and use the css I posted above. However, if you want to keep the html the way it is, just match up the css names with the ids.
Cheers
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#13
|
|||
|
|||
|
Re: div "SearchBar" doesn't display properly in firefox
Quote:
Quote:
Quote:
The solution to the problem actually not from deleting the div in the CSS ID selector! As you can see from his HTML:
Ok, the problem is all about your positioning, element width, and some id that don't have CSS styled to it! Eg, you have this in your HTML:
What you want is something like this: HTML File:
Hope that helps you.. Cheers..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#14
|
|||
|
|||
|
Re: div "SearchBar" doesn't display properly in firefox
Quote:
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#15
|
|||
|