The title might not make sense, but I wasn't sure how to word it.
Lets say I have the following code (which is auto generated so I cannot supply an id or class in the caption element)
[code=html]
<table class="gv" id="gvClientTra cking" >
<caption >
Client Sites(10)<br/>
</caption>
<!-- etc, assume correct table structure and closing tags -->
[/code]
I can say in CSS
[code=css]
caption
{
text-align: left;
}
[/code]
But I was really wondering if I could do something like
[code=css]
#gvClientTracki ng caption
{
text-align: left;
}
[/code]
Or in some manor refer to ONLY caption elements that come inside an element with the id "gvClientTracki ng" (or elements with class "gv" would be ok too)
I really though I had read about this once, but cannot figure out how to look it up now.
Is that possible, or am I getting it confused with some xml styling abilities?
Lets say I have the following code (which is auto generated so I cannot supply an id or class in the caption element)
[code=html]
<table class="gv" id="gvClientTra cking" >
<caption >
Client Sites(10)<br/>
</caption>
<!-- etc, assume correct table structure and closing tags -->
[/code]
I can say in CSS
[code=css]
caption
{
text-align: left;
}
[/code]
But I was really wondering if I could do something like
[code=css]
#gvClientTracki ng caption
{
text-align: left;
}
[/code]
Or in some manor refer to ONLY caption elements that come inside an element with the id "gvClientTracki ng" (or elements with class "gv" would be ok too)
I really though I had read about this once, but cannot figure out how to look it up now.
Is that possible, or am I getting it confused with some xml styling abilities?
Comment