WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > CSS > Floating an image over a table

Reply
  Thread Tools Display Modes
Old 4th August 10, 05:20 PM   #1
tulsabobt
WLC Member
 
Join Date: Aug 2010
Posts: 2
Default Floating an image over a table

I am trying to float an image over a colored table so that the table shows through a transparent window "cut" into the overlayed cup. However I am not sure how to do this. You can see my attempt and my css code here:

http://www.radioservers.com/clients/.../csshelp.shtml

If you can help I would be most appreciative!

Bob
tulsabobt is offline   Reply With Quote
Old 4th August 10, 06:28 PM   #2
rkrause
WLC Mod
 
Join Date: Sep 2009
Posts: 893
Default Re: Floating an image over a table

you can't float:center. Only left or right. if you need to center something then use margin:0px auto; - make sure it has a defined width smaller than the container its floating in.

Ryan.
rkrause is offline   Reply With Quote
Old 4th August 10, 07:01 PM   #3
tulsabobt
WLC Member
 
Join Date: Aug 2010
Posts: 2
Default Re: Floating an image over a table

I knew that about left and right, just forgot.

However I am still a newbie and do not quite understand how the full css code should look. Can you give me a sample?

Bob
tulsabobt is offline   Reply With Quote
Old 5th August 10, 08:36 AM   #4
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,194
Default Re: Floating an image over a table

Quote:
Originally Posted by tulsabobt View Post
I knew that about left and right, just forgot.

However I am still a newbie and do not quite understand how the full css code should look. Can you give me a sample?

Bob
Well it will look like:

Quote:
Originally Posted by rkrause View Post
you can't float:center. Only left or right. if you need to center something then use margin:0px auto; - make sure it has a defined width smaller than the container its floating in.

Ryan.
chrishirst is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

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. The time now is 06:27 PM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyrightę 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.