![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Mar 2005
Posts: 139
Rep Power: 4
![]() |
div
Hi.. please bear with me im used to programming in HTML 4.0 this XHTML stuff is foreign to me
I create a div tag but cant figure out how to get it to overlap everything else on the page as I have tables. I can get it to overlap stuff in the cell but not over the entire table... is this possible?. <div id="dialog" style="background-color:Blue; visibility:visible; position:absolute; top:50; right:50;" >
<span id="menutxt" style="font-family:Verdana; color:White">This is a mesage. Please Read it. Thank you</span>
</div>Many thanks |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
I'd recommend you do a little studying about semantic HTML and XHTML, and browse around or search on a site called "A List Apart."
Some visits to W3C might be in order, too, although they tend to scare people away with hifalutin' approaches to simple concepts.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
In general, combining divs and tables can be pretty nasty. If you're using the table for layout purposes (and not to display tabular information, like tables were designed for) you should probably try and tear them out. You'll be happier in the long run.
P.S. Use or ignore this suggestion as you please. It should be noted that I have an irrational and extreme hatred of tables, especially when they're used for layouts. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Floating div make parent grow? | gj15987 | HTML / XHTML / CSS | 2 | Jun 21st, 2007 11:04 AM |