Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-25-2008, 12:31 AM   PM User | #1
toxicity3440
New to the CF scene

 
Join Date: Nov 2008
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
toxicity3440 is an unknown quantity at this point
IE 6 Messing up my Search Bar!

My search bar works perfectly in every browser except IE 6!
Working:


Broken in IE 6:


The code relating to this problem:
Code:
<style type="text/css">
<!--
.searchbox {
	height: 12px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #3D1B00;
	border: 1px solid #FFFFFF;
	width: 90px;
	position: relative;
	top: 0px;
	_top: 1px;
}
-->
</style>
<!--begin search bar-->
<img src="images/searchbarleft.gif" width="5" height="16" align="absbottom" style="float:left;"><input style="float:left;" name="full" type="text" class="searchbox" onFocus="this.value=''" value="search..." size="9"><input style="float:left;" name="image" type="image" onMouseOver="javascript:this.src='images/searchbarright_o.gif';" onMouseOut="javascript:this.src='images/searchbarright.gif';" value="Search" src="images/searchbarright.gif" alt="Search" align="absbottom" style="margin-right:1px;">
toxicity3440 is offline   Reply With Quote
Old 11-25-2008, 01:03 AM   PM User | #2
GardenGnome2
Regular Coder

 
Join Date: Oct 2008
Posts: 130
Thanks: 0
Thanked 4 Times in 4 Posts
GardenGnome2 has a little shameless behaviour in the past
Your height coinsides with the font-size.

Delete the height.

Does that help? I'm not exactly sure what you want. You may need to change other things around the search bar.
GardenGnome2 is offline   Reply With Quote
Old 11-25-2008, 01:19 AM   PM User | #3
toxicity3440
New to the CF scene

 
Join Date: Nov 2008
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
toxicity3440 is an unknown quantity at this point
Well i deleted that line and it still works great in all of the other browsers besides IE 6 but it still looks terrible in IE 6. same problem.

Last edited by toxicity3440; 11-25-2008 at 01:23 AM..
toxicity3440 is offline   Reply With Quote
Old 11-25-2008, 01:25 AM   PM User | #4
GardenGnome2
Regular Coder

 
Join Date: Oct 2008
Posts: 130
Thanks: 0
Thanked 4 Times in 4 Posts
GardenGnome2 has a little shameless behaviour in the past
Check your the things surrounding the search bar. It may be a problem there because the search bar alone works fine for me. Experiment with the search bar alone and with other elements. This could help you find your answer.
GardenGnome2 is offline   Reply With Quote
Old 11-25-2008, 03:38 AM   PM User | #5
toxicity3440
New to the CF scene

 
Join Date: Nov 2008
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
toxicity3440 is an unknown quantity at this point
well theres the problem.. the _top = 1px; was messing everything up and setting it to = 0px fixed it in all the browsers! WOOT!!
toxicity3440 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:17 PM.


Advertisement
Log in to turn off these ads.