This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > February 2004 > ie 5 mac - bottom-border color not working





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ie 5 mac - bottom-border color not working
Olly

2004-02-16, 12:29 pm

I have been using border styles on form inputs and I have noticed that
on Internet Explorer 5.2 Mac the border color always comes out as
link-colour blue, no matter what color I specify. This also happens if
I try to give a bottom border to a table cell or a div.

Here is an example (see the search box on the homepage):

www.focusdiy.co.uk

I am defining the style like so:

input.blueBox {font: 0.70em Verdana, Arial, Helvetica, sans-serif;
height:16px; border:inset 1px solid #345C90;
background-color:#DDEBFF;}

Am I doing anything wrong or is this a known bug (I have looked on a
few websites and it is not mentioned)?

Cheers,
Olly
Steve Pugh

2004-02-16, 1:30 pm

osecluna@yahoo.co.uk (Olly) wrote:

>I have been using border styles on form inputs and I have noticed that
>on Internet Explorer 5.2 Mac the border color always comes out as
>link-colour blue, no matter what color I specify. This also happens if
>I try to give a bottom border to a table cell or a div.
>
>Here is an example (see the search box on the homepage):
>
>www.focusdiy.co.uk


It's always a good idea to validate your code before asking, that way
you can eliminate simple typos and the like before revealing them in
public...

http://validator.w3.org/check?uri=h...co.uk/page/home

http://jigsaw.w3.org/css-validator/...=1&profile=css2

>I am defining the style like so:
>
>input.blueBox {font: 0.70em Verdana, Arial, Helvetica, sans-serif;
>height:16px;


What if 0.7em is larger than 16 pixels?

>border:inset 1px solid #345C90;


Is it inset or is it solid? It's quite possible that some browsers are
ignoring the 4th value (as border can only take 3 values) and may even
be treating 'solid' as a mangled colour.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>
Karl Smith

2004-02-16, 7:30 pm

osecluna@yahoo.co.uk (Olly) wrote:

> border:inset 1px solid #345C90;


Gibberish. The border-style is either "inset" or "solid", not both.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews