Sure, you can have a 0 pixel border. If you want to give the illusion of a thinner border then reduce the contrast between the border colour and the background colour.
A pixel is a fixed unit, you can't have half a pixel, you either have one or not.
i was , lol. so how would i make a box like the one at the top of the page that says:
Access FREE IBM Whitepapers at the
IBM Middleware Solution Center.
thans again.
Something like this?...
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html lang='en'><head><META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=ISO-8859-1'><title>Page title</title><style type="text/css"><!--
body {
margin: 0;
padding: 10px;
background-color: white;
font: small arial, helvetica, sans-serif;
}
div#test {
float: right;
margin: 0 0 10px 10px;
padding: 10px;
width: 250px;
border: solid 1px #666;
}
#test h3 {
background-color: #99ccff;
margin: -10px -10px 0 -10px;
padding: 5px 10px;
border-bottom: solid 1px #666;
text-align: center;
}
--></style></head><body><div id="test"><h3>This is a test</h3><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi
enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis
nisl ut aliquip ex ea commodo consequat.</p></div></body></html>
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
If you reduce the margin on all sides you'll find the box growing.
Disclaimer. (1) Whilst I will help you sometimes, if I feel like it, and my advice in relation to your actual question will be of good quality: my posts are to be taken with a pinch of salt. I will be sarcastic, deploy irony and include obscure cultural references for my own amusement without warning.
(2) You will gain nothing from complaining, and if you try to argue with me then you will not win. No matter how noble your battle seems, I am still better than you, don't be an hero.
Bookmarks