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 1607 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Need help with image alignment

Thread title: Need help with image alignment
Closed Thread  
Page 1 of 2 1 2 >
    Thread tools Search this thread Display Modes  
10-23-2006, 05:19 PM
#1
PixelDawn is offline PixelDawn
PixelDawn's Avatar
Status: Request a custom title
Join date: Jun 2005
Location: .in
Expertise:
Software:
 
Posts: 1,164
iTrader: 32 / 100%
 

PixelDawn is on a distinguished road

Send a message via MSN to PixelDawn

  Old  Need help with image alignment

Hi,
I am trying to align the icons for each news item in such a way that the "posted by..." bit appears directly under the headline instead of the icon itself. Could anyone please guide me how to sort this?

The site is http://www.thesoccerblog.org

Thanks in advance

10-23-2006, 05:28 PM
#2
Joe is offline Joe
Status: Custom User Title
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 2,297
iTrader: 0 / 0%
 

Joe is on a distinguished road

  Old

What browser are you having problems in? It looks fine to me.

10-23-2006, 05:32 PM
#3
PixelDawn is offline PixelDawn
PixelDawn's Avatar
Status: Request a custom title
Join date: Jun 2005
Location: .in
Expertise:
Software:
 
Posts: 1,164
iTrader: 32 / 100%
 

PixelDawn is on a distinguished road

Send a message via MSN to PixelDawn

  Old

Thats not how I actually want it to be..I want the icon to float on the left and the two links on the right...It's rendering quite differently for you though...I'm using FF btw.

10-23-2006, 05:36 PM
#4
Joe is offline Joe
Status: Custom User Title
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 2,297
iTrader: 0 / 0%
 

Joe is on a distinguished road

  Old

Hmm, I'll have another look, but your site doesn't seem to be loading for me at all now.

10-23-2006, 05:38 PM
#5
PixelDawn is offline PixelDawn
PixelDawn's Avatar
Status: Request a custom title
Join date: Jun 2005
Location: .in
Expertise:
Software:
 
Posts: 1,164
iTrader: 32 / 100%
 

PixelDawn is on a distinguished road

Send a message via MSN to PixelDawn

  Old

Yeah, i am rebooting the server due to high loads, it should be up in a couple of mins.

10-23-2006, 05:59 PM
#6
Joe is offline Joe
Status: Custom User Title
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 2,297
iTrader: 0 / 0%
 

Joe is on a distinguished road

  Old

Could you post a picture of what you want the section to look like?

10-23-2006, 06:12 PM
#7
bo5ton is offline bo5ton
Status: Junior Member
Join date: Aug 2005
Location: Melbourne, AUS
Expertise:
Software:
 
Posts: 46
iTrader: 0 / 0%
 

bo5ton is on a distinguished road

  Old

Try changing your .metalinks to look like:

Code:
.metalinks {
	padding: 0px 0px 10px 0px;
	margin: 0px;
	display: block;
        float: left;
}
And also changing your left padding on the ul .icon li...

Code:
ul .icon, dl .icon, ul.icon li {	
	background-repeat: no-repeat;
	background-position: 0px 1px;
	display: block;
	margin: 0px 10px 5px 0px;
	padding: 0px 0px 0px 0px;
	list-style-type: none;
}

10-23-2006, 06:17 PM
#8
bo5ton is offline bo5ton
Status: Junior Member
Join date: Aug 2005
Location: Melbourne, AUS
Expertise:
Software:
 
Posts: 46
iTrader: 0 / 0%
 

bo5ton is on a distinguished road

  Old

In fact you don't even need the float: left; in your .metalinks

Hope this helps.

10-24-2006, 12:04 AM
#9
Zack is offline Zack
Status: I love this place
Join date: Dec 2005
Location: US and A
Expertise:
Software:
 
Posts: 595
iTrader: 2 / 100%
 

Zack is on a distinguished road

  Old

Have you tried floated the .metalinks right, with a text align to the left, with a fixed width? Try that, it should work how you want it to.
HTMLGuy

10-24-2006, 12:29 AM
#10
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

Take out the clear: both; property for .metalinks in your layout file.

Closed Thread  
Page 1 of 2 1 2 >


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