PC Review


Reply
Thread Tools Rate Thread

CSS vertical-align

 
 
Bob Altman
Guest
Posts: n/a
 
      30th Aug 2008
Hi all,

Here's another basic CSS question: I've just stumbled across the concept of
inheritance (or the inability of some properties to do such), specifically
in relationship to the vertical-align property. It appears that everything
is vertically centered unless I explicitly apply a different vertical-align
rule to each specific element on my page. There's got to be an easy way to
declare that everything in my <body> is vertical-align:top, but I can't
figure out how to make that happen.

TIA - Bob

 
Reply With Quote
 
 
 
 
Munna
Guest
Posts: n/a
 
      31st Aug 2008
Hi,

in css file put this

*{
vertical-align:top;
}

Regards

-------
Munna

www.munna.shatkotha.com/blog
www.munna.shatkotha.com
www.shatkotha.com
 
Reply With Quote
 
Bob Altman
Guest
Posts: n/a
 
      1st Sep 2008
>> There's got to be an easy way to
>> declare that everything in my <body> is vertical-align:top


"Munna" <(E-Mail Removed)> wrote in message
news:138179c7-91c3-4a93-a363-(E-Mail Removed)...
> in css file put this
>
> *{
> vertical-align:top;
> }
>
> Regards
>
> -------
> Munna



Thanks Munna!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
align a label in center hor and vertical Wilfried Mestdagh Microsoft C# .NET 2 1st Feb 2007 06:24 AM
how to align vertical cells horizontally =?Utf-8?B?VHJpY2U=?= Microsoft Excel New Users 1 12th Oct 2005 05:42 PM
Align / Orientation- Vertical (90 degrees) Vijay Microsoft Access Reports 1 1st Nov 2003 03:29 PM
how to Align text left & vertical align middle Kay Microsoft ASP .NET 2 25th Jul 2003 09:32 AM
Vertical Align Problem =C-Black= Microsoft Access 0 8th Jul 2003 04:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:09 AM.