473,491 Members | 2,430 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

aligning a pragraph

14 New Member
Hi all,

I have 3 tables, all aligned one below the other and then I have this paragraph which I want to align on the right handside of the page at the top, but in spite of giving align = 'top', the paragraph and its contents seems to be appearing at the very bottom of the page after the last table.. how can I correct this? Please help.


[HTML]
<p valign = "top">
<fieldset align = "top">
<legend align = "center">
<font color = "magenta">
<b> Click a link! </b>
</font>
</legend>

<ul>

<li><a href = "ShowCandidates.php"><font size = "2.7" color = "blue">Select another Candidate for Viewing Report !!!</font></a></li>

</ul>
</fieldset>
</p>

[/HTML]
Dec 31 '07 #1
6 1463
PunchBackJack
10 New Member
Hi all,

I have 3 tables, all aligned one below the other and then I have this paragraph which I want to align on the right handside of the page at the top, but in spite of giving align = 'top', the paragraph and its contents seems to be appearing at the very bottom of the page after the last table.. how can I correct this? Please help.


[HTML]
<p valign = "top">
<fieldset align = "top">
<legend align = "center">
<font color = "magenta">
<b> Click a link! </b>
</font>
</legend>

<ul>

<li><a href = "ShowCandidates.php"><font size = "2.7" color = "blue">Select another Candidate for Viewing Report !!!</font></a></li>

</ul>
</fieldset>
</p>

[/HTML]
Depending on how it is written I would place this table after the first of the three tables with the right alignment, so that it appears after the first, and aligned to the right.
Dec 31 '07 #2
drhowarddrfine
7,435 Recognized Expert Expert
I assume you are saying this paragraph is not contained in any table. 'valign' can only be applied to tables and not paragraphs. To make your paragraph appear where you want, you must make room by reducing the tables width.

This would be easier if we had the complete markup or a link. Your markup, btw, is very old style and quite out of date.
Dec 31 '07 #3
hello2008
14 New Member
Thanks PunchBackJack and drhowarddrfine,

I have put my fieldset and links in a table instead of a paragraph now, still the foll table aligns vertically at the bottom of the page after the rest of the tables.. instead of appearing at the righthand side at the top of the page, please help!

[HTML]
<table valign = 'top'>
<tr>
<td>

<fieldset>
<legend align = "center">
<font color = "magenta">
<b> Click a link! </b>
</font>
</legend>


<ul>

<li><a href = "ShowCandidates_for_Company.php"><font size = "2.7" color = "blue">Select another Candidate for Viewing Report !!!</font></a></li>
<br/>
<li><a href="logout.php?log_out=1"><font size = "2.7" color = "blue">Logout </font></a></li>

</ul>
</fieldset>

</td>
</tr>
</table>
[/HTML]
Jan 1 '08 #4
onlineaccident
2 New Member
hi,
hope this code will help u.......


Expand|Select|Wrap|Line Numbers
  1. <div style="float:left; width:700px;">
  2.  
  3. <div style=" float:left">
  4.  <p valign = "top">
  5.  
  6.       <fieldset align = "top">
  7.  
  8.       <legend align = "center">
  9.  
  10.       <font color = "magenta">
  11.  
  12.       <b> Click a link! </b>
  13.  
  14.       </font>
  15.  
  16.       </legend>
  17.       <ul>
  18.       <li><a href = "ShowCandidates.php"><font size = "2.7" color = "blue">Select another Candidate for Viewing Report !!!</font></a></li>
  19.       </ul>
  20.        </fieldset>
  21.  
  22.       </p>
  23.  
  24.  
  25.       </div>
  26. <div style="float:right">
  27.       <table valign = 'top'>
  28.       <tr> <td>
  29.       <fieldset>
  30.         <legend align = "center">
  31.         <font color = "magenta">
  32.         <b> Click a link! </b>
  33.         </font>
  34.         </legend>
  35.        <ul>
  36.         <li><a href = "ShowCandidates_for_Company.php"><font size = "2.7" color = "blue">Select another Candidate for Viewing Report !!!</font></a></li>
  37.  
  38.       <br/>
  39.  
  40.       <li><a href="logout.php?log_out=1"><font size = "2.7" color = "blue">Logout </font></a></li>
  41.  
  42.       </ul>
  43.  
  44.       </fieldset>
  45.  
  46.       </td>
  47.  
  48.       </tr>
  49.  
  50.       </table></div>
  51. </div>
  52.  
Thank u...:-)
Jan 4 '08 #5
hello2008
14 New Member
Hi there,

Thanks for your help. My table is exactly where I wanted it now. Thanks again!
Jan 4 '08 #6
numberwhun
3,509 Recognized Expert Moderator Specialist
Just an FYI. While I am sure the code helped the OP, it would also help the moderators immensely if you would enclose ANY and all code you post into the forums in the proper, necessary code tags.

Regards,

Jeff
Jan 4 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
4706
by: Hal Vaughan | last post by:
I have a JComboBox with a list of numbers, from 1 digit to 5 digits. Numbers with more than 3 digits have a comma in them. I've been aligning them with leading spaces. Is there any simple and...
1
2421
by: Graham Cross | last post by:
Dear All Is there an HTML way of aligning the images on this page http://www.ageconcernleics.com/review03/chairs03.html so that they appear evenly spaced relative to the text column on the...
1
2316
by: steve | last post by:
Hello, I'm reworking our company site, trying to do it without tables. It's been a bit of an... adventure. Site is starting to come along. Problem I've run into is aligning image input...
7
1644
by: Scott Teglasi | last post by:
Hi all, I was curious as to how others whom have dealt with this problem have handled it. The problem is that I have a site design of a fixed width and height and want to center that content...
2
2732
by: Dave | last post by:
Hello all, I need to know if you can vertically align Items within an ItemTemplate. For example I have two columns, one column has a stack of 6 textboxes, my second column can have 1 to n...
1
1896
by: Linux Boy via .NET 247 | last post by:
(Type your message here) Hi everyone, I would like to ask a question about aligning text within one label. I have an application that everytime the user click on Enter Record button, they will...
28
2219
by: kiqyou_vf | last post by:
I'm trying to pull data from 2 different tables and do a loop to retrieve more than one row. I'm having problems with aligning the information. Can someone lead me in the right direction? I've done...
1
1521
by: kiqyou_vf | last post by:
Sorry, Google wouldn't let me post a reply. Here is the convo thus far: Jerry Stuckle wrote: > kiqyou_vf wrote: >> I'm trying to pull data from 2 different tables and do a loop to >> retrieve...
3
1965
by: Mark Wiewel | last post by:
hi all, i am a newbie in ASP.NET and i couldn't find the solution to this one: i have a form with three datagrids on it. i would like to align them vertically with a space between each grid of...
11
3078
by: designkitt | last post by:
Hello, I am having a problem aligning a cell in a table and have tried everything I can think of to correct this without any luck: It appears that the white area, which is an image in the background...
0
7115
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7154
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7190
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6858
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7360
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4881
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3086
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1392
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.