I'm using a web application for an online survey system. The pages rendered are XHTML transitional ("<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">")... but it doesn't validate (a big problem, I know).
It looks like this initially...
...and I'm trying to indent the entire element below the header text like so...
...but the problem is that it applies the change not only the parent TABLE/DIV combo, but then the children as well (which is why the radio buttons ended up being shifted over too I believe).
I can't change any of the code of the application, but the application references an external CSS file that I can edit only (so I can't change the fact that there aren't many/any classes assigned to the elements to use directly... but I can modify this one file and have the changes applied).
What I've tried thus far is to use either of the following...
I found the tree using Firebug for Firefox, is there a way to make the CSS code by applied to only the first/parent TABLE/DIV combo and not it's children? Maybe I could start with BODY TABLE DIV or something?
I would really appreciate any assistance possible.
It looks like this initially...

...and I'm trying to indent the entire element below the header text like so...

...but the problem is that it applies the change not only the parent TABLE/DIV combo, but then the children as well (which is why the radio buttons ended up being shifted over too I believe).
I can't change any of the code of the application, but the application references an external CSS file that I can edit only (so I can't change the fact that there aren't many/any classes assigned to the elements to use directly... but I can modify this one file and have the changes applied).
What I've tried thus far is to use either of the following...
Code:
TABLE DIV {position: relative; left: 25px;} TABLE DIV {padding-left: 25px;}
I would really appreciate any assistance possible.
Comment