Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Share |
Old 09-21-2008, 08:20 AM
marc_gfx marc_gfx is offline
Contributing Member
Join Date: 07-01-06
Posts: 126
iTrader: 0 / 0%
Floating without float

This may seem like an odd request, but maybe some of you have come accross this problem themselves. For my CMS I use an iframe to integrate content that needs to be transferred over https. I resize this iframe using javascript so that the scrollbars dont mess up the handling.

Now I have this one page that displays an unlimited amount of items (image + text wrapped by div or table, tried both). these items are placed in sequence using float:left. Layout is how I desire, but the resizing of the frame gets totally messed up. For some reason float-elements are not integrated properly into the window size calculations. So I end up with a scrollbar. I have not found any javascript solution for this issue, so maybe there is a html one.

I tried using display:inline, but that totally messes up the layout and does not properly simulate the float behaviour (its ok if its only one image, or one text item, but messes up for tables or a hierarchy of divs). Is there some tag that allows to define an item? Wrapping the content and then handling the item like an image would be desireable.

A javascript solution would also make me happy, but I kind of doubt to find one.
Reply With Quote



Go Back   Webmaster Forum > Web Development > Coding Forum


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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Float Help x360 Coding Forum 2 07-26-2007 05:51 PM
Making the page float !help! Wolverine Coding Forum 13 08-12-2006 04:26 PM
Floating Image sixty6 Coding Forum 4 06-29-2006 01:05 AM
Help with floating... spl1nter Coding Forum 3 09-12-2004 10:07 AM
CSS float in IE = no image visible? Shannon Web Design Lobby 10 08-28-2004 04:33 PM

V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory

All times are GMT -7. The time now is 06:25 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC