473,808 Members | 2,860 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

apply the style in table

9 New Member
how to apply the css style [bottom space, top space, left space, right space] in outer table.......,
Attached Images
File Type: jpg dout.jpg (15.7 KB, 121 views)
Apr 16 '10 #1
2 1285
drhowarddrfine
7,435 Recognized Expert Expert
Expand|Select|Wrap|Line Numbers
  1. table{
  2. margin-left:30px;
  3. margin-right:30px;
  4. margin-top:30px;
  5. margin-bottom:30px;
  6. }
shorthand version:
Expand|Select|Wrap|Line Numbers
  1. table{
  2. margin:30px;
  3. }
Apr 16 '10 #2
krishvasu
9 New Member
thank u.........,
Apr 16 '10 #3

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

Similar topics

4
3610
by: Andrew Thompson | last post by:
How do I specify a CSS rule such that it applies to <td> & <th> tags that are contained within (are children of? ..is that the correct term) a <table> who's style is class="element"? Vis. <table class="element"> <tr> <td>This with a style</td>
7
2921
by: Louis. | last post by:
Hi all, One can connect a CSS style to a HTML tag. I want to create a text in the style footer. I can do: <font class="footer">Here is my great footer.</font> However, the <font> tag is depreciated in HTML 4.0 and I would like to stick to the rules as much as possible. I tried to create my own tag (see below), but that did not work. I do not want to use <p> or
2
1659
by: jimbo_vr5 | last post by:
Hey I think i've figured out the idea behind apply-templates. But going through the tutorial on <http://www.w3schools.com/xsl/xsl_apply_templates.asp> theres simply just something that i dont get! In the following i've copy pasted the example from <http://www.w3schools.com/xsl/xsl_apply_templates.asp> into this post. I divide into sections and my real question will come after the code snippet:
2
19813
by: Hardy Wang | last post by:
Hi, I have a PlaceHolder control, I need to dynamic render a HTML table to add to this place holder. One requirement of this table is, I need style like below <table style="margin-left: 5;"> In my C# code, I have following code to render the table, how can I add this style to my table? Table t = new Table(); t.BorderWidth = 1;
2
1372
by: jmorgret | last post by:
I am trying to apply a style contained in my Style.css sheet to a table on my content page. The master page has a link to the css. I have class="MyTable" and ID="MyTable" in the attributes of the table. When I view the page in the VS designer it is correct but when I run the styles I want aren't there. Is there a step that I am missing? I didn't see a way to add a link to the css in the content page. Thanks,
3
2048
by: spolsky | last post by:
hi, it is possible to apply multiple styles as shown in the following example. <STYLE TYPE="text/css"><!-- BODY { background-color:salmon; } P { margin-left:20px; } .clsCode { font-family:"Comic Sans MS"; font-size:10pt; color:navy;}
4
13452
by: planb | last post by:
Hi, I'd like to have a rollover like effect when a input field has the focus, any idea of how to do this with just CSS (easy enough with javascript)? What I'm thinking of is having a tips box show up next to the input field, but only when the field actually has focus. I was thinking if there's any way to make the focus apply to a
2
5675
by: iwasjoeking | last post by:
Hi all, I am trying to make it so that the style "RowSelected" (embedded below) is applied to the table row from which the radio button is selected, and then removed when a different radio button is clicked. Right now, the below code kinda works. The javascript was copied from an example on a website from which I forgot the URL. It only applies the style properties to the label text, and not to the row.
0
1663
by: Guillaume | last post by:
Hi, I have an ArrayList filled with many Alarm object ( i will ad next this class definition). I use this arraylist as a datasource for my datagrid. I want to apply some table style, but it does not work at all. this is my code : first, the alarm class. class Alarm
4
2017
by: soozing | last post by:
Hi, I could use some help understanding how to get Firefox to correctly apply font and background colors to table elements. It seems to want to apply the colors from the body element to everything regardless of what style has been designated for table elements. The web page is here: http://www.sourcebiofly.com css is here: http://www.sourcebiofly.com/source.css If you view with IE you will see the colors applied correctly. ...
0
9721
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...
1
10374
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10114
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9196
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7651
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
6880
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
5548
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...
1
4331
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 we have to send another system
3
3011
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.