amethyst42 Posted December 15, 2009 Share Posted December 15, 2009 I'm using Dreamweaver CS3, and I'm trying to build a small website. It's been almost 5 years since I've done any work web-wise. I'm trying to vertically centre some text to the right of an image, and make that text in a largish font (we'll say 36px for now). I have finally centered the text, but I can't seem to change the size of the font. <p.alignrt> <img src="../../AppData/Roaming/Adobe/Dreamweaver 9/Configuration/ServerConnections/MRE/images/mrelogo2.jpg" alt="MRE Logo" longdesc="http://mrent.ca/images/mrelogo.jpg" align="middle" /> Marvin Robbins Enterprises</p> <!-- end #header --></div> the CSS looks like this: .alignrt{ vertical-align:text-top; font-size:36px; font-weight:bold; } What have I missed? The "Marvin Robbins Enterprises" just doesn't change, no matter what I do. Here is the page: http://mrent.ca/ Link to comment https://forums.phpfreaks.com/topic/185156-forgetten-almost-everything-ive-learned-starting-over-help-please/ Share on other sites More sharing options...
teamatomic Posted December 15, 2009 Share Posted December 15, 2009 How about <p class="alignrt">? The p.alignrt belongs in the css itself and would apply to any class used in a tag within <p> </p>, such as <p><span class="alignrt"></span></p> Link to comment https://forums.phpfreaks.com/topic/185156-forgetten-almost-everything-ive-learned-starting-over-help-please/#findComment-977411 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.