I'm not interested in IE compatibility or anything. Just generally speaking how do I make a transparent div with a variable height?

1 answer

This was chosen as the best answer
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        <style type="text/css" media="screen">
                background: transparent; /*default*/
                border: 1px solid #ccc;
                width: 200px;
                min-height: 200px
        <div id="mytransparentdiv">


will do it. or did you mean opaque?

Answered over 8 years ago by Tony Crockford