•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 402,860 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,960 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 2041 | Replies: 2
![]() |
•
•
Join Date: Nov 2007
Posts: 11
Reputation:
Rep Power: 1
Solved Threads: 0
I am currently using dreamweaver cs3 to design a website for my company. I am familiar with html but lack much "know-how" in the css language.
I have created all of the layout features in photoshop cs3 and have saved them as images.
i.e: nav bar, header, footer, ect ect.
I have used a table to put these images in proper placeholding alignment.
I want to be able to get my content text over my middle image.
i have used absolute positioning and a z-index to place that text over the image. In DW before i preview the site in IE 6 it shows the text with its positioning over the image like asked. Here is my code to do this
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
#123{
font-family: helvetica;
font-size:10px;
position: absolute;
top:280px;
left:155px;
z-index:1;
}
</style>
</head>
<body>
<div id=123>
<p>This would be some text content.</p></div>
<div>
Once i preview it shoots the text to the top of my page and disregards the formatting described in my CSS.
Can someone please help me to fix this and get the text to properly display over the image with its positioning? I would appreciate it more than you know!
I have created all of the layout features in photoshop cs3 and have saved them as images.
i.e: nav bar, header, footer, ect ect.
I have used a table to put these images in proper placeholding alignment.
I want to be able to get my content text over my middle image.
i have used absolute positioning and a z-index to place that text over the image. In DW before i preview the site in IE 6 it shows the text with its positioning over the image like asked. Here is my code to do this
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
#123{
font-family: helvetica;
font-size:10px;
position: absolute;
top:280px;
left:155px;
z-index:1;
}
</style>
</head>
<body>
<div id=123>
<p>This would be some text content.</p></div>
<div>
Once i preview it shoots the text to the top of my page and disregards the formatting described in my CSS.
Can someone please help me to fix this and get the text to properly display over the image with its positioning? I would appreciate it more than you know!
•
•
Join Date: Aug 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
try and increase the z-index and try them on other browsers like firefox also specify the width you know you ccan even edit in the the design after coding it there and put the inverted commas just sometime these things coukd be funny for the fact you are using an interger doesnt mean anything you could move it in the deisn mode where you want the layer to be. cheers
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Won't show .swf file in IE6 (Windows Software)
- Dreamweaver spry menu bar problem (Site Layout and Usability)
- Dreamweaver CS3 Horizontal Spry Menu Bar problem (Site Layout and Usability)
- any1 knw how 2 connect access data to dW cs3 (Database Design)
- Dreamweaver CS3 problem (Site Layout and Usability)
- PHP, Dreamweaver and MySQL (PHP)
- Maxtor 6B200M0 SATA UltraDMA issue... (Storage)
Other Threads in the HTML and CSS Forum
- Previous Thread: unwanted space
- Next Thread: Help Its good desicion are not


Linear Mode