This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > August 2006 > img boarder width





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 img boarder width
News

2006-08-24, 6:55 pm


img
{
border-color: WHITE;
border: 10px;
}

I read that if I do the above there will be a boarder on all four sides of
the IMAGE and that the boarder will be white. This does not work. What am I
doing incorrectly?

Warren

--

Totus possum, totum Deum.
Totus ero, totum meum.
WSW


David Dorward

2006-08-24, 10:36 pm

News wrote:

> border-color: WHITE;
> border: 10px;


> I read that if I do the above there will be a boarder on all four sides of
> the IMAGE and that the boarder will be white. This does not work. What am
> I doing incorrectly?


Not setting the border-style to something other than "none", and (not so
much "incorrect" as inconsistent) using the border shorthand property to
set some properties and the expanded versions for other properties.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jukka K. Korpela

2006-08-25, 3:43 am

David Dorward <dorward@yahoo.com> scripsit:

> News wrote:
>
>
>
> Not setting the border-style to something other than "none", and (not
> so much "incorrect" as inconsistent) using the border shorthand
> property to set some properties and the expanded versions for other
> properties.


To be a bit more explicit, use the following instead:
border: solid white 10px;

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
News

2006-08-28, 6:38 pm

David Dorward wrote:
> News wrote:
>
>
>
> Not setting the border-style to something other than "none", and (not
> so much "incorrect" as inconsistent) using the border shorthand
> property to set some properties and the expanded versions for other
> properties.


OK thanks I will fix this

--

Totus possum, totum Deum.
Totus ero, totum meum.
WSW


Sponsored Links


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