Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Dreamweaver Problem. (Shifting After import from IR)
Old 12-18-2008, 07:51 PM Dreamweaver Problem. (Shifting After import from IR)
Junior Talker

Posts: 2
Name: Josh
Trades: 0
I have a web template that I designed w/ photoshop.



It's actually just two slices. The top banner is a slice and button dark grey part is a slice. And I wanted to use the bottom slice (grey part) as the background... and then create a template from this.

I couldn't just put text on top of the bottom slice because it wasn't set to be a background. So, as soon as I delete the slice and try to use it as a background it shifts my layout down and breaks it apart.

tekboi is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-18-2008, 08:36 PM Re: Dreamweaver Problem. (Shifting After import from IR)
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
You can't just look at the preview on DreamWeaver. If you have a formatting error, you have to look at the code.
Use some code like this:

CSS
Code:
<style type="text/css">
.container {
width: 800px;
margin-right: auto;
margin-left: auto;
}
.banner {
background: url(yourimagehere.extension);
background-repeat: no-repeat;
width: 800px;
height: 100px;
}
.main {
background: url(yourimagehere.extension);
background-repeat: repeat;
width: 800px;
}
</style>
HTML Code:
<div class="container">
<div class="banner">
banner text
</div>
<div class="main">
content text
</div>
</div>
Let me know if that helps.
- Steve

Last edited by stevej; 12-18-2008 at 09:31 PM..
stevej is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Dreamweaver Problem. (Shifting After import from IR)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.35166 seconds with 12 queries