Subject:
|
Re: 2 questions: 1 on HTML and 1 on Webcounters
|
Newsgroups:
|
lugnet.publish
|
Date:
|
Fri, 25 May 2007 19:51:43 GMT
|
Viewed:
|
5012 times
|
| |
| |
In lugnet.publish, Erik Amzallag wrote:
> > Also, how do you center a piece of text between two images and have the text
> > centered at the middle center of the images, not at the top center?
>
> By using the CSS property vertical-align:middle for your images
>
> <img src="" alt="" style="vertical-align:middle" />text in the middle<img src=""
> alt="" style="vertical-align:middle" />
>
> Erik
Wouldn't you need a middle-centered div too? Like so.
<img src="" alt="" style="vertical-align:middle; float: left;" />
<div style="vertical-align:middle; float: left; width:40em;">text in the
middle</div>
<img src="" alt="" style="vertical-align:middle; float: left;" />
Tim
|
|
Message is in Reply To:
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|