demet Posted February 6, 2012 Share Posted February 6, 2012 hi there, i'm pretty new at this css stuff, but building my own site. trying to get my site title formatted. here is the site (please note, artistic nude photography and generally NSFW):http://www.felizpalomagonzalez.com/fphome.html the title is upper leftFELIZPALOMAGONZALEZi'm using a external style sheet with this as an h1 tag, here is the css code: h1{margin-top:7px;margin-left:30px;font-size:18px;color:#999999;text-align:left;font-family:"Helvetica", Arial, sans-serif;letter-spacing:12px;word-spacing:1px;white-space:nowrap;font-weight:200;vertical-align:text-middle;} i want to change the F, P and G letters to a bold style... i tried to use inline styling using the <b> tag, and also the <strong> tag but both just end up changing the color of all the text in the line:http://www.felizpalomagonzalez.com/fphomeTEST.html any suggestions, i've been at this for a few hours, and managing to stay sane, barely ;-) Link to comment Share on other sites More sharing options...
Don E Posted February 6, 2012 Share Posted February 6, 2012 You can use a span tag with a class like so: span.makeBold { font-weight:bold; } <span class="makeBold">F</span> That's for the F.. do the same for P and G. Link to comment Share on other sites More sharing options...
demet Posted February 6, 2012 Author Share Posted February 6, 2012 thanks Don, but that has the same effect of just changing the font color:http://www.felizpalomagonzalez.com/fphomeTEST2.htmli suspect there is something in the coding that is overriding or has priority, but i can't figure out what it is. have tried a lot of trial and error, but so far no luck. Link to comment Share on other sites More sharing options...
Don E Posted February 6, 2012 Share Posted February 6, 2012 I looked in your style sheet(fpgmaster.css), and I don't see the declaration anywhere.. (Not unless I missed it)span.makeBold {font-weight:bold;} Link to comment Share on other sites More sharing options...
demet Posted February 6, 2012 Author Share Posted February 6, 2012 ahhh, i see now what you mean. actually someone else, on Tumblr actually, suggested a similar solution... and i got it to work. indeed i neglected to put the declaration in the css file. just didn't get it. but now i do. thanks for taking the time to help me out! i got it working as i want now :-) Link to comment Share on other sites More sharing options...
Don E Posted February 6, 2012 Share Posted February 6, 2012 No prob. Glad you got it working. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.