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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
fresh eyes on my floater
Old 04-06-2005, 12:00 PM fresh eyes on my floater
numbenator's Avatar
Webmaster Talker

Posts: 523
Location: London
Trades: 0
Hi,
The below code works fine when you run in its' own page.


Code:
<style>

.ku_label { width:133px;float:left; padding-left:5px;padding-top:2px; }
.kuImage  { width:10px;float:left;  }
.styleContainer { float:left; width:155px;height:21px; background-
color:#6699cc;
                  font-family:arial; font-size:.8em; color: #FFFFFF; font-weight:bold; }

</style>
</head>

<body>
         <!-- start prospectus -->
      <div class="styleContainer">
	<div> 
               <div class="ku_label">prospectus</div>
	  <div class="ky_image"><img src="images/tr_arr1.jpg" alt="Kingston
                  University"/>
            </div>
     </div>
		  
</body>
However when I put it into the right hand container cell of my page, the image, 'ky_image' drops below 'ku_label'.

Does anyone have any idea why this would be happening.

The width of the right hand column in page is 160px so I know that my problem div is within the width of it's container.

I think that something is happenning with float but i cant get my head arround this as the code seems logical.
(maybe there is something I have defined in the rest of the page that is obstructin smooth runnin gof page..... I have had to use clear:both in numerous places to get page to re-align.... Why is this?)

Any help would be appreciated.



Cheers
Steve
__________________

Please login or register to view this content. Registration is FREE
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
 
Register now for full access!
Old 04-06-2005, 03:09 PM
dk01's Avatar
Ultra Talker

Posts: 373
Location: Ames, IA
Trades: 0
Post the entire page's code and a link to an example. I am sure we can help but we need all the information. Also include what browser and what version of that browser you are looking at your page in.

-dk
__________________
Did I help you? If so, be nice and throw me some
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
dk01 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to fresh eyes on my floater
 

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.56830 seconds with 12 queries