border="1"

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

border="1"

Harvey
If I do border="1" I get a 1 pixel border around an image.

How do I get a variable width border?

border="1,2,2,1"

doesn't seem to work.
HTTPS Please!
Reply | Threaded
Open this post in threaded view
|

Re: border="1"

GregChapman
Use spaces to separate the values, not commas.

Be aware that the values work clockwise starting at the top, so your figures will produce a "shadow" effect, with a wider border to the right and bottom.

Also, if there is not a full set of four values then the missing values take theirs from the opposite side. i.e.

border="1 2 3" is the equivalent of:

border-top: 1;
border-right: 2;
border-bottom: 3;
border-left: 2;

and border="1 2" is the equivalent of

border-top: 1;
border-right: 2;
border-bottom: 1;
border-left: 2;

Optionally, you can add units as well, eg

border="1px 2em"
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: border="1"

Harvey
Greg thx I tried this in a macro and it doesn't seem to be working:

<raw>

<div id="harvey_img">
   <img alt="NY Radar" border="0 1 1 0"  src="http://pro.accuweather.com/nx_mosaic_640x480c/sir/inmasirny_.gif"/>
</a>
</div> 

</raw>    

On Sat, Nov 3, 2012 at 9:01 AM, GregChapman [via Nabble Support] <[hidden email]> wrote:
Use spaces to separate the values, not commas.

Be aware that the values work clockwise starting at the top, so your figures will produce a "shadow" effect, with a wider border to the right and bottom.

Also, if there is not a full set of four values then the missing values take theirs from the opposite side. i.e.

border="1 2 3" is the equivalent of:

border-top: 1;
border-right: 2;
border-bottom: 3;
border-left: 2;

and border="1 2" is the equivalent of

border-top: 1;
border-right: 2;
border-bottom: 1;
border-left: 2;

Optionally, you can add units as well, eg

border="1px 2em"
Just a Volunteer Nabble Helper - because the nice folk at Nabble have helped me!



If you reply to this email, your message will be added to the discussion below:
http://support.nabble.com/border-1-tp7581792p7581795.html
To unsubscribe from border="1", click here.
NAML



--
"Like" us on Facebook: www.facebook.com/NYSkiBlog
Follow us on Twitter: http://twitter.com/nyskiblog
----------
Harvey Road: NYSkiBlog.com
NY Ski Forum: forum.NYSkiBlog.com
NY Ski Magazine: mag.NYSkiBlog.com
NY Ski Directory: directory.NYSkiBlog.com

HTTPS Please!
Reply | Threaded
Open this post in threaded view
|

Re: border="1"

Pedro
Try always to use px or em to indicate the size of your border. You should also use other border attributes like style and color. for example style="border-width:0px 1px 1px 0px; border-style : solid; border-color: white"
 <img alt="NY Radar" style="border-width:0px 1px 1px 0px; border-style : solid; border-color: white" 
src="http://pro.accuweather.com/nx_mosaic_640x480c/sir/inmasirny_.gif"/>
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: border="1"

Harvey
I tried this. It wont save and my CSS is no longer working.
HTTPS Please!
Reply | Threaded
Open this post in threaded view
|

Re: border="1"

Harvey
I went into the advanced editor and removed it all. So I am back to normal.

Still need to figure out how to do the border.
HTTPS Please!
Reply | Threaded
Open this post in threaded view
|

Re: border="1"

Harvey
Got it now. Thanks.
HTTPS Please!