• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

vertical alignment does not work

 
Bartender
Posts: 2911
150
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Items and the image are working like a dream and aligning well vertically,

for reasons unknown the welcome text in the above code does not align vertically in the center, wht am i doing wrong here ?
infact its not even getting 100% height as mentioned in css

using
IE7, Fireox 3



From what i understand, image is an element within a container, so when i say veritically align middle, it aligns itself with respect to its container vertically,
however, i have given the welcome's div too the same attribute, shouldnt the entire div be in the center irrespective of its contents? ???
isnt Height=100% working too ?? (not that i need it, i am just curious why its not working here.)

(note: its not my image, i just googled for it)
 
salvin francis
Bartender
Posts: 2911
150
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thats firefox 3.0 not

Fireox


my bad
 
reply
    Bookmark Topic Watch Topic
  • New Topic