This is a discussion on "text in one line - How To Avoid TABLE tag and use CSS ?" within the Web Page Design section. This forum, and the thread "text in one line - How To Avoid TABLE tag and use CSS ? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
text in one line - How To Avoid TABLE tag and use CSS ?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
text in one line - How To Avoid TABLE tag and use CSS ?
Hi,
Could you give me an advice in a short example, of course if it is possible, to write in one line text1 alignment to the left and text2 to the right? I'd like to avoid table tag and replace the code (example):
pugo Last edited by pugo; Jan 16th, 2006 at 08:53. |
|
|
|
#2
|
||||
|
||||
|
Re: text in one line - How To Avoid TABLE tag and use CSS ?
|
|
#3
|
|||
|
|||
|
Re: text in one line - How To Avoid TABLE tag and use CSS ?
It works well. Thank you very much.
|
|
#4
|
||||
|
||||
|
Re: text in one line - How To Avoid TABLE tag and use CSS ?
Just clear whatever goes below those bits of code, because when an element is floated, it is removed from the flow of the document.
Like this: ...the above code goes here... <div style="clear:both"> This is all things below in the document. </div> |
|
#5
|
|||
|
|||
|
Re: text in one line - How To Avoid TABLE tag and use CSS ?
herk is right, make sure you clear it (otherwise it'll cause you fits later on).
Sometimes those clears sneak up on you.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
|
![]() |
| Tags |
| text, line, avoid, table, tag, use, css |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Have a major problem with Text Line-Height | vidoewebmastery | Web Page Design | 2 | Mar 24th, 2008 20:15 |
| Randomly generated one line text filling out the width of a div? | brynjarh | Web Page Design | 3 | Mar 12th, 2008 03:39 |
| Line not wrapping in table | Marc | Web Page Design | 10 | Apr 14th, 2007 11:30 |
| scroll does not line up text and background | cherishkiss | Web Page Design | 2 | Feb 22nd, 2007 15:40 |
| Text Alignment on second line of Bullet point | adeking | Web Page Design | 2 | Jul 31st, 2006 20:38 |