Log in

View Full Version : Unwanted Italics?



sp00by
07-27-2010, 03:51 AM
Hi Everyone, I'm REALLY new to CSS so please go easy on me...

This is occurring on FF, Safari, and IE. I have two problem sheets, for some reason (which when opened through a <div> on the main page) are showing text in the left columns in italics. However, if you open these pages on their own, they display correctly. :confused: This would suggest I've setup the stylesheets correctly, so I assume something is going wrong on import??

The corresponding sheets are loaded off "base.css" which is imported on the home page is as follows:

@charset "UTF-8";
/* CSS Document */

@import url("/css/bio.css");
@import url("/css/tattoos.css");
@import url("/css/artwork.css");
@import url("/css/links.css");
@import url("/css/faceless.css");
@import url("/css/contact.css");

I've been over and over the HTML and the stylesheets and can find NOTHING (to the best of my knowledge) that would tell browsers to display italics. In a desperate attempt to find the problem, I removed the few instances where I did actually use them, to no avail.

The pages are located at:
(removed by author)
I know this probably something SO simple that I've neglected to see with my inexperience... hopefully someone knowledgeable can lend a hand.

Thanks!

bluewalrus
07-27-2010, 03:57 AM
artwork.css

#left p {
color:#517983;
font-family:"Trajan Pro";
font-size:12px;
font-style:italic;
text-decoration:none;
}

sp00by
07-27-2010, 04:22 AM
Thanks for the reply, Blue.

I removed the line from the stylesheet. Unfortunately, this didn't correct the problem.

I double checked tags in the HTML to again make sure everything italicized was closed.

It's a mystery why the pages display properly on their own, but not within the <div> on the home page.

sp00by
07-27-2010, 06:13 AM
Solved! :o

james438
07-27-2010, 07:43 AM
and you solved this how?