how can i vertical align

liunx

Guest
text? vertical-align: middle; is only supposed to be used w/ inline or table elements but i cant use height: __px; w/ inline elements. So im confused on how i am supposed to be able to vertically align text in a <div> thx for helpIf it is only a single line of text you wish to vertical align, you can use line-height: _px; (replace underscore with height of containing element).

Otherwise, there is no way.it is one line on larger res but on the lower res it is two so i cant use line-height: So there is no way for me to accomplish this at all? O_oNope, sorray :(hmm... that really stinks. now to think what to do :P thx for the help though... i guess ;P j/pWell, do you have an example page anywhere? There may be another way to go about it...i just figured what im going to do :) *tell me if this would be wrong*

I have the header div which has an image floated to the left. then to the right of it is where i was going to have the title (or quote for home page) vertically aligned. So im goign to put another div inside it w/ padding: 45px 0 0 0; which will basically align it in the middle. The only problem is im going to have a different id for each page as i have a different bg header image for every page. soon ill be done w/ the site for the most part and be posting it on the review forum. Does what im doing sound about right? thx for the timeI doubt that will work the way you want it to :( Then again, I'm not sure I quite understand what you mean, so I could be wrong.it worked :D
the temporary link to it is:
<!-- m --><a class="postlink" href="http://www.moonshotstudios.com/temporary/index.html">http://www.moonshotstudios.com/temporary/index.html</a><!-- m -->

shortly ill be getting that setup to just <!-- w --><a class="postlink" href="http://www.moonshotstudios.com">www.moonshotstudios.com</a><!-- w -->. the only links that currently work are about us, contact, packages, production info. i guess u could give me feedback now if u want :P but dont really worry bout it atm, ill be posting it shortly for review. thx :) tc
 
Back
Top