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.

Website Design Forum


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



Freelance Jobs

Reply
Make div expand for image?
Old 09-14-2003, 01:32 PM Make div expand for image?
Skilled Talker

Posts: 99
Trades: 0
I am working on a section of a site i am creating and am having some problems.

You can view it here:
http://members.rogers.com/kandieman101/test.html

What happens is, since the repeated words "test" ends up not being as tall as the image, the image goes "outside" of the div. How can I make image NOT "be on top" and restrict itself to the div (therefore making the div taller)??

It displays the same in both Opera and IE6... Obviously I would like the lighter orange to go down more to surround the entire "block of content".


Hope you could follow that...
__________________

Please login or register to view this content. Registration is FREE
- Professional PHP mailing list manager
EXHAUSTIVE list of new & improved features implemented!

Please login or register to view this content. Registration is FREE
KandieMan101 is offline
Reply With Quote
View Public Profile Visit KandieMan101's homepage!
 
 
Register now for full access!
Old 09-15-2003, 09:23 PM
fpgirl's Avatar
Novice Talker

Posts: 5
Location: PA
Trades: 0
My first reaction - fix it in 2 seconds.. use a table instead of div! ...
I have to be honest... The way you did it seems way over complicated..
My first advice: Use style declarations (<style >)instead of inline styles ( style= " ) it makes it MUCH easier to edit and change...

However... I did some playing and I came up with the following:

I cannot get it to really work no matter what I did with trying to use your style.... I can get it to semi work in IE, but inconsistently.. and I cannot get it to work in Mozilla (Netscape) at all...

Works universal:
Tables.. Will elimnate all your problems with a quick and easy answer...

Is there a specific reason you need to use the DIV tag??? Any reason you can't use tables?

Andrea
__________________
"...professional website production — made as simple as it gets!™"
Please login or register to view this content. Registration is FREE
, CSS Templates and eCommerce Solutions

Please login or register to view this content. Registration is FREE
fpgirl is offline
Reply With Quote
View Public Profile Visit fpgirl's homepage!
 
Old 09-15-2003, 09:47 PM
Skilled Talker

Posts: 99
Trades: 0
Tables are old, use up more bytes

I was hoping to somehow, by the end, not use tables at all except for tabular data (which that isn't exactly since I want the text to wrap around the image)
__________________

Please login or register to view this content. Registration is FREE
- Professional PHP mailing list manager
EXHAUSTIVE list of new & improved features implemented!

Please login or register to view this content. Registration is FREE
KandieMan101 is offline
Reply With Quote
View Public Profile Visit KandieMan101's homepage!
 
Old 09-15-2003, 10:07 PM
The Crow's Avatar
SHOW

Posts: 1,521
Location: USA
Trades: 0
check out some of these links.
http://search.yahoo.com/search?fr=ie...ound+a+picture
The Crow is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Make div expand for image?
 

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