1 Replies - 654 Views - Last Post: 21 August 2009 - 06:22 PM

#1 icu222much  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 21-August 09

Can I Use HTML/CSS To Do This?

Posted 21 August 2009 - 05:57 PM

I have a graphical website where the content will be displayed using Flash and will be placed on the center of the screen. On either side, I will have some trees and above I'll have some clouds floating from the right to the left. I am wondering if this can be done using HTML/CSS, or do I have to use a scripting language such as Javascript?

If the user has their browser set 600X800, then they will just be able to see the Flash content and not the trees. However, if they widen their browser to lets say 800X800, then they will be able to see the trees. As they further widen their browser, the website will automatically slide the trees across the page so that the trees do not stack up on top of each other, stack on top of the content, and are not clipped off on the edges of the browser. In addition, I am wondering if for every 100 pixels or so if a tree can also be placed in as well?

I am also wondering how I would get the clouds to float from right to left. I remember there was a HTML tag <marquee>. Would this be the best option for me, or is there an alternative?

Is This A Good Question/Topic? 0
  • +

Replies To: Can I Use HTML/CSS To Do This?

#2 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1004
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: Can I Use HTML/CSS To Do This?

Posted 21 August 2009 - 06:22 PM

Whoaaaaaaaaaa never use marquee... You should use Javascript - Even if the browser has Javascript disabled, the page should look just fine (without the moving trees!)... Unless you're planning on using Flash anyway?!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1