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/ Quote Link to comment 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> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.