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.

Website Design Forum


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



Freelance Jobs

Reply
"bg image" in dreamweaver cs4?
Old 01-13-2010, 07:27 PM "bg image" in dreamweaver cs4?
Super Talker

Posts: 142
Name: William
Trades: 0
I finally (kinda) understand how to make a website with an area inside the layout to type in without the use of AP Divs but I need the "bg image" in properties, this doesnt appear in cs4 however appears in cs3 (i use cs3 in college)

Does anyone know how to get cs4 to show it or how to do it in cs 4 without typing the code?

thankyou in advance.
UUilliam is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-13-2010, 09:19 PM Re: "bg image" in dreamweaver cs4?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You specify the background image in your css, something like this:
Quote:
#content{
background: #ffffff url(images/contentbg.jpg);
}
The #ffffff means white, of course, and that will be the background color people see if the image isn't displayed.

If you want the image to repeat horizontally, you add repeat-x after the (), vertically use repeat-y, or if you don't want it to repeat at all then you use no-repeat. Using none of them will make the image repeat horizontally AND vertically.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-13-2010, 09:21 PM Re: "bg image" in dreamweaver cs4?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Why would you not type in the code?
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 01-14-2010, 02:29 AM Re: "bg image" in dreamweaver cs4?
Super Talker

Posts: 142
Name: William
Trades: 0
its handy to have it available in the properties bar tbh

its not for the whole background, just like if you make the layout the slice it, delete a part of the layout then add it back in as a bg image that effects only that "table"

I know the code though in the <td> tag just put it to <td background="/imagelocation.jpg">

Last edited by UUilliam; 01-14-2010 at 05:27 AM..
UUilliam is offline
Reply With Quote
View Public Profile
 
Old 01-14-2010, 04:35 AM Re: "bg image" in dreamweaver cs4?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,375
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
I know the code though in the <td> tag just put it to <td bg image="/imagelocation.jpg">
Spart from the fact that is incorrect!

"bgimage" as an attribute has NEVER existed in any HTML specification for ANY element.
The browser manufacturers added this attribute to browsers as an alias for the official "background" attribute which was only applicable to the <body> element.

So Dreamweaver CS4 is being absolutely correct in not showing something that does not actually exist.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-14-2010, 05:30 AM Re: "bg image" in dreamweaver cs4?
Super Talker

Posts: 142
Name: William
Trades: 0
im not asking for code so you all know and i fixed that bit of code

im asking for in the user interface it usually has a bit like this:



but it doesnt have that in cs4, Im wondering if there is a way to display it in cs4
UUilliam is offline
Reply With Quote
View Public Profile
 
Old 01-14-2010, 06:15 AM Re: "bg image" in dreamweaver cs4?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,375
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
See post #2 for the correct way to add a background image to any element and read http://www.w3schools.com/css/css_background.asp
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-14-2010, 05:43 PM Re: "bg image" in dreamweaver cs4?
Super Talker

Posts: 142
Name: William
Trades: 0
hmm alrighty then
I understand now
Ill use that way in future, Il llink you to the website I was coding (there is another little problem...)

in IE the "links" are mis aligned but work well in fire fox, infact the website works perfect in firefox (with the exception of the scroll bar but you can't customize scrollbars in gecko browsers as far as I am aware.)

http://www.uuilliam.net

I only just learned how to make expanding tables but I really dont want to begin to re-code all of the website... so i'll leave it with the scroll bar.


Update:

I edited my css to now hold the background images however, I now have the problem that I can't position my text using the div tags now...

How would I position my text (and for it to align correctly in both IE and firefox...)
using css while the div id that I am using for the bg image is the sam div id that the text is contained in??
Hopefully that makes some sense :s im not really down with the technical terms yet as I have only just started to learn.

also I am trying to code this one (neither will actually be used i am just learning to code.)
http://www.uuilliam.net/cutiecles

once again its the links that cause the problem (it effects ie only.)
its the css code, I am guessing it cant handle "<h1>" class or text over 28 px since any size less than that it works fine..

Last edited by UUilliam; 01-14-2010 at 07:16 PM..
UUilliam is offline
Reply With Quote
View Public Profile
 
Old 01-15-2010, 05:38 AM Re: "bg image" in dreamweaver cs4?
Super Talker

Posts: 142
Name: William
Trades: 0
This adding the background to the css is more hassle than it is worth tbh.. its messed up the whole alignment of the site :/
and now my cutiecles template on mozilla has been blown apart just like on ie.

Changed the alignment to baseline, that fixed it... on IE but its still broken on mozilla :/

(on my local drive, not on the website yet.)

Ill start a new thread in CSS thread as it is more relevant to the topic now.

Last edited by UUilliam; 01-15-2010 at 05:43 AM..
UUilliam is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to "bg image" in dreamweaver cs4?
 

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.28577 seconds with 12 queries