Hi all... I have a page which I am working on, it uses a table but I want to add a starburst on the edge of the table, actually breaking out of the table... Could I do this by adding a layer??
Hi all... I have a page which I am working on, it uses a table but I want to add a starburst on the edge of the table, actually breaking out of the table... Could I do this by adding a layer??
Yep, you would need a layer for that.
....(o_ Penguins
.---/(o_- techno_racing
+(---//\-' in
.+(_)--(_)' The McMurdo 500
Ok well that's what I thought so that's good... I've never used Layers, anyone have any code or tutorials? Also the table centers in the screen can I get the layer to always stay in the corner of the table even if the browser is resized?
Hi there tomyknoker,
here is a basic example...
I have highlighted the code relevant to your problem.Code:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> #wrapper { position:relative; width:332px; margin:50px auto; } #wrapper div { position:absolute; width:81px; line-height:50px; margin-left:284px; margin-top:10px; border:1px solid #000; background-color:#eef; text-align:center; } #wrapper table { border:2px solid #999; } #wrapper td{ width:324px; height:200px; border:1px solid #000; text-align:center; } </style> </head> <body> <div id="wrapper"> <div>div</div> <table id="mytable"><tr> <td>table cell</td> </tr></table> </div> </body> </html>
coothead
The <layer> element was proprietary to early versions of Netscape, and has been unsupported by anything these last five or ten years.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
...And it's a surprise that FrontPage(R) still uses them.
Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
Currently: enjoying the early holidays :)Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide
Bookmarks