|
-
tables no wrap
Hello,
I am a newbe.
I am trying to make a table. Where the cells do not wrap text.
I am trying
<table border='1'>
<tr>
<td nowrap='nowrap'>Client Contact:</td>
<td align=left nowrap='nowrap'>$clientContact</td>
<td nowrap='nowrap'>Client Contact Phone:</td>
<td align=left nowrap='nowrap'>$clientContactPhone</td>
<td nowrap='nowrap'>Client Email Address:</td>
<td align=left nowrap='nowrap'>$clientEmailAddress</td>
</tr>
However I am still getting wrap in the variable cell.
Any help in fixing this?
thanks
-
Have you tried using CSS, like:
Code:
<td style="white-space:nowrap">
The 'nowrap' html is deprecated, depending on what doctype you're using.
Dave
-
thanks for your help.
I am using IE 7.
<td style="white-space:nowrap">
Does not seem to work. I am still seeing text wrap in the variables.
$clientContactPhone
$clientEmailAddress
Is this due to the variable is not static text?
I would think it should work
Code:
<tr>
<td style='white-space:nowrap'>Client Contact:</td>
<td style='white-space:nowrap'>$clientContact</td>
<td style='white-space:nowrap'>Client Contact Phone:</td>
<td style='white-space:nowrap'>$clientContactPhone</td>
<td style='white-space:nowrap'>Client Email Address:</td>
<td style='white-space:nowrap'>$clientEmailAddress</td>
</tr>
-
thanks for your help.
I am using IE 7.
<td style="white-space:nowrap">
Does not seem to work. I am still seeing text wrap in the variables.
$clientContactPhone
$clientEmailAddress
Is this due to the variable is not static text?
I would think it should work
Code:
<tr>
<td style='white-space:nowrap'>Client Contact:</td>
<td style='white-space:nowrap'>$clientContact</td>
<td style='white-space:nowrap'>Client Contact Phone:</td>
<td style='white-space:nowrap'>$clientContactPhone</td>
<td style='white-space:nowrap'>Client Email Address:</td>
<td style='white-space:nowrap'>$clientEmailAddress</td>
</tr>
-
Do you have a link to the live site we can look at? I suspect there is something else causing the issue.
Dave
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks