Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1464 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Small CSS Problem

Thread title: Small CSS Problem
Closed Thread    
    Thread tools Search this thread Display Modes  
02-12-2008, 01:42 PM
#1
VividWire is offline VividWire
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
 
Posts: 262
iTrader: 0 / 0%
 

VividWire is on a distinguished road

  Old  Small CSS Problem

I have a CSS style on my blog (www.daleanthony.com) for images in the 'flickr photos' part of my footer.

Basically the CSS style has a white border, with 1 px padding. But I seem to get some spacing under each of the images, any ideas to why it's doing this and how to fix it?



Cheers.
Dale.

02-12-2008, 02:17 PM
#2
Szandor is offline Szandor
Status: Junior Member
Join date: Jan 2008
Location: Växjö, Sweden
Expertise:
Software:
 
Posts: 45
iTrader: 0 / 0%
 

Szandor is on a distinguished road

  Old

All the styling is applied to the <li> element and this creates a few unforseen things. The <li> element has a default line height that adds some space, so just add a line height of zero to the "flickr" class to get rid of the extra space.

02-12-2008, 03:12 PM
#3
VividWire is offline VividWire
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
 
Posts: 262
iTrader: 0 / 0%
 

VividWire is on a distinguished road

  Old

Perfect, thanks a lot.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed