| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
jorge regula
|
Image positioning
I've got a little bullet point gif, 22 x 20, with a "W" in it that i'm using as a start to a welcome message. <img src="wbullet.gif"/>elcome to the The problem is that the image sits too high, i want it to sit lower down, so tht the "e" of welcome is in the middle. How do i do this? |
|
|
|
|
|
#2 (permalink) |
|
Registered User
Join Date: Jun 2005
Posts: 75
|
I've found the vertical alignment property for the span or whatever the sentence is in doesn't always do aught, I normally specify a line-height which vertically centers the content if it's greater than the content height. So if you give the span a line-height of 30 it should centre your bullet, and then your e on the bullet image. |
|
|
|
#4 (permalink) |
|
Registered User
Join Date: Jun 2005
Posts: 75
|
there are a few ways, depends on how many lines and if it's fixed width. The best way would include image replacement for the image so the paragraph makes sense to all users. Example 2 on this page is spot on http://www.stopdesign.com/articles/replace_text/ In your case you could increase the CSS height to force more lines underneath over to the right, depending on how many you have. |
|
|
|
#5 (permalink) |
|
jorge regula
|
Cheers again! One more - my background is a tiled image which makes it look like the content column stretches right the way dopwn the page. I havn't got that much content, but i want the footer div to always be at the absolute bottom of the viewers page. How would i do this? |
|
|
|
#6 (permalink) | |
|
dt immigrant
|
Quote:
|
|
|
|
|
#7 (permalink) |
|
Senior Member
Join Date: Jan 2005
Posts: 12,340
|
footerStickAlt: A more robust method of positioning a footer http://www.themaninblue.com/writing/...ve/2005/08/29/ |
|
![]() |