View Full Version : unitalicizing italics!


ham_let
07-13-2004, 11:49 PM
ok.. i'm lazy, and i already wrote my entire page to have italics, but since the font on my new laoyut is so small, italics just don't work. how can i make it so that italics become: white and bold?

i'm using:

i{font-weight:bold;color:ffffff;}

but it's bold, white, and italicized... how do i fix it... :(

lefty
07-14-2004, 12:18 AM
do you have the font-style attribute anywhere?

ham_let
07-14-2004, 12:51 AM
i don't quite understand what you mean.

my stylesheet looks like this, it's a bit mixed up, but it's because i recycle this code for all my layouts.

<style type="text/css">
a{text-decoration:none;color:ffffff
}
a:hover{text-decoration:underline-overline; height:0;filter:blur;color:ffffff
}
a:visited{text-decoration:none;color:ffffff
}
font,div{font-family:small fonts;font-size:7px;letter-spacing:-0.2pt;line-height:8px;text-transform:uppercase;color:#a0a080;
}
body{padding-left:0;padding-right:0;background:FFFFFF; background-image: url("http://www.freewebs.com/hamstarr/v7/layout7bg.bmp");
}
i{font-weight:bold;color:ffffff; text-decoration:none;
}
</style>

what do i add to make the I section of my css stop being italicized? or will italics allways be italicized? =S it's font-style something i add to the I section? and if so, what do i add at the end of font-stlye? (font-style:???)

pb&j
07-14-2004, 01:19 AM
kinda backwards making an italics area un-italicized...
anyways, add this to your current i css...

font-style:normal;

so it will be...
i {font-weight:bold; color:ffffff; font-style:normal;}

ham_let
07-14-2004, 02:00 AM
thanks both of u! works perfectly. =P yes i know it's working backwards heheh. but seriously, italics in that font is just simply illegible... =/