| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Soon to be RICHdoggie! Join Date: Jan 2005 Location: UK
Posts: 2,408
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | html... wrapping text round a DIV I have this code at the moment: Code: <td class="row1" align="left" valign="middle" height="28" style="background: url(../images/nyt_man.gif);background-repeat: no-repeat;background-position: bottom right;"><div style="width: 100px;height: 150;float: right;"> </div><span class="genmed">RoadBusters is now a part of the Name Your Topic Community. This means that by being a member of RoadBusters, you can access all of the other sites on the Name Your Topic Network, and vice versa, by being a member on one of NYT's partner sites makes you a member of RoadBusters automatically too.</span></td> ![]() ????: NamePros.com http://www.namepros.com/programming/247484-html-wrapping-text-round-a-div.html Thanks for your help! Tom
Last edited by PoorDoggie; 10-15-2006 at 09:33 AM.
|
| |
| | #3 (permalink) |
| NamePros Expert Join Date: Aug 2004 Location: Las Vegas
Posts: 6,277
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | If you simply took align="left" the img tag it should wrap.
__________________ :$: Support Forum <-- My latest endeavor.:loveyou: Debate Forums Free Online Sudoku My vBum Blog |
| |
| | #4 (permalink) |
| Account Suspended Join Date: May 2005 Location: Whitewater, WI
Posts: 3,710
![]() ![]() ![]() ![]() ![]() ![]() ![]() | Firstly you should not use tables unless it is tabulated data. Secondly do not incorporate the CSS inside of the html file, relocate it to a .css file and then call it. If you want some help on how to do this properly, send me a PM. |
| |
| | #5 (permalink) | ||||
| NamePros Regular Join Date: Aug 2005 Location: NY, USA
Posts: 610
![]() ![]() ![]() ![]() ![]() ![]() |
<img src="/images/whatever.jpg" alt="" style="float:left;" />
__________________ ask me about the internet | ||||
| |
| | THREAD STARTER #6 (permalink) | ||||||||||||
| Soon to be RICHdoggie! Join Date: Jan 2005 Location: UK
Posts: 2,408
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I swear by them for layout... so there na na na na... lol - and I will incorporate CSS wherever I like *sticks out tongue*. Its only on that page that it needs to be used, and if its in only one place, I will put it there, so I don't have to open one file, and find the css reference in the css file... lol - im lazy.
![]() Thanks for your help guys. For now, I am sure it will be alright. I changed it slightly, so it dosen't need to wrap anymore! | ||||||||||||
| |