[SOLVED] "Search" creating problems with IE6

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
cactusg
New Member
New Member
Posts: 8
Joined: Sun Apr 05, 2009 1:08 pm

[SOLVED] "Search" creating problems with IE6

Post by cactusg »

I have a created a horizontal bar across my website. It has the same attributes as my footer bar but contains a breadcrumb and a search box. It looks fine in both Firefox and IE7 but in IE6 it stretches the bar vertically. When I remove the search feature the bar returns to normal so I'm assuming that the Search feature is what is causing the problem.

URL

http://www.wdbuild.com/daviesflowershop/

CSS.


#mastcont
{
width:785px;
height:88px;
}

#mast
{
width:475px;
height:88px;
background-color:#f4cadd;
background-image:url(images/davies_mast1.gif);
float:left;
}

#mastflash
{
width:310px;
height:88px;
background-color:#f4cadd;
float:left;
}

#nav
{
width:785px;
height:30px;
background-color:magenta;
background-image:url(images/nav_middle.gif);
clear:both;

}

#bread
{

float:left;
width:165px;
height:23px;
font-family:Arial, Helvetica, sans-serif;
font-size:8pt;
color:white;
padding: 7px 0px 0px 5px;

}


#search_for
{

float:right;
font-family:Arial, Helvetica, sans-serif;
font-size:9pt;
color:white;
padding: 5px 10px 0px 0px;
vertical-align:middle;

}

----------

XHTML



                                       {breadcrumbs}
                                       {search submit="Go"}

                               

---------

Any assistance would be hugely appreciated! If I need to provide more information just say so! Thanks
Last edited by cactusg on Sun Apr 05, 2009 9:07 pm, edited 1 time in total.
NaN

Re: "Search" creating problems with IE6

Post by NaN »

Try this in your css below the search_for stuff:

Code: Select all

#search_for form
{
	padding:0;
	margin:0;
}
By the way this belongs to the layout section not to the developers...
cactusg
New Member
New Member
Posts: 8
Joined: Sun Apr 05, 2009 1:08 pm

Re: "Search" creating problems with IE6

Post by cactusg »

Thank you!
Post Reply

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