Current location: Hot Scripts Forums » General Web Coding » CSS » div css

div css

Reply
  #11 (permalink)  
Old 09-12-08, 10:21 PM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 2,726
Thanks: 0
Thanked 32 Times in 32 Posts
Quote:
Originally Posted by theighost View Post
well actually i don't want to wrap the text around the image.
i will give u the example

::::::::text text text
::::::::text text text
::::::::text text text
(empty)text text text
(empty) text text text

i don't want it to look like this

:::::: text text text
:::::: text text text
:::::: text text text
text text text text

the points represent the image
That's easyier, you start out with a div container, with a width less that the screen size. In the div you have the image and the text. Just float the image left ( the image must have an assigned width at the very least), then put the text in a div with a specific width, where the combined width of the image and the text div are not greater then the containers width and either float the text div left or right.
Assign the same CSS to the text div that you assign to the container only changing the width and height.

Should work.
__________________
Jerry Broughton
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #12 (permalink)  
Old 09-14-08, 02:30 AM
theighost theighost is offline
Newbie Coder
 
Join Date: Jul 2008
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
yeah thats it, too simple thnx alot mate.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE7 CSS Div Height koncept CSS 2 09-22-07 12:00 PM
div and css problem nicpon CSS 5 09-03-06 09:38 PM
Can't Understand java script maverickminds JavaScript 1 07-16-06 01:23 PM
CSS Div problem themanmathias CSS 1 09-29-05 08:05 PM
CSS Div + Span help Arctic CSS 5 07-20-05 04:27 PM


All times are GMT -5. The time now is 03:15 PM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.