At 4:14 PM +0000 11/12/05, Barnaby Scott wrote: >I have been having a number of problems styling the following site: > >http://www.southdevons.co.uk/ >The stylesheet is here: http://www.southdevons.co.uk/style/grove.css > >In order to avoid confusion, I guess I'd better tackle them one at a time. >So, the first is the <h1> and <h2>: > >I set the background image to a 50px square and 40px square image >respectively, with the intention that the text - and therefore the bottom >border - should both align to the bottom of the image. Unfortunately I >couldn't find any way to do this other than by trial-and-error padding.
This brings to mind another question I had yesterday about aligning background images. Which might also solve your issue too! In Dreamweaver, it allows you to enter a "value" for Vertical Position. So in my style sheet, I have a background image that is flush left and at "9px" in vertical dimension. i.e., the css says "left 9px" instead of "left top" or "left bottom". see the little red bullet to the left of "Breaking News" at <http://www.collageartists.org/test7.html> However, when I validated the CSS, I get an error: Errors URI : http://www.collageartists.org/stylesheets/caa5.css * Line: 254 Context : #leftcol h5 Invalid number : background-position 9px is not a background-position value : left 9px ---- So, is this valid css that Dreamweaver allows? It seems to work nicely in the couple of browsers I checked. thanks, Trish -- _______ \ Trish & Chris Meyer/CyberMotion: Motion Graphics Design & Effects \ recent projects & clients: http://www.cybmotion.com/projects \ books, video, & articles: http://www.cybmotion.com/sharing \ music (including Alias Zone): http://www.cybmotion.com/music \______________________________________________________________ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
