HTML - Tr Styling
Hi,
Can anyone see a reason why this wouldn't work? HTML Code: <html> <head> <meta/> <title></title> <style type="text/css"> tr { padding: 50px; } </style> </head> <body> <table> <tr> <td>stuff</td> <td>stuff</td> </tr> <tr> <td>stuff</td> <td>stuff</td> </tr> </table> </body> </html> If i change the styling to table, it apply the padding to the table, but trying to apply padding to the tr doesn't work. Any ideas? Thanks, Matthew Millar Similar TutorialsHi. I am trying to copy a layout from another application which my application will fit into (as a plugin) so obviously I would like the whole styling etc... being the same look and feel. unfortunately for this "grid" part, there is no CSS or styling info really, except for the color codes, so that's better than nothing, but what my concern and problem is that I cannot get it to look the same and no idea how to make it the same. The image attached is the original image which I am trying to make my version look like. The header cells/table contains a black image to seperate the "columns" - firstly how do I get that? (I do have the image but unsure how to actually place it where the cell ends for each column) any advice and tips are much appreciated and welcomed. I'm trying to work out away to style a navigation menu to look like the menu on this page www.boozerpit.co.uk but using CSS. Any tutorials or info available please post links here. Thanks in advacne CC_DESIGN Hi I am not so clued up re HTML as I opted for Joomla! which is great. However, I have some HTML that I would like to restyle and was hoping someone could help please. My page I have a problem with is at http://www.forum.justgomorocco.com/i...hp/Book-1.html I would like the page to appear the same as it does here http://www.justgomorocco.com/index.p...and-Towns.html I have attached the file as well if that helps. Thanks in advance. And I like the look of the site by the way, really cool. Silver Hi, I need some help. I have hyperlinks on my pages but want to make them certain colours. I have the code he PHP Code: <style type="text/css"> a:link {color: #FF0000} a:visited {color: #00FF00} a:hover {color: #FF00FF} a:active {color: #0000FF} </style> But not sure how to use it. Can anyone help? Hello i have an iframe in my site that is loaded from another site, hence i cannot modify text properties but is there a way to add a style or something to the iframe so all text and links (especially links) to be with the color white ? thanks Hello, I am trying to generate customize numbering style for HTML ordered list like below: 1. Item no 1 2. Item no 2 a) sub item 1 b) sub item 2 (i) level no 3 (ii) level no 4 Is it possible (through css may be) to generate bullet numbers in Parenthesis? any sample code? Thanks. I'm having trouble getting a table to stay within its containing DIV. No matter what I do, I can't reduce the widths of the cells to make it fit. All cells are the same width, and using the width attribute to adjust them (either in the table or the td tags) doesn't help. Any suggestions? I'm willing to use DIV's to format the data, but it is tabular data and I think the table is still the best way to display it. Thanks Jason Hello, I'd like to display a .txt files contents within a web page or frame but be able to apply css style to the page and .txt file is this possible? and how is it done? Thanks Here is the page I am currently working on. Everything is funtioning and working properly. But there's a problem. I validate my page and I get errors fo the style sheets in the head. It is the cause of like 5 errors on my page. Theres 2 other errors are so, but they are fixable and I will get to them after I fix the style sheet errors. NOTE: The default style sheet is chose using PHP. Here is the whole coding for the actual head of my site, what you don't see in the "view source": <link rel="stylesheet" type="text/css" media="screen" title="User Defined Style" href="<?php echo (!$sitestyle)?'layout':$sitestyle ?>.css" /> <link rel="alternate stylesheet" type="text/css" media="screen" title="playstation interface" href="ps3.css" /> <link rel="alternate stylesheet" type="text/css" media="screen" title="wii interface" href="wii.css" /> <link rel="alternate stylesheet" type="text/css" media="screen" title="xbox interface" href="xbox.css" /> I am using multiple style sheets that user can change, and when they change, the page sets a cookie on there browser. I got this trick from alistapart.com. It works great so people that like an individual game system can change the layout, but I just wanted to fix these errors because it is chaining into other errors on the page. Does anyone have a solution for fixing this problem? I have done much research and messed around with it alot, but all things have failed. I also don't understand what hte title and media things mean in the link to the style sheet. If someone could define this for me I would appriciate it. |