View Full Version : question about border


GhettoStar04
07-03-2004, 03:37 PM
this is a question about my livejournal

my css looks like this:

<style type="text/css">

<!--
/* change these numbers, make them add up to 100 or less*/
table {
width: 402%;
margin-left: 0%;
margin-right: 0%;
}
/* don't change these numbers */
table table {
width: 100%;
margin:0;
}
table table table {
width: 0;
}

body {
scrollbar-base-color: #DE5210;
scrollbar-track-color: #DE5210;
scrollbar-face-color: #DE5210;
scrollbar-highlight-color: #DE5210;
scrollbar-3dlight-color: black;
scrollbar-darkshadow-color: #DE5210;
scrollbar-shadow-color: black ;
scrollbar-arrow-color: black;
}


body, td {
font-family: "Verdana";
font-size: 10px;
color: #000000;
}

A:link { COLOR:#FFFFFF; text-decoration: none;font-weight:bold;}
A:visited { COLOR:#FFFFFF; text-decoration:none;font-weight:bold;}
A:active { COLOR:#FFFFFF; TEXT-DECORATION: none;font-weight:bold;}
A:hover { COLOR:#DE5210; TEXT-DECORATION:none;cursor:help; background:#FFFFFF;border:#000000 1px dotted;background:url(http://ghetto-superstar.net/purity/images/AALIYAHPATTERN.png);

}

table {
border: 1px dotted #000000;
}
table table {
border: 0;

}

body {
background-color: #FFFFFF;
background-image: url('http://ghetto-superstar.net/purity/images/AALIYAHPATTERN.png');
background-repeat: repeat;
background-attachment: fixed;
background-position: top left;
}

div {
background-image: url('http://ghetto-superstar.net/LiveJournal/images/LJ_xoxo02.png');
background-repeat: no-repeat;
background-position: top center;
padding-top: 427;
text-align: center;
}

div div { background: none; width: auto; height: auto; padding: 2; }
div table { width: 405; }
div table table { width: 100%; }
div table table table { width: auto; }
div table table table table { width: 100%;
}

>-->
</style>

I was trying to find out how I could get a border around my image picture

I know to add a border to an image or something you use this --> style="border: 1px dotted #000000"

but it doesn't work on this css.
I hope you understand what I'm trying to say
if not here's the url to my livejournal
http://www.livejournal.com/users/ghetto_star/
I want the dotted border to be around the picture of aaliyah

pb&j
07-03-2004, 04:30 PM
I know to add a border to an image or something you use this --> style="border: 1px dotted #000000"

add that style into the IMG tag you desire instead of in your css section.

or if you want to keep everything in your css section, try something like...
.special {border : 1px dotted #000000;}
then in your IMG tag you can add the class...
class="special"