Jump to content
xisto Community

rkosh

Members
  • Content Count

    9
  • Joined

  • Last visited

Posts posted by rkosh


  1. Here's the CSS:

    div#skills {	margin: 20px;	border: 1px solid #000000;	display: block;	}div#skills div {	padding: 0px 20px 0px 20px;	display: table-cell;	}div#skills div h4 {	text-align: center;	color: #0066CC	}

    and the XHTML

    <div id="skills"><div><h4>Title</h4><ul><li>bleh</li><li>bleh</li><li>bleh</li><li>bleh</li></ul></div><div><h4>title</h4><ul><li>bleh</li><li>bleh</li><li>bleh</li><li>bleh</li></ul></div><div><h4>title</h4><li>bleh</li><li>bleh</li><li>bleh</li><li>bleh</li></div></div>

    Trying to move away from using tables but I'm having the following problems with this. I want the three divs positioned horizontally, but the table-cell property is only working in firefox, not IE. (haven't checked in other browsers yet). inline doesn't work nor does inline-block. The span tag can't work here because of the <h4> tag inside of it (block-level inside of an inline level tag doesn't validate) And besides not validating, the page still views with the three divs positioned vertically.

  2. Here's the code I'm using for my javascript link I decided to add to a website I'm working on:<li><a type="button" href="java script: history.go(-1)">Go Back</a></li>The problem is that the css doesn't affect the javascript link. It displays as a plain blue underlined link. The stylesheet correctly renders regular links to other pages in the site, so the problem doesn't lie in my CSS coding. Thanks for the help.

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.