Float the Text Round

This is a discussion on "Float the Text Round" within the Web Page Design section. This forum, and the thread "Float the Text Round are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Mar 25th, 2008, 20:30
Jack Franklin's Avatar
Moderator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,404
Blog Entries: 8
Thanks: 18
Thanked 14 Times in 14 Posts
Float the Text Round

I really should know this, but with this code:
Code: Select all
<div class="attract">
<img src="http://www.architecturecentre.co.uk/exhibitions/images/maritime_museum.jpg" alt="Attraction - National Maritime Museum" /><span><h2>National Maritime Museum</h2><img src="imgs/5stars.gif" alt="5 Stars!" /></span></div>
</div>
What CSS can I use to get the text to display alongside the image? I've tried floating the img left, then the <span> left.
__________________
Jack Franklin - Webforumz Moderator
(x)HTML | CSS | PHP | MySQL | JQuery (Javascript)
Contact: My Blog | Twitter | Delicious
Want Lessons? PM me.
If you think I've helped, please press the 'Thanks' Button.
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Mar 25th, 2008, 20:33
Jack Franklin's Avatar
Moderator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,404
Blog Entries: 8
Thanks: 18
Thanked 14 Times in 14 Posts
Re: Float the Text Round

******* I need sleep*

Sorry guys. I was styling #attract when it was .attract.
__________________
Jack Franklin - Webforumz Moderator
(x)HTML | CSS | PHP | MySQL | JQuery (Javascript)
Contact: My Blog | Twitter | Delicious
Want Lessons? PM me.
If you think I've helped, please press the 'Thanks' Button.
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)

Last edited by Ed; Mar 25th, 2008 at 22:55. Reason: Word censored
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Badminton Bible (round 2) MikeHopley Free Web Site Critique 27 Dec 31st, 2007 19:58
CSS round corners marSoul Web Page Design 20 Oct 5th, 2007 20:54
silverscribbles, 4th time round silverscribbles Free Web Site Critique 13 Aug 24th, 2007 17:22
Problems with float:left float:right nvidiajoe Web Page Design 8 Nov 17th, 2006 20:24
Which way round should this form tag go? a.jenery Web Page Design 16 Mar 21st, 2006 00:57


All times are GMT. The time now is 23:26.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42