Topic: dashed border on div (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=11156" title="Pages that link to Topic: dashed border on div (Page 1 of 1)" rel="nofollow" >Topic: dashed border on div <span class="small">(Page 1 of 1)</span>\

 
marf
Bipolar (III) Inmate

From: Canada
Insane since: Oct 2001

posted posted 02-22-2004 02:03

Ok, I can't get my code to give me a Dashed border, it just keeps giving me a solid border

Here is my CSS

code:
div.newsbox {
margin: 0 auto;
width: 380px;
border: 1px dashed #48AB00;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: normal;
color: #FFFFFF;
z-index: 1;
}
div.newstitle {
text-align: left;
width: 374px;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #C0EF03;
z-index: 2;
}
div.date{

text-align: right;
width: 374px;
font-size: 10px;
font-weight: normal;
font-style: italic;
color: #0072BC;
z-index: 3;
}
div.content{
text-align: left;
width: 354px;
font-size: 11px;
font-family: Arial, Helvetica, sans-serif;
font-weight: normal;
color: #FFFFFF;
z-index: 2;
}
div.name{

text-align: right;
width: 374px;
font-size: 10px;
font-weight: bold;
color: #FFFFFF;
z-index: 3;
}



And heres the div layers

code:
<div class="newsbox">
<div class="newstitle">
News
</div>
<div class="date">
test
</div>
<div class="content">
test
</div>
<div class="name">
Marf
</div>
</div>



Any Suggestions?

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 02-22-2004 02:42

Don't give us code, give us the web page. It's *so* much easier to help that way.

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 02-22-2004 05:25

^yup.

and more details. What browser(s) are you looknig in?

Ramasax
Paranoid (IV) Inmate

From: PA, US
Insane since: Feb 2002

posted posted 02-22-2004 19:25

Marf, the border is appearing for me in all the browsers I checked in.

Only place the dashed border didn't show is in DreamWeaver. If you are using that for CSS design, pay no attention to the preview pane, turn it off. It is never right.

I was fiddling with the code a bit too, couldn't help myself. Is this what you are after? I added a centering div for IE5, as it doesn't pick up on auto margins.






Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu