Computing.Net > Forums > Web Development > div tags in html

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

div tags in html

Reply to Message Icon

Name: FBI Agent
Date: November 18, 2004 at 07:57:36 Pacific
OS: WIN XP
CPU/Ram: 1.79Ghz/ 384 RAM
Comment:

if there's anyone that knows how to use div tags well and knows how to use the layer stlye function thingy for it, i would like to know how that works because i need to have text on top of a bar graph that is made using a table. i got everything working perfectly but i need the text to be in the middle of the graph (table). ANY help on this would be appreciated, even a website that i could look at that would explain it. thanks

FBI Agent

AIM: EliteAssassin187



Sponsored Link
Ads by Google

Response Number 1
Name: RandyH1959
Date: November 18, 2004 at 09:18:58 Pacific
Reply:

Here is the code straight out of Dreamweaver. You will have to mess with the left and top attributes to position the text. I hope this shows up ok in the forum.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">

</script>
</head>

<body>

<div id="Layer1" style="position:absolute; width:200px; height:115px; z-index:1; left: 190px; top: 33px;">your
text here</div>
</body>
</html>


0

Response Number 2
Name: FBI Agent
Date: November 19, 2004 at 07:45:41 Pacific
Reply:

cool. thanks. i'll have to check that out. i had everything on there but the ID, the Height, and the Width. im not sure what the difference will be since the object still floats around everywhere, but maybe i can find out some way of doing it with that.

FBI Agent

AIM: EliteAssassin187


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: div tags in html

Div tag www.computing.net/answers/webdevel/div-tag/365.html

Grammer in HTML www.computing.net/answers/webdevel/grammer-in-html/2195.html

div tag www.computing.net/answers/webdevel/div-tag/1315.html