Results 1 to 9 of 9

Thread: Picture in CSS....

  1. #1

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Picture in CSS....

    I am pretty new to CSS. And have got a school assignment where a group of 4 persons are supposed to make a page about them self.

    We are all going to make our own stylesheets that can be used on all of the four pages. What I was wondering about is if I can add a picture to the document using CSS. If I can I can use pictures on the other 3 members web sites even if they don't have that picture there. Is that possible using CSS?

  2. #2
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    AFAIK, it is only really possible to define the source of an image for things like the background of table elements or the body.

    edit: examples of what you can do: http://www.w3schools.com/css/css_examples.asp
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  3. #3

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    I have all ready looked at that page.......maybe I have to ask them to add my pictures on their site, and then just hide it......I really want this to work,...

  4. #4
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    What exactly are you trying to do? maybe you should be using JavaScript instead.
    Have I helped you? Please Rate my posts.

  5. #5
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    You could do that. Just have a div region that is hidden.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  6. #6

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    Originally posted by Acidic
    What exactly are you trying to do? maybe you should be using JavaScript instead.
    If I could I would just have used Dreamweaver and get it done....but since this is a class project I am strictly limited to only use HTML/XHTML/CSS...

  7. #7

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    Forgot to tell...what I am trying to do is that I have a picture like a frame that I want around the text. Something like this maybe if ouy look at the top picture and the left and the right and the bottom picture as a "frame" of pictures.

    http://www.uken.no/forsiden/forsiden.asp

  8. #8
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    use background cell images in a table.
    Have I helped you? Please Rate my posts.

  9. #9

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    But then all the pages have to have cells don't they? So then we are back again with the same problem...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width