Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
I cant remove the vertical spaces between my images
Old 08-12-2009, 06:21 PM I cant remove the vertical spaces between my images
Junior Talker

Posts: 4
Trades: 0
I have tried everything, and i cannot get this image to mate up to my darker colored DIV and the link bar up top. I removed everything from the page so i cud concentrate on this problem.

In my css sheet, I even have the image specified to not have a border, or margins, or padding. ive used the <br /> tag to no avail. Im so tired of trying to figure this out....

http://www.showcases1.com/home2

is the url. its a work in progress, if you have any input on the look (i know it fails) please feel free to be constructive. Thanks!

Tim
sydewayz is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-12-2009, 06:46 PM Re: I cant remove the vertical spaces between my images
Banned

Posts: 315
Name: Doug
Trades: 1
Try adding hspace="-1" vspace="-1" border="0" to your image tag.
marketingman100 is offline
Reply With Quote
View Public Profile
 
Old 08-12-2009, 10:06 PM Re: I cant remove the vertical spaces between my images
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
That works with tables, it's NOT going to work with CSS.
What browser is the problem showing up in ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-13-2009, 12:00 AM Re: I cant remove the vertical spaces between my images
Banned

Posts: 315
Name: Doug
Trades: 1
Quote:
Originally Posted by LadynRed View Post
That works with tables, it's NOT going to work with CSS.
What browser is the problem showing up in ?

Well, I'd have to test it before I would debate it......

but if it's true that CSS would over-ride those image spacing adjustments
then by all means please tell us all how to make this CSS work.

Or move the question to the CSS forum where it belongs.
marketingman100 is offline
Reply With Quote
View Public Profile
 
Old 08-13-2009, 12:08 AM Re: I cant remove the vertical spaces between my images
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 8,936
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
That would be by specifying a height in the CSS for the div containing the picture, that is the height of the picture, with an overflow: hidden; rule just to cover your bets. If that doesn't do it then the lines are coming from elsewhere in the code.

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 08-13-2009, 10:11 AM Re: I cant remove the vertical spaces between my images
Junior Talker

Posts: 4
Trades: 0
Thanks for the help, but that didn't work....and they aren't lines, they are the background continuing beyond the picture in both directions. I'm having problems in both IE and Firefox. At first i thought this was a problem with my HTML, hence why I posted it in there, but it may just be css related, so if a mod would move it for me, I'd appreciate it.
sydewayz is offline
Reply With Quote
View Public Profile
 
Old 08-13-2009, 10:21 AM Re: I cant remove the vertical spaces between my images
Junior Talker

Posts: 4
Trades: 0
ok actually, it kinda worked. i had changed the wrong class earlier, but i corrected it. The space at the bottom is gone, but up top, its still there. so its half fixed.
sydewayz is offline
Reply With Quote
View Public Profile
 
Old 08-13-2009, 10:50 AM Re: I cant remove the vertical spaces between my images
Junior Talker

Posts: 4
Trades: 0
ok i figured it out

the button bar up top was causing it, i think. i created a div container that restricted the height of the images. fixed it right up. i was looking in my html when i was in fact my css doing it.

thx again all
sydewayz is offline
Reply With Quote
View Public Profile
 
Old 08-13-2009, 07:28 PM Re: I cant remove the vertical spaces between my images
Junior Talker

Posts: 2
Name: Mark Boucher
Trades: 0
nice post i learned lot from it

thanks
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
MarkBoucher is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to I cant remove the vertical spaces between my images
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27967 seconds with 12 queries