This is a discussion on "<div> function without the line break" within the Web Page Design section. This forum, and the thread "<div> function without the line break are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
<div> function without the line break
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
||||
|
<div> function without the line break
I'm using this:
Is there a way I can do it with <span> tags or something? |
|
|
|
||||
|
It should work with a span tag.... if not add: display:inline; to the inline style of the div.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
||||
|
Using that display:inline; it all displays fine in firefox, but in IE and crazybrowser, it still uses a line break. Any ideas?
|
|
||||
|
Hi Tim... can you post your CSS for this section, and also the HTML?
I'll take a peek!
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
||||
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
Just to let everyone know, IE filters don't work with inline elements such as <span>. Likewise, if you apply display: inline to an element with a working filter applied, it will no longer work.
As for the problem, the only thing I can think of is create an image (why not take a screenshot?). If you don't want to do that, please post a URL or the relevant code (CSS and X/HTML). |
|
||||
|
'display:inline' is the right method but if it REALLY doesn't work, use a table and split the content in cells....
<table> <tr> <td><div>my div that won't dsplay inline with other text</div></td> <td>my other text</td> </tr> </table>
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
||||
|
What spinal said..... obviously as a last resort.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| ltdivgt, function, without, line, break |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [solved] I want to insert a line break | minute44 | PHP Forum | 4 | Feb 20th, 2008 12:52 |
| prevent line break after a checkbox | pesho318i | Web Page Design | 7 | Feb 6th, 2008 09:34 |
| Fwrite with new line break problem? | meth8200 | PHP Forum | 2 | Feb 4th, 2008 15:23 |
| break tag | milly | Web Page Design | 36 | Jul 10th, 2007 12:54 |
| Line Break | DregondRahl | Web Page Design | 6 | Jun 12th, 2007 15:33 |