»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 04-30-2004, 11:52 AM   #1 (permalink)
Registered User
 
Join Date: Aug 2003
Posts: 345
sao95 is on a distinguished road
Systems layering in dreamweaver?

I have an image in dreamweaver that I want to put a smaller image on top of. The image underneath is inside a table, right now I have a layer on top with a table and an image inside the layer, it works well, but I need to adjust the layer so it's centered on the page, also I'd like to convert the pixels size to %, but I can't find the button that converts that a table has, any help is appreciated.

sao95 is offline   Reply With Quote
Old 04-30-2004, 12:04 PM   #2 (permalink)
Registered User
 
Droppyale's Avatar
 
Join Date: Dec 2002
Location: -----------
Posts: 1,798
Droppyale is on a distinguished road
Send a message via AIM to Droppyale Send a message via Yahoo to Droppyale
hmm... I would rather use css...

are you familiar with css and divs?
Droppyale is offline   Reply With Quote
Old 04-30-2004, 12:07 PM   #3 (permalink)
Registered User
 
Join Date: Aug 2003
Posts: 345
sao95 is on a distinguished road
no, is there a way to set wallpaper to a percent?

Last edited by sao95; 04-30-2004 at 12:12 PM.
sao95 is offline   Reply With Quote
Old 04-30-2004, 12:12 PM   #4 (permalink)
Registered User
 
Droppyale's Avatar
 
Join Date: Dec 2002
Location: -----------
Posts: 1,798
Droppyale is on a distinguished road
Send a message via AIM to Droppyale Send a message via Yahoo to Droppyale
you could also use just tables and css...

for example

Code:
<table width="500" align="center">
<tr><td class="background_image"><img src="images/image_on_top.gif></td></tr>
</table>
let me explain.... on the external css sheet, you would include this

Code:
.background_image {
background: transparent url(images/background_image.gif); 
width: 500px;
}
that would make your image go in the background, and then other would go on top using the <img> tag.


I'm not good at explaining this..

but I hope you get the idea.
Droppyale is offline   Reply With Quote
Old 04-30-2004, 12:14 PM   #5 (permalink)
Registered User
 
Join Date: Aug 2003
Posts: 345
sao95 is on a distinguished road
i don't follow
sao95 is offline   Reply With Quote
Old 04-30-2004, 12:16 PM   #6 (permalink)
Registered User
 
Droppyale's Avatar
 
Join Date: Dec 2002
Location: -----------
Posts: 1,798
Droppyale is on a distinguished road
Send a message via AIM to Droppyale Send a message via Yahoo to Droppyale
are you just learning?

are you familiar with html code?
Droppyale is offline   Reply With Quote
Old 04-30-2004, 12:17 PM   #7 (permalink)
Registered User
 
Join Date: Aug 2003
Posts: 345
sao95 is on a distinguished road
familiar, but not a pro by any means
sao95 is offline   Reply With Quote
Old 04-30-2004, 12:18 PM   #8 (permalink)
Registered User
 
Join Date: Aug 2003
Posts: 345
sao95 is on a distinguished road
i get it i think, hold on let me try

the term css I don't understand, but inserting the code in html I do, Only if I set it as background I have to make it a percentage as opposed to pixel, I just tried replacing px with 100% and it didn't work?
sao95 is offline   Reply With Quote
Old 04-30-2004, 12:24 PM   #9 (permalink)
Registered User
 
Droppyale's Avatar
 
Join Date: Dec 2002
Location: -----------
Posts: 1,798
Droppyale is on a distinguished road
Send a message via AIM to Droppyale Send a message via Yahoo to Droppyale
no no... ok

do this.

insert this code in between your <head> tags.

like this

<head>

code here

</head>

Code:
<style type="text/css">
.background_image {
background: transparent url(images/background_image.gif); 
width: 100%;
}
</style>
once you do that, then insert this in between your <body> tags to make your table:

Code:
<table width="100%" align="center">
<tr><td class="background_image"><img src="images/image_on_top.gif></td></tr>
</table>
that should do it
Droppyale is offline   Reply With Quote
Old 04-30-2004, 12:33 PM   #10 (permalink)
Registered User
 
Join Date: Aug 2003
Posts: 345
sao95 is on a distinguished road
it didn't work. what if I go top page properties and set a background image path, then set it at 100% manually somehow?
sao95 is offline   Reply With Quote
Reply




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


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 07:20 PM.