...

View Full Version : float:left; issue



Owener94
02-21-2011, 04:31 PM
Hello everyone,

Right. I think I need an alternative to float: left, but it isn't that simple...
I am using pagination for content, currently just default images, that display vertically with one another.

http://psnboards.co.uk/designs/youtube/wiispeakapple/videos/all/all/test.html
All the code you might need if you would like to help is there.
I don't think I can use tables because I am going to be constantly adding new content to the page (when it's done), which is why I am using pagination in the first place.

Float:left; could work somehow, I may not be applying it correctly but the ways I have used it always seem to make the bottom page numbers float to the left as well... it looks weird.

It's all a bit out of my league at the moment, I have researched it and tried different things but I don't seem to be getting anywhere with it!

Any help offered is greatly appreciated.
Kind Regards,
Owen.

abduraooft
02-21-2011, 04:38 PM
I am using pagination for content, currently just default images, that display vertically with one another. Are you planning to display those images side by side? Then set float:left; to .virtualpage and then remove width: 300px; from their wrapper <div>

Owener94
02-21-2011, 04:44 PM
Works perfectly, thank you for the quick response - you made it sound so simple. I forgot about the width that was set!! Didn't cross my mind at all.

Again, thanks, you supreme master coder :p
Thanked :)

abduraooft
02-22-2011, 07:26 AM
I forgot about the width that was set!! Didn't cross my mind at all. It seems like you are not aware of firebug (http://getfirebug.com).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum