...

View Full Version : Left + right borders on blockquote



PonchoX
04-05-2011, 07:44 PM
hi.

i am trying to add a thin left + right border to my blockquotes.

i am fairly familiar with css but cant get these styles to render:


blockquote {
font-size: 0.85em;
color: #b9c0c0;
margin: 2.3em 7%;
padding-left: 1em;
padding-right: 0.8em;
border-left: 1px solid #b9c0co;
border-right: 1px solid #b9c0co;
}

Actually, the first 3 seem to render fine, but the border doesnt show. They DO however (the L+R borders) show up in Dreamweaver (CS4) .. but when I turn on 'Live View' or try to view the uploaded styles, they dont appear.

Weird, no?

Any insight from the experts?

The page I'm trying to style: http://radified.com/index.rad

I tried adding more specificity, but that did nothing.

oesxyl
04-05-2011, 08:01 PM
hi.

i am trying to add a thin left + right border to my blockquotes.

i am fairly familiar with css but cant get these styles to render:


blockquote {
font-size: 0.85em;
color: #b9c0c0;
margin: 2.3em 7%;
padding-left: 1em;
padding-right: 0.8em;
border-left: 1px solid #b9c0co;
border-right: 1px solid #b9c0co;
}

Actually, the first 3 seem to render fine, but the border doesnt show. They DO however (the L+R borders) show up in Dreamweaver (CS4) .. but when I turn on 'Live View' or try to view the uploaded styles, they dont appear.

Weird, no?

Any insight from the experts?

The page I'm trying to style: http://radified.com/index.rad

I tried adding more specificity, but that did nothing.
o is not a vaild digit, use 0 instead, :)

best regards

teedoff
04-05-2011, 08:07 PM
I think if you change the hex to a color name...ie gray, it seems to work. Never used a border on a block quote like that before, but it seems to not like the hex code for some reason.

actually, after reading back over this...I think your hex code is invalid. Shouldnt it be

#b9c0c0

PonchoX
04-05-2011, 08:09 PM
oh my god. how embarrassing.

thanks.

in my head i was saying, "cee-oh-cee-oh".

teedoff
04-05-2011, 08:17 PM
oh my god. how embarrassing.

thanks.

in my head i was saying, "cee-oh-cee-oh".

lol happens to everyone. I had to look twice myself. Glad you got it working.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum