HighDots Forums  

img boarder width

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss img boarder width in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
News
 
Posts: n/a

Default img boarder width - 08-24-2006 , 06:49 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



Reply With Quote
  #2  
Old   
David Dorward
 
Posts: n/a

Default Re: img boarder width - 08-24-2006 , 07:01 PM






News wrote:

Quote:
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


Reply With Quote
  #3  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: img boarder width - 08-25-2006 , 01:58 AM



David Dorward <dorward (AT) yahoo (DOT) com> scripsit:

Quote:
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.
To be a bit more explicit, use the following instead:
border: solid white 10px;

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


Reply With Quote
  #4  
Old   
News
 
Posts: n/a

Default Re: img boarder width - 08-28-2006 , 03:01 PM



David Dorward wrote:
Quote:
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.
OK thanks I will fix this

--

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




Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.