DeveloperCube - Image in table
Get Photoshop help and share your work at PhotoshopForums.com
Username:    Password:
Remember Me?    
Image in table

 
Post new topic   Reply to topic    DeveloperCube Forum Index -> Design and Development
 See a User Guidelines violation? Please contact us.
Author Message

ilikechikin

Joined: 26 Feb 2004
Posts: 75

PostPosted: 3/1/2004, 1:14 am    Post subject: Image in table Reply with quote

i have a problem with an image in a table. i set the table width to 26% or so but the table winds up only going as wide as the image is. how can i make it so the table extends all the way to the 26% instead of stopping when the image ends?
Back to top

Pyrox

Joined: 10 Feb 2003
Posts: 158
Location: Blorp

PostPosted: 3/1/2004, 1:43 am    Post subject: Reply with quote

Uhm.... is 26% too small for the picture? The table will only go as small as the picture, so if 26% of the page is less than the picture, the table will only go as small as the pic....
Does that help?

Post code and we can look at it.
_________________
Developercube Mod
Happiness is a belt-fed weapon
Consciousness: That annoying time between naps.
Out of my mind. Back in five minutes
Want a free ipod?
Back to top

Burning_Cyclope

Joined: 26 Feb 2004
Posts: 61
Location: MA

PostPosted: 3/1/2004, 1:57 am    Post subject: Reply with quote

to fix it, make the pic width 100%
_________________
www.extremestuff.net

www.extremestuff.net/forum

Do yourself a favor and click the above links.
Back to top

ilikechikin

Joined: 26 Feb 2004
Posts: 75

PostPosted: 3/1/2004, 2:02 am    Post subject: Reply with quote

i think the problem was the image is to big for 26% so i gotta fix that. it never would have occured to me
Back to top

Manao

Joined: 26 Feb 2004
Posts: 23
Location: France, Toulouse, South of France near Mountains

PostPosted: 3/3/2004, 11:42 pm    Post subject: Reply with quote

An other way is to use CSS2 for such things. Take a <DIV> instead and use a class for your image.

div.myclass img {float: left;width: 26%;}

or something like this.

and the code could be :

<div class="myclass"><img src="img/my_pict.png" /></div>
_________________
Manao, chief cooker of CSS
Back to top
Display posts from previous:   
Post new topic   Reply to topic    DeveloperCube Forum Index -> Design and Development All times are GMT
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Programming Forum - Art Schools Online

Network: iFroggy Network Blog - iFroggy Hosting - SportsForums.net - KarateForums.com - YanksBlog.com - phpBBHacks.com - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - DrGregHouse.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

We Support phpBBHacks.com. Forum Icons by Daz. Privacy Policy. Powered by phpBB © phpBB Group. phpBB SEO.
Copyright © 2003-2009. DeveloperCube, iFroggy Network. All Rights Reserved.

Advertising   Contact   Links   Link To Us   Staff   User Guidelines