Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 24th, 2007, 9:16 PM   #1
paulchwd
Hobbyist Programmer
 
paulchwd's Avatar
 
Join Date: Mar 2005
Posts: 139
Rep Power: 4 paulchwd is on a distinguished road
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
Attached Images
File Type: jpg sample.jpg (48.1 KB, 21 views)
paulchwd is offline   Reply With Quote
Old Sep 24th, 2007, 9:26 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Old Sep 24th, 2007, 9:32 PM   #3
ZenMasterJG
Hobbyist Programmer
 
ZenMasterJG's Avatar
 
Join Date: Nov 2004
Location: Boston, MA
Posts: 145
Rep Power: 4 ZenMasterJG is on a distinguished road
Send a message via AIM to ZenMasterJG
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.
ZenMasterJG is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:27 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC