473,804 Members | 3,113 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need to design html table

1 New Member
Hi,

I need to design a html dashboard in table exactly same as the attached image. Can someone help me.


Regards,
Thiyaghu CK
Attached Images
File Type: jpg dashboard.jpg (46.8 KB, 355 views)
Dec 21 '10 #1
2 2086
AutumnsDecay
170 New Member
You won't be able to easily achieve the table headings that you made, but the rest is fairly easy.

For the table headings you'll want to create an image the same width as the table will be. Each column of the table should match the width of the bottom of each header in the image. Getting it to line up perfectly will be a bit of a task.

After that you just do a standard table using HTML's <table> attribute.
Dec 21 '10 #2
sephedo
5 New Member
something like this will get you started

Expand|Select|Wrap|Line Numbers
  1. <!-- start of table -->
  2. <table>
  3. <!-- table headers -->
  4. <th width="200px"></th><th>Header1</th><th>Header2</th><th>Header3</th><th>Header4</th>
  5.  
  6. <!-- row1 -->
  7. <tr>
  8. <td width="200px" >Row header</td><td>1</td><td>2</td><td>3</td><td>4</td>
  9. </tr>
  10.  
  11. <!-- row2 -->
  12. <tr>
  13. <td width="200px" >Row header</td><td>1</td><td>2</td><td>3</td><td>4</td>
  14. </tr>
  15.  
  16. <!-- end of table -->
  17. </table>
as for the rotated header you can use CSS to rotate the text :)

and the colours and everything can be done with CSS too just set a class for each row / colour

for eg.

Expand|Select|Wrap|Line Numbers
  1. th {
  2. background: #ff0000;
  3. }
  4.  
  5. .row1 {
  6. background: #00ff00;
  7. }
  8.  
  9. .row2 {
  10. background: #0000ff;
  11. }
and just change your <tr> tags to <tr class="row1" > or <tr class="row2">
Dec 22 '10 #3

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

Similar topics

2
4375
by: Rio | last post by:
I'm trying to build HTML table parser (available not satisfying my needs), I need to know what is in every cell, along with its cell, row and table number plus the attributes that go with those tags. I create Table, TableRow and TableCell objects each containing an array list of subelements. That works fine when the tables are not nested, so my question is how would I design Table that holds Rows that hold Cells which again can contain...
2
2170
by: toneill_2000 | last post by:
I'm using VS.Net 2003. I have a Web App where I'm trying to resize cells in an HTML table just the way I want in design view. Whenever I try to drag the size of the cells it snaps to larger sizes and acts really weird. Also it doesn't go exactly where I want it to go. My cells are not the size I want them I am having trouble sizing them correctly. Does any have suggestions or a good resource for me to learn about using HTML tables in...
0
1257
by: Stephen | last post by:
I use asp.net tables to format the layout of my web forms (in web matrix). One thing I really don't like about asp.net tables is if you want to alter objects or controls in the table you have to do it in code view. With html tables I can do it in design view, dragging and dropping controls easily in the table cells. Is there any advantage to using the .net table over the html table since the framework outputs the results to an html...
5
1617
by: Arjen | last post by:
Hi, The login control (<asp:Login) generates a HTML table. I have used my own template without table's. The control generates <table> ... my design(template) ... </table>. I don't like the table... how can I delete this? Thanks!
2
1078
by: Tony | last post by:
Can someone please tell me why Visual Studio wants to edit my Web form when I open it up via the designer? This only occurs if the form is in FlowLayout mode, it contains a standard HTML Table control and inside the table is a DataGrid Web control (freshly dropped in from the toolbox). If you save this form, close it and reopen it via solution explorer, Visual Studio marks it as being edited. Normally this would not annoy me but if are...
2
1546
by: Gordon | last post by:
VB.Net 2003 Standard - Creating ASP.Net Web Application In design mode, I can drag a html table from the toolbox to the work area but I can't seem to be able to select individual cells or merge/split cells in the table. If I hi-lite the cells (SHIFT-Click) and then right-click, the merge cells option is disabled and the split cell option is nowhere to be found.
26
1924
by: onearth | last post by:
Hello I already managed to add a dynamic DetailView under a row of Gridview if a user presses the row with the mouse... Is it possible to add under it a table(or even better load a simple HTML file that contains the tables).. not a detailview like I already did..Because i would like to be able to design the table as i wish and not to be limited to the DetailView Design which only contains rows & coluwns.
3
567
by: Jim S | last post by:
I have a need to read the contents of an html table on a remote web page into a variable. I guess this is called screen scraping but not sure. I'm not sure where to start or what the best practices are to accomplish this. For instance; I have a healthcare app that need to check a gov't we page for a user's license no# periodically. There is no login and I can put the user info in the request URL no problem but not sure how to read the...
3
3060
by: jmDesktop | last post by:
Hi, probably a simple question that I have for what I think is a simple database. I have a Vendors table and an Items table. There is only one items, but several Vendors may have that same item. I have to have a third table, correct, to connect them? I was thinking OrderDetails (or something like that) OrderDetailID
2
2402
by: Geary | last post by:
I am porting my first traditional app to a web-based app using VS2005 and ASP.NET 2.0. I have a page that will replace a data entry form. To have complete control of layout, I want to use a table as a layout device. Typically I would go with a std html table. With VS2005 I have a choice of a html table control or the web table control. I understand the jus of differences between the two, but I am still unsure whether using the html...
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10578
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7620
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6853
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5522
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3820
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2991
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.