U can use the DIV's ID:
E.g.
the html:
<DIV ID="thediv" class="foo">
/*now in the css:*/
.foo{color:#ffffff;}
/*has the same effect with:*/
#thediv{color:#ffffff;}
Don't know why u wanna use this for but hope this helps.
Manos Batsis
manosb@profile.gr
You just have to position the layer using absolute positioning, while using relative for it's children OR even use absolute for them too.
example: for layer(foo) absolute, children relative.
.foo{
position: absolute;
left: 50%;
top:50%;
)
/*Now for the kids*/
.foo table, .foo div, .foo...
Hey Mavrix,<br>Due to a Netscape bug, u have to include "td" as a selector.<br>Here's the code:<br><br><br>/* format body. td is there to avoid a netscape bug! */<br><br>body, td {<br> font-family : verdana, Arial, Helvetica, serif;<br>}<br><br>Also, for the same reason (bug) it's good...
I'm opening a new window with a picture. I use the pic's size, but the page genereted by the code has margins (i think) and there white spaces on top and on the left of the pic. How can i make the picture come up with no white space?<br>Here's the code:<br><br>function...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.