I have a table with several cells. In one of the cells (TD element) I want to put another table, and I want that table to expand to fill the height of the cell. I tried CSS such as min-height:100% and height:100% (in IE) and that does not do the job.
What am I missing?
Hi all CSS Creators users,
As you already know, every element on a web page is a rectangular box. The display property in CSS determines just how that rectangular box behaves. If I use "display:table" there are chances a whole set of display values the force non-table elements to behave like table-elements are at our disposal, but it sometimes allows you to be "more semantic" with your code while utilizing the unique positioning powers of tables. So put in this way what I am asking to the forum is: How could I take care of legacy MS Internet Explorer compatiblity in this case?
I have created a table via CSS that I like but I can't get them to sit next to each other rather than underneath each other.
I did it at some point in the past but can't for the life of me work out how I did it. Lost the custom code in a site backup restore.
My brain maybe being slightly frazzled from redoing everythign but any help would be greatly appreciated.
Here is the page
Here is the page code:
<div id="pricelist"> <h2>1 Day of Diving</h2> <ul id="prices"> <li><a href="#">2 Tank Dive $105</a></li>
To start i'll paste my css and html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en-US"> <head> <meta content="en-au" http-equiv="Content-Language"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <link href="../../resources/css/classes.css" rel="stylesheet" type="text/css"> <title>Gallery</title> <link rel="shortcut icon" href="../../resources/images/favicon.ico"> </head> <body> <div class="header">
Hi all of you,
I have just joined the CSS creator community looking for advice and help. I would like to help other if possible, although I am kinda new bee with css.
So, the thing is that I don't know what I am doing wrong, but I cannot make a css to apply to a table which is displaying results from my mysql. You can see it live by yourself here. Just tick a box in the form and the results will be displayed below (if needed scroll a bit down)