4 replies [Last post]
turb
Offline
newbie
Last seen: 16 years 50 weeks ago
Joined: 2003-11-11
Posts: 2
Points: 0

Hi all!

I need to print border line smaller that 1px solid... i saw that some user used "thin" but when i try this, i lost my border and the border isn't on my print page?

Can someone help me figure out how to set thin border in IE5-6

T

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 2 days 20 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Thin border...

Hi turb,
I don't think it's possible to get anything smaller then 1px to be visible.
Setting the border to thin shouldn't make your border disappear, something else must be wrong.

Hope that helps

Daybreak_0
Offline
Enthusiast
Sydney, Australia
Last seen: 16 years 49 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

Thin border...

For printing purposes you could try 0.5pt or 0.25pt, but would have a separate printing stylesheet to do it, because as Tony said it may not render on screen.

NB: 0.75pt = 1px

Regards
Day

The only way to learn is to do it yourself

skyrocket
skyrocket's picture
Offline
Enthusiast
Sydney - Australia
Last seen: 16 years 45 weeks ago
Sydney - Australia
Timezone: GMT+10
Joined: 2003-12-18
Posts: 71
Points: 0

Thin border...

border-width: thin; was a CSS1 spec and is supported by IE4 even (!) See http://www.w3schools.com/css/css_border.asp for details

PAUL - SkyRocket Design Co
web design sydney northern beaches

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 2 days 20 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Thin border...

Yes but thin borders still wont be any smaller then 1 pixel. Smile