The PokéCommunity Forums Off Topic Discussions Science & Technology
CSS Help & Resources

Science & Technology From the computer lab to the chemistry lab, or even the observatory, here's where we nerd out over all things science and technology!

Reply
 
Thread Tools
  #876    
Old 2 Weeks Ago (8:19 AM). Edited 2 Weeks Ago by AlphaLuxray.
AlphaLuxray's Avatar
AlphaLuxray AlphaLuxray is offline
Serious Punch!
 
Join Date: Jan 2017
Gender: Male
Nature: Lax
Posts: 43
Oh shoot, thanks. xP Typos get me every time.

EDIT: Now I've run into a different problem. It seems vertical-align is not working for me (I double checked my semicolons this time too).

Taken straight from my sig, sans vertical-align:
Spoiler:
[css-div=height:37px; width:128px; float:left; vertical-align:middle; background-color:#000000;]The Prism League[/css-div]

The Prism League
__________________
Reply With Quote

Relevant Advertising!

  #877    
Old 5 Days Ago (9:50 AM).
AlphaLuxray's Avatar
AlphaLuxray AlphaLuxray is offline
Serious Punch!
 
Join Date: Jan 2017
Gender: Male
Nature: Lax
Posts: 43
So, not sure if my question was missed because I edited it on, but it still stands. I'm sure it's something simple I'm just not thinking of. xP
__________________
Reply With Quote
  #878    
Old 4 Days Ago (3:42 PM).
Johnny's Avatar
Johnny Johnny is offline
Comfortably Numb
 
Join Date: Jun 2015
Location: Argentina
Age: 26
Gender: Male
Nature: Hasty
Posts: 3,709
Quote:
Originally Posted by AlphaLuxray View Post
So, not sure if my question was missed because I edited it on, but it still stands. I'm sure it's something simple I'm just not thinking of. xP
You have to define line-height: 37px (the same height as the div) for that to work. Like so:

Spoiler:
The Prism League


[css-div=height:37px; width:128px; float:left;background-color:#000000;line-height:37px;vertical-align:middle;padding-left:7px;]The Prism League[/css-div]

(I added padding to the left to align it horizontally too)
__________________

Reply With Quote
  #879    
Old 4 Days Ago (6:40 PM).
AlphaLuxray's Avatar
AlphaLuxray AlphaLuxray is offline
Serious Punch!
 
Join Date: Jan 2017
Gender: Male
Nature: Lax
Posts: 43
Alright, perfect. Thanks.
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 1:51 PM.