PDA

View Full Version : <DIV> tag attributes - help please!


mbay
09-05-2004, 04:57 AM
Hello Everyone!!!

I searched a little on the net to find out if this is possible, but yet to no avail. When using a <DIV></DIV> tag in html, is there a rotate attribute that may be used? I am using a white image and want to extend it quite a ways across the page over another image, but since the image whithin the html is on an angle, i would like my white line to be on the same axis.

is this at all possible?

thank you all in advance,

mbay

tsguitar2004
09-05-2004, 05:00 AM
Umm... Huh? I think that what you want to do would involve floats and a few other things, but I don't quite see what you want to do. Can you show us what you have so far?
-ts

mbay
09-05-2004, 05:04 AM
this is what i have so far:


<html><head><title>Mine</title>

<style type="text/css">
#red{position: absolute; visibility: visible; left: 0; top: 400; height: 137;}
</style>

</head><body bgcolor="#B6005D" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>

<DIV id="red">
<table width="200"><tr><td><a href="http://www.yahoo.com"><img src="red.gif"></img></a></td></tr></table></DIV>

<TABLE WIDTH=700 BORDER=0 CELLPADDING=0 CELLSPACING=0><tr><td><img src="sure.gif"></img?</td></tr>

</TABLE></body></html>

gohankid77
09-05-2004, 05:13 AM
I think mbay means rotate the div as if it were an image in an image editing program (or like text in Microsoft Excel). I don't think this is possible without DHTML, JavaScript, or the like. Sorry.

bradyj
09-05-2004, 05:31 AM
Not possible without doing some javascript, DHTML -- and I don't even think that's probable. The web is way behind in the design level that print design is at, you won't see similar effects without major hacks. I'd recommend just making that line your talking of an image.