View Single Post
  #5 (permalink)  
Old Jun 12th, 2006, 23:36
uqwebdesign uqwebdesign is offline
Reputable Member
Join Date: May 2006
Location: Wrexham, UK
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help With Display: Block Vertical Spacing Please

I've just looked at the CSS again, the UL isn't set as anything - I tried changing it to Height: 0px but it still makes no difference.

Here's the entire CSS sheet if it helps (yes I know it's a complete mess, I'm taking over from someone elses shoddy work)

Code: Select all
.smallnormal            {font-family: Arial,Helvetica; font-size: 11px;}
.smallnormaltable        {font-family: Arial,Helvetica; font-size: 11px; color: #404040; }
.smallnormaltablered    {font-family: Arial,Helvetica; font-size: 11px; color: #404040; }
.smallnormaltablealt    {font-family: Arial,Helvetica; font-size: 11px; color: #404040; }
.mednormal                {font-family: Arial,Helvetica; font-size: 11px }
.mednormal                {font-family: Arial,Helvetica; font-size: 11px; background-color: none; }
.mednormaltable            {font-family: Arial,Helvetica; font-size: 11px; color: #404040; }
.medbold                {font-family: Arial,Helvetica; font-size: 12px; font-weight: bold; color: #404040; line-height: 20px;}
.medboldalt                {font-family: Arial,Helvetica; font-size: 11px; font-weight: bold; color: #404040; }
.medboldtable            {font-family: Arial,Helvetica; font-size: 12px; font-weight: bold; color: #404040; }
.largebold                {font-family: Arial,Helvetica; font-size: 18px; font-weight: bold; color: #404040;  }
.largeboldalt            {font-family: Arial,Helvetica; font-size: 14px; font-weight: bold; color: #404040; }
.smallcompact            {font-family: Arial,Helvetica; font-size: 11px }
.smallbold                {font-family: Arial,Helvetica; font-size: 11px; font-weight: bold }
.smallboldtable            {font-family: Arial,Helvetica; font-size: 11px; font-weight: bold; color: red; }
.smallboldtablered        {font-family: Arial,Helvetica; font-size: 11px; font-weight: bold; color: red; }
.smallboldtablealt        {font-family: Arial,Helvetica; font-size: 11px; font-weight: bold; color: red; }
.smallboldtabletop        {font-family: Arial,Helvetica; font-size: 11px; font-weight: bold; color: red; }
.smallboldtemplate        {font-family: Arial,Helvetica; font-size: 11px; font-weight: bold; color: white; }
.smallboldfooter        {font-family: Arial,Helvetica; font-size: 11px; color: gray; }
.locationbar            {font-family: Arial,Helvetica; font-size: 11px; color: red; }
.searchtexthighlight    {background: #FFEE00; }

A:link                    {text-decoration: none; color: red; }
A:visited                {text-decoration: none; color: red; }
A:hover                    {text-decoration: underline; }

A.minibasket:link        {text-decoration: none; color: red; }
A.minibasket:visited    {text-decoration: none; color: red; }
A.minibasket:hover        {text-decoration: underline; }

A.prodtypemenu:link        {text-decoration: none; color: red; }
A.prodtypemenu:visited    {text-decoration: none; color: red; }
A.prodtypemenu:hover    {text-decoration: underline; }

br { height: 0px; }
ul { height: 0px; }

A.prodtypemenu1:link    {display: block; float:left; margin-top:5px; padding:0px; text-decoration: none; color: #f5f5f5; font-weight:bold; font-size:13px; height: 20px; width:132px; background-image: url(button.jpg);}

A.prodtypemenu1:visited    {display: block; float:left; margin-top:5px; padding:0px; text-decoration: none; color: #f5f5f5; font-weight:bold; font-size:13px; height: 20px; width:132px; background-image: url(button.jpg);}
A.prodtypemenu1:hover    {display: block; float:left; text-decoration: none; margin-top:5px; padding:0px; color: red; font-weight:bold; font-size:13px; height: 18px; width:130px; background-image: url(buttonsel.jpg); border: solid 1px; border-color: red;}

A.prodtypemenu2:link    {display: block; float:left; padding:0px; text-decoration: none; color: red; width:130px; margin-top: -10px; background-color: #f5f5f5; border: solid 1px; border-color: red;}
A.prodtypemenu2:visited    {display: block; float:left; padding:0px; text-decoration: none; color: red; width:130px; margin-top:-10px; background-color: #f5f5f5; border: solid 1px; border-color: red;}
A.prodtypemenu2:hover    {display: block; float:left; padding:0px; text-decoration: none; color: #f5f5f5; width:130px;margin-top:-10px; background-color: red; }

A.table:link            {text-decoration: none; color: #5588bb; }
A.table:visited            {text-decoration: none; color: #5588bb; }
A.table:hover            {text-decoration: underline; color: black; }

A.templatemenu:link        {
                color: white;
                text-decoration: none;
                font-family: Arial,Helvetica;
                font-size: 11px;
                font-weight: bold;
                padding-bottom: 1px;
                padding-left: 4px;
                padding-right: 4px;
                padding-top: 1px;
                }

A.templatemenu:visited        {
                color: white;
                text-decoration: none;
                font-family: Arial,Helvetica;
                font-size: 11px;
                font-weight: bold;
                padding-bottom: 1px;
                padding-left: 4px;
                padding-right: 4px;
                padding-top: 1px;
                }

A.templatemenu:hover        {
                background-color: white;
                color: black;
                text-decoration: none;
                font-family: Arial,Helvetica;
                font-size: 11px;
                font-weight: bold;
                padding-bottom: 1px;
                padding-left: 4px;
                padding-right: 4px;
                padding-top: 1px;
                }

A.locationlink:link        {text-decoration: none; color: red; }
A.locationlink:visited    {text-decoration: none; color: red; }
A.locationlink:hover    {text-decoration: underline; color: red; }

table.minibasket        {background-color: ; }
tr.minibasketline         {background-color: ; }

hr                        {height: 1; color: #DDDDDD }
pre                        {font-family: Courier; font-size: 11px; }
select                    {font-family: Verdana; font-size: 11px; color: black; background-color: white; border-color: #476332; }
form                    {margin: 0 }

table.mainpage                {background-color: #CCCCCC; }
tr.mainpagetableline         {background-color: #EEEEEE; font-family: Verdana; font-size: 11px; color: black; }
tr.mainpagetableline2         {background-color: #FFFFFF; font-family: Verdana; font-size: 11px; color: black; }
tr.mainpagetablespecial        {background-color: #FFEEDD; }
tr.mainpageversionhighlight    {background-color: #FF0000; }
td.shortformatproduct        {border: solid 1px; border-color: #666666; background-color: #ffffff; }
td.background                {border: solid 1px; border-color: #666666; background-color: ; font-family: Verdana; font-size: 11px; font-weight: ; color: black; background-color: #; }
table.basket                {border: solid 1px; border-color: #666666; background-color: #eeeeee; }

.buttonstyle            {font-family: Arial; font-size: 12px; font-weight: bold; color: #f5f5f5; background-color: red; cursor:pointer; }
.textboxsmall            {font-family: Verdana; font-size: 11px; color: black; background-color: white; }

body {
    margin-left: 0px;
    margin-top: 0px;
    background: url('background.gif');
    background-position:center;
    background-repeat:repeat-y;
    
}
Please keep your code inside the [ code ][/ code ] tags. - herkalees

Thanks, this is really starting to irritate now that I can get it ok in EITHER FF or IE, but not both

Last edited by herkalees; Jun 13th, 2006 at 00:41.
Reply With Quote