473,396 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Table With Bg image+ javascript

Expand|Select|Wrap|Line Numbers
  1. <table width="100%" border="1"> <tr> <td>Up Line</td> <td>Up Line</td> <td>Up line</td> </tr> <tr> <td>Logo</td> <td>News Scrolar</td> <td>Text box With image bacground</td> </tr> <tr> <td>*</td> <td>*</td> <td>*</td> </tr> </table> </body> </html>

Please Help It s My Website Headers how to make
Dec 24 '14 #1
1 1365
jmrker
17
Assumption time ...

Did you want a background image on the table,
on the tabel cell,
or in the <input type="text"...> tag?

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5.  
  6. <title> HTML5 page </title>
  7. <style type="text/css">
  8. #tbl {
  9.   font-weight:bold;
  10.   background: url("http://www.nova.edu/hpd/otm/pics/4fun/11.jpg") repeat;
  11.  /* no-repeat; } /* to show only one image*/
  12. }
  13. </style>
  14. <!-- idea from: http://webdesign.about.com/od/tables/f/table_bg_image.htm -->
  15.  
  16. </head>
  17. <body>
  18. <table id="tbl" border="1" width="400px" height="200px">  <!-- match image size -->
  19.  <tr>
  20.   <td>Up Line</td>
  21.   <td>Up Line</td>
  22.   <td>Up line</td>
  23.  </tr>
  24.  <tr>
  25.   <td>Logo</td>
  26.   <td>News Scrolar</td>
  27.   <td>Text box With image bacground</td>
  28.  </tr>
  29.  <tr>
  30.   <td>*</td>
  31.   <td>*</td>
  32.   <td>*</td>
  33.  </tr>
  34. </table>
  35. </body>
  36. </html>
  37.  
Or possibly ...
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5.  
  6. <title> HTML5 page </title>
  7. <style type="text/css">
  8. #tbl {
  9.   font-weight:bold;
  10.   background: url("http://www.nova.edu/hpd/otm/pics/4fun/11.jpg") no-repeat;
  11.  /* no-repeat; } /* to show only one image*/
  12. }
  13. </style>
  14. <!-- idea from: http://webdesign.about.com/od/tables/f/table_bg_image.htm -->
  15.  
  16. </head>
  17. <body>
  18. <table border="1" width="400px" height="200px">  <!-- match image size -->
  19.  <tr>
  20.   <td>Up Line</td>
  21.   <td>Up Line</td>
  22.   <td>Up line</td>
  23.  </tr>
  24.  <tr>
  25.   <td>Logo</td>
  26.   <td>News Scrolar</td>
  27.   <td id="tbl" width="125px" height="200px">Text box With image bacground</td>
  28.  </tr>
  29.  <tr>
  30.   <td>*</td>
  31.   <td>*</td>
  32.   <td>*</td>
  33.  </tr>
  34. </table>
  35. </body>
  36. </html>
  37.  
Jan 7 '15 #2

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

Similar topics

4
by: Gareth Gale | last post by:
I'm trying to implement a way of allowing a user to sort a HTML table via Javascript on the client. I've seen lots of samples where single column sorting (asc or desc) is shown, but I'd like nested...
8
by: prado | last post by:
I want to disable a table with javascript. In this table i have 'n' record and each record has 3 buttons. If you click a button does an action. I want to disable the all table. is there any way...
5
by: Hari2005 | last post by:
I try to get width of a table using javascript. Table width is not defined in table. It grows as per the data. Please suggest how to get table width using javascript at run time??????? Thanks in...
4
by: suvarna1026 | last post by:
Hi,I am doing project in ASP.NET(by VB.NEt).I have created an HTML Table.Now I want to apply sorting to the table in javascript.How can I do this?Any help will be appreciated.Thanking you!
3
by: tokcy | last post by:
hi everyone, i am creating dynamic row in a table using javascript its working fine and now i want to create more than 1 table using javascript which is dynamic its also working fine but when i am...
5
by: mike4z4 | last post by:
Hello. I would like to insert images into specific cell created in javascript. I did create chessboard. Now i need to put figures in specific place. This I would like to do on two or three...
0
by: stdq | last post by:
Hello, everyone. In this article, I'll show you a way to print a table of the factorials of the integers in the range 0-20. Please note there is no warranty when it comes to using the code here...
7
by: neelmk | last post by:
Hi, I have created a dynamic table using jquery. and this table is nested table. But the problem is, when i want to add rows dynamically first row is created smoothly but after that row , all rows...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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
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...
0
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
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...

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.