HighDots Forums  

Help with vertical align in css

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Help with vertical align in css in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
lindsey.crocker@celltalk.co.uk
 
Posts: n/a

Default Help with vertical align in css - 09-26-2005 , 03:43 AM






Hi

I have a menu which is done using background graphic rollovers. Its is
in a table at the moment.

The problem i have is that the text does not align centre whatever i
do.

I can fix it with padding but this does not work in Firefox.

Can anyone suggest any way to align these on the middle.

Thanks

Lindsey


Reply With Quote
  #2  
Old   
smokeyd
 
Posts: n/a

Default Re: Help with vertical align in css - 09-26-2005 , 09:27 AM






If you post your code I will try and help you


Reply With Quote
  #3  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: Help with vertical align in css - 09-26-2005 , 10:46 AM



smokeyd wrote:

Quote:
If you post your code I will try and help you
No, one should list the URL instead of posting code.

Please see this page:
http://www.safalra.com/special/googlegroupsreply/

--
-bts
-When motorcycling, never follow a pig truck


Reply With Quote
  #4  
Old   
Spartanicus
 
Posts: n/a

Default Re: Help with vertical align in css - 09-26-2005 , 11:25 AM



lindsey.crocker (AT) celltalk (DOT) co.uk wrote:

Quote:
Can anyone suggest any way to align these on the middle.
http://www.student.oulu.fi/~laurirai/www/css/middle/

--
Spartanicus


Reply With Quote
  #5  
Old   
Spartanicus
 
Posts: n/a

Default Re: Help with vertical align in css - 09-26-2005 , 11:26 AM



"smokeyd" <tom_burrow (AT) umbro (DOT) co.uk> wrote:

Quote:
If you post your code I will try and help you
Code should not be posted in this group, if needed it should be uploaded
and the url posted.

--
Spartanicus


Reply With Quote
  #6  
Old   
lindsey.crocker@celltalk.co.uk
 
Posts: n/a

Default Re: Help with vertical align in css - 09-27-2005 , 03:54 AM



Ok

Here is a link to the specific links bit.

http://www.3phones.com/test/About/links.htm

I know it is using tables, which is not ideal.
On the actual website the links are not set in the table exactly like
that. There is a large table with some cells above the links, but i did
not think this was important for now.

I have tried some middle aligning that worked, but not in firefox as it
pushed the background image out of place.

Hope someone can help, or tell me how to do it differently.

Thanks


Reply With Quote
  #7  
Old   
lindsey.crocker@celltalk.co.uk
 
Posts: n/a

Default Re: Help with vertical align in css - 09-27-2005 , 04:06 AM



Ok

Here is a link to the specific links bit.

http://www.3phones.com/test/About/links.htm

I know it is using tables, which is not ideal.
On the actual website the links are not set in the table exactly like
that. There is a large table with some cells above the links, but i did
not think this was important for now.

I have tried some middle aligning that worked, but not in firefox as it
pushed the background image out of place.

Hope someone can help, or tell me how to do it differently.

Thanks


Reply With Quote
  #8  
Old   
Spartanicus
 
Posts: n/a

Default Re: Help with vertical align in css - 09-27-2005 , 04:39 AM



lindsey.crocker (AT) celltalk (DOT) co.uk wrote:

Quote:
Here is a link to the specific links bit.
There was no need for you to post a link, consult the resource I
provided earlier and learn how to fish.

--
Spartanicus


Reply With Quote
  #9  
Old   
lindsey.crocker@celltalk.co.uk
 
Posts: n/a

Default Re: Help with vertical align in css - 09-27-2005 , 04:46 AM



I have gone through it.

But not sure exactly what i am looking for.
My problem seems to be the background image. as this moves when i do
margin height etc.

Can i seperate the 2 on the link (image and text) so they have
different margin heights?


Reply With Quote
  #10  
Old   
lindsey.crocker@celltalk.co.uk
 
Posts: n/a

Default Re: Help with vertical align in css - 09-27-2005 , 05:22 AM



I have done it now.
Thanks for the link.


Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.