5 replies [Last post]
lawlagram
lawlagram's picture
Offline
newbie
Last seen: 16 years 1 week ago
Joined: 2007-05-28
Posts: 3
Points: 0

I'm making a myspace profile for my friend (for a small fee Laughing out loud ) and I want to add a image before the

~ Profle
~ Profle's Details
~ Profle's Interests
~ Profle's Latest Blog Entry
~ Profle's Blurbs
~ Profle's Friend Space
~ Profle's Friends Comments
(Profle is the dummy account I use to make layouts)

after studing the profile's page source I found that I can use classes to put the image where I want it but I don't know if you can insert a image with CSS and if you can , could you tell me what the command is?

Please and thank you !

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 1 year 5 weeks ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

Use your image as a

Use your image as a background-image Laughing out loud

Verschwindende wrote:
  • CSS doesn't make pies

lawlagram
lawlagram's picture
Offline
newbie
Last seen: 16 years 1 week ago
Joined: 2007-05-28
Posts: 3
Points: 0

I don't want to use the

I don't want to use the image as a background but as a regular image like you would you get with

<Img src="Blah.gif">

but in css

What I want to do is make it so when ever a table called "enter class name here"
That the image I wanna use "gaiaG.gif" showes up before what ever is written in the header
So I think it would go some thing like this (class name is blurbs)

 Blurbs.{IMG CODE} 

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 8 years 33 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

CSS is for presentation, not

CSS is for presentation, not for content. If you want an image added to your HTML, then put it in the HTML, otherwise use background-images in the CSS.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 1 year 5 weeks ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

lawlagram wrote:I don't want

lawlagram wrote:
I don't want to use the image as a background but as a regular image like you would you get with
<Img src="Blah.gif">

but in css

then use a background image.

Quote:
What I want to do is make it so when ever a table called "enter class name here"
That the image I wanna use "gaiaG.gif" showes up before what ever is written in the header

then use a background image Laughing out loud

The CSS will be .blurbs {}

Verschwindende wrote:
  • CSS doesn't make pies

lawlagram
lawlagram's picture
Offline
newbie
Last seen: 16 years 1 week ago
Joined: 2007-05-28
Posts: 3
Points: 0

Thanks ^^

Thanks ^^