> Does anybody know if there is a solution to big font aligning at the top of a > box? > Hi Petra,
Try this - can be modified as needed: http://www.maxdesign.com.au/jobs/bigfont.htm One quick point - unrelated to the alignment issue - is the font family declaration: { font-family: arial black; arial, helvetica, geneva, sans-serif; } Theoretically it is best to put quotes around a font family that includes white space. So this would be better: {font-family: "arial black"; arial, helvetica, geneva, sans-serif; } More here: http://www.maxdesign.com.au/presentation/fontfamily.cfm Russ > For an example see: > http://www.globetrekking.com/test-bigfont.asp > > The questionmark is in a span (background grey). I would like to have it > aligned at the top, in line with the text on the right. (I tried line-height > and minus values for padding-top but with no success) > > here is the css for the span: > > div.iconleft span{ > padding: 0; > margin: 0; > font-family: arial black; arial, helvetica, geneva, sans-serif; > font-size: 50px; > color: #ff6666; > vertical-align: top; > background-color: #ccc; > } > --------------------------------------------- > > If anybody has a Mac I would appreciate if you could give > http://www.globetrekking.com a quick test - it is my first website (redesign) > using CSS for layout. > > Thanks > Petra > > > > > Thanks Russ ----------------------------------------------- Russ Weakley Max Design Phone: (02) 9410 2521 Mobile: 0403 433 980 Email: [EMAIL PROTECTED] http://www.maxdesign.com.au ----------------------------------------------- ***************************************************** The discussion list for http://webstandardsgroup.org/ *****************************************************
